Crate spl_stake_pool[][src]

Expand description

A program for creating and managing pools of stake

Re-exports

pub use solana_program;

Modules

borsh

Extra borsh utils TODO delete once try_from_slice_unchecked has been published

error

Error types

instruction

Instruction types

processor

Program state processor

stake_program

FIXME copied from the solana stake program

state

State transition types

Constants

MAX_VALIDATORS_TO_UPDATE

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

MINIMUM_ACTIVE_STAKE

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

Statics

ID

The static program ID

Functions

check_id

Confirms that a given pubkey is equivalent to the program ID

find_deposit_authority_program_address

Generates the deposit authority program address for the stake pool

find_stake_program_address

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

find_transient_stake_program_address

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

find_withdraw_authority_program_address

Generates the withdraw authority program address for the stake pool

id

Returns the program ID

minimum_reserve_lamports

Get the stake amount under consideration when calculating pool token conversions

minimum_stake_lamports

Get the stake amount under consideration when calculating pool token conversions