Module solana_stake_program::stake_state [−][src]
Expand description
Stake state
- delegate stakes to vote accounts
- keep track of rewards
- own mining pools
Structs
Authorized | |
Delegation | |
Lockup | |
Meta | |
PointValue | captures a rewards round as lamports to be awarded and the total points over which those lamports are to be distributed |
Stake |
Enums
InflationPointCalculationEvent | |
SkippedReason | |
StakeAuthorize | |
StakeState |
Traits
StakeAccount |
Functions
authorized_from | |
calculate_points | |
calculate_stake_rewards | for a given stake and vote_state, calculate what distributions and what updates should be made returns a tuple in the case of a payout of: |
create_account | |
create_account_with_activation_epoch | |
create_lockup_stake_account | |
delegation_from | |
from | |
lockup_from | |
meta_from | |
new_stake_history_entry | |
redeem_rewards | |
rewrite_stakes | |
stake_from |
Type Definitions
RewriteStakeStatus |