Module spl_stake_pool::instruction[][src]

Expand description

Instruction types

Enums

Defines which authority to update in the SetFundingAuthority instruction

Defines which validator vote account is set during the SetPreferredValidator instruction

Instructions supported by the StakePool program.

Functions

Creates AddValidatorToPool instruction (add new validator stake account to the pool)

Create an AddValidatorToPool instruction given an existing stake pool and vote account

Creates CleanupRemovedValidatorEntries instruction (removes entries from the validator list)

Creates DecreaseValidatorStake instruction (rebalance from validator account to transient account)

Create a DecreaseValidatorStake instruction given an existing stake pool and vote account

Creates instructions required to deposit SOL directly into a stake pool.

Creates instruction required to deposit SOL directly into a stake pool. The difference with deposit_sol() is that a deposit authority must sign this instruction.

Creates instructions required to deposit into a stake pool, given a stake account owned by the user.

Creates instructions required to deposit into a stake pool, given a stake account owned by the user. The difference with deposit() is that a deposit authority must sign this instruction, which is required for private pools.

Creates IncreaseValidatorStake instruction (rebalance from reserve account to transient account)

Create an IncreaseValidatorStake instruction given an existing stake pool and vote account

Creates an ‘initialize’ instruction.

Creates RemoveValidatorFromPool instruction (remove validator stake account from the pool)

Create an RemoveValidatorFromPool instruction given an existing stake pool and vote account

Creates a ‘set fee’ instruction.

Creates a ‘SetFundingAuthority’ instruction.

Creates a ‘set manager’ instruction.

Creates SetPreferredDepositValidator instruction

Creates a ‘set staker’ instruction.

Creates all UpdateValidatorListBalance and UpdateStakePoolBalance instructions for fully updating a stake pool each epoch

Creates UpdateStakePoolBalance instruction (pool balance from the stake account list balances)

Creates UpdateValidatorListBalance instruction (update validator stake account balances)

Creates instruction required to withdraw SOL directly from a stake pool.

Creates instruction required to withdraw SOL directly from a stake pool. The difference with withdraw_sol() is that the sol withdraw authority must sign this instruction.

Creates a ‘WithdrawStake’ instruction.