Docs.rs
solana-stake-program-3.0.1
solana-stake-program 3.0.1
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
anza-team
Dependencies
agave-feature-set =3.0.1
normal
bincode ^1.3.3
normal
log ^0.4.27
normal
solana-account ^3.0.0
normal
solana-bincode ^3.0.0
normal
solana-clock ^3.0.0
normal
solana-config-interface ^2.0.0
normal
solana-genesis-config ^3.0.0
normal
solana-instruction ^3.0.0
normal
solana-native-token ^3.0.0
normal
solana-packet ^3.0.0
normal
solana-program-runtime =3.0.1
normal
solana-pubkey ^3.0.0
normal
solana-rent ^3.0.0
normal
solana-sdk-ids ^3.0.0
normal
solana-stake-interface ^2.0.0
normal
solana-svm-log-collector =3.0.1
normal
solana-svm-type-overrides =3.0.1
normal
solana-sysvar ^3.0.0
normal
solana-transaction-context =3.0.1
normal
solana-vote-interface ^3.0.0
normal
assert_matches ^1.5.0
dev
criterion ^0.5.1
dev
proptest ^1.7
dev
solana-compute-budget =3.0.1
dev
solana-epoch-rewards ^3.0.0
dev
solana-epoch-schedule ^3.0.0
dev
solana-program-runtime =3.0.1
dev
solana-pubkey ^3.0.0
dev
solana-svm-callback =3.0.1
dev
solana-svm-feature-set =3.0.1
dev
solana-sysvar-id ^3.0.0
dev
solana-vote-program =3.0.1
dev
test-case ^3.3.1
dev
Versions
14.75%
of the crate is documented
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
Crate solana_stake_program
solana_
stake_
program
3.0.1
All Items
Crate Items
Modules
Functions
Crate
solana_
stake_
program
Copy item path
Source
Modules
§
config
config for staking carries variables that the stake program cares about
epoch_
rewards
Creates the initial empty EpochRewards sysvar
points
Deprecated
Information about points calculation based on stake state. Used by
solana-runtime
.
stake_
instruction
stake_
state
Stake state
Functions
§
add_
genesis_
accounts
check_
id
Returns
true
if given pubkey is the program ID.
get_
minimum_
delegation
The minimum stake amount that can be delegated, in lamports. NOTE: This is also used to calculate the minimum balance of a delegated stake account, which is the rent exempt reserve
plus
the minimum stake delegation.
id
Returns the program ID.