Crate spl_stake_pool

source ·
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
  • Inlined MPL metadata types to avoid a direct dependency on mpl-token-metadata' NOTE: this file is sym-linked in spl-single-pool`, so be careful with changes!
  • Instruction types
  • Program state processor
  • State transition types

Constants

  • The const program ID.
  • 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 lamports required in a validator stake account to allow for merges without a mismatch on credits observed
  • Minimum amount of lamports in the reserve
  • Drop-in baseline fee when evaluating withdrawal fee increases when fee is 0

Functions