Docs.rs
  • solana-stake-program-1.10.21
    • solana-stake-program 1.10.21
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • bincode ^1.3.3 normal
      • log ^0.4.14 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • serde ^1.0.136 normal
      • serde_derive ^1.0.103 normal
      • solana-config-program =1.10.21 normal
      • solana-frozen-abi =1.10.21 normal
      • solana-frozen-abi-macro =1.10.21 normal
      • solana-metrics =1.10.21 normal
      • solana-program-runtime =1.10.21 normal
      • solana-sdk =1.10.21 normal
      • solana-vote-program =1.10.21 normal
      • thiserror ^1.0 normal
      • proptest ^1.0 dev
      • solana-logger =1.10.21 dev
      • rustc_version ^0.4 build
    • Versions
    • 5.77% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module stake_state

  • Structs
  • Enums
  • Traits
  • Functions
  • Type Definitions
logo
Change settings

Module solana_stake_program::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

Traits

StakeAccount

Functions

authorized_from
create_account
create_account_with_activation_epoch
create_lockup_stake_account
create_stake_history_from_delegations
delegation_from
from
lockup_from
meta_from
new_stake_history_entry
stake_from

Type Definitions

RewriteStakeStatus
StakeActivationStatus