Crate spl_single_pool
source ·Expand description
A program for liquid staking with a single validator
Re-exports
pub use solana_program;
Modules
- 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.
Functions
- Returns
true
if given pubkey is the program ID. - Find the address of the default intermediate account that holds activating user stake before deposit.
- Find the canonical pool address for a given vote account.
- Find the canonical token mint address for a given pool account.
- Find the canonical mint authority address for a given pool account.
- Find the canonical MPL authority address for a given pool account.
- Find the canonical stake account address for a given pool account.
- Find the canonical stake authority address for a given pool account.
- Returns the program ID.