Skip to main content

Module stake_state

Module stake_state 

Source
👎Deprecated since 3.1.0:

This crate will be REMOVED in Agave v4.0.0 and its name will be taken by the BPF Stake Program. Users of this crate’s public exports must switch to:

  • stake_state -> solana_stake_interface::state.
  • points -> solana_runtime::inflation_rewards::points.
  • id() / check_id() -> solana_stake_interface::program::_.
  • get_minimum_delegation() will continue to live at the same path.
  • Some convenience functions such as stake_from() and create_account() are removed.
Expand description

Stake state: helper functions for creating and parsing account data

Structs§

Authorized
Delegation
Lockup
Meta
Stake

Enums§

StakeAuthorize
StakeStateDeprecated
StakeStateV2

Constants§

DEFAULT_SLASH_PENALTY
DEFAULT_WARMUP_COOLDOWN_RATE
NEW_WARMUP_COOLDOWN_RATE

Functions§

authorized_fromDeprecated
create_accountDeprecated
create_lockup_stake_accountDeprecated
delegation_fromDeprecated
fromDeprecated
lockup_fromDeprecated
meta_fromDeprecated
stake_fromDeprecated
warmup_cooldown_rate

Type Aliases§

StakeActivationStatus