Module stake_state

Source
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

Functions§

authorize
Authorize the given pubkey to manage stake (deactivate, withdraw). This may be called multiple times, but will implicitly withdraw authorization from the previously authorized staker. The default staker is the owner of the stake account’s pubkey.
authorize_with_seed
authorized_from
create_account
create_account_with_activation_epoch
create_lockup_stake_account
create_stake_history_from_delegations
deactivate
delegate
delegation_from
from
initialize
lockup_from
merge
meta_from
new_stake_history_entry
redelegate
set_lockup
split
stake_from
withdraw

Type Aliases§

RewriteStakeStatus
StakeActivationStatus