Module spl_stake_pool::state

source ·
Expand description

State transition types

Structs

  • Fee rate as a ratio, minted on UpdateStakePoolBalance as a proportion of the rewards If either the numerator or the denominator is 0, the fee is considered to be 0
  • Wrapper struct that can be Pod, containing a byte that should be a valid StakeStatus underneath.
  • Initialized program details.
  • Storage list for all validator stake accounts in the pool.
  • Helper type to deserialize just the start of a ValidatorList
  • Information about a validator in the pool

Enums

  • Enum representing the account type managed by the program
  • The type of fees that can be set on the stake pool
  • Wrapper type that “counts down” epochs, which is Borsh-compatible with the native Option
  • Status of the stake account in the validator list, for accounting

Functions