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
- ACCESS NFT program address
- List of authorized bond sellers (Obsolete)
- Number of sellers who need to agree for a bond to be sold
- Amount in basis points (i.e 1% = 100) added to each locking operation as a protocol fee
- Default percentage of the staking rewards going to stakers
- Maximum count of recipients of the fees
- Maximum delay between last fee split distribution and fee split account setup
- Minimum balance of the fee split account allowed for token distribution
- Specify the number of seconds in a day, used only for testing purposes
- Length of the circular buffer (stores data for calculating rewards for 274 days)
- Specify if the calling of the V1 instructions is allowed