Module state

Module state 

Source
Expand description

State transition types

Structs§

Fee
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
PodStakeStatus
Wrapper struct that can be Pod, containing a byte that should be a valid StakeStatus underneath.
StakePool
Initialized program details.
ValidatorList
Storage list for all validator stake accounts in the pool.
ValidatorListHeader
Helper type to deserialize just the start of a ValidatorList
ValidatorStakeInfo
Information about a validator in the pool

Enums§

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

Functions§

is_extension_supported_for_fee_account
Checks if the given extension is supported for the stake pool’s fee account
is_extension_supported_for_mint
Checks if the given extension is supported for the stake pool mint