Crate spl_stake_pool[][src]

Expand description

A program for creating and managing pools of stake

Re-exports

Modules

Big vector type, used with vectors that can’t be serde’d

Error types

Instruction types

Program state processor

State transition types

Constants

The maximum number of transient stake accounts respecting transaction account limits.

Maximum amount of validator stake accounts to update per UpdateValidatorListBalance instruction, based on compute limits

Maximum factor by which a withdrawal fee can be increased per epoch protecting stakers from malicious users. If current fee is 0, WITHDRAWAL_BASELINE_FEE is used as the baseline

Minimum amount of staked SOL required in a validator stake account to allow for merges without a mismatch on credits observed

Drop-in baseline fee when evaluating withdrawal fee increases when fee is 0

Statics

The static program ID

Functions

Confirms that a given pubkey is equivalent to the program ID

Generates the deposit authority program address for the stake pool

Generates the stake program address for a validator’s vote account

Generates the stake program address for a validator’s vote account

Generates the withdraw authority program address for the stake pool

Returns the program ID

Get the stake amount under consideration when calculating pool token conversions

Get the stake amount under consideration when calculating pool token conversions