Architecture
StakePool
The StakePool is the core Account of the SPL Token Staking program. This account holds the metadata for the mint that will be staked as well as the duration and max stake weight parameters.
The StakePool can own up to 10 RewardPools.
RewardPool
A RewardPool is a link to a TokenAccount owned by a StakePool. The StakePool tracks the amount of tokens sent to each RewardPool and credits stakers with their pro-rated amount of rewards.
Last updated