Module access_protocol::state
source · Expand description
Describes the different data structres that the program uses to encode state
Structs
- The Rewards structure that is held in the stake pools circular buffer. The two fields represent the share that is owed to the pool owner and the stakers respectively. The values are stored in the FP32 format.
Enums
Constants
- ACCESS token mint
- List of authorized bond sellers
- Number of sellers who need to agree for a bond to be sold
- Fees charged on staking instruction in % (i.e FEES = 1 <-> 1% fee charged)
- Max pending unstake requests
- Percentage of the staking rewards going to the pool owner
- Percentage of the staking rewards going to stakers
- Length of the circular buffer (stores balances for 1 year)