Token staking pool with time-weighted reward distribution and compound support.
initialize_pool
reward_rate: u64
stake
amount: u64
unstake
amount: u64
claim_rewards
A staking program where users lock tokens and earn proportional rewards over time. Implements stake, unstake, and claim_rewards instructions.
No reviews yet. Fork it and be the first.