Module spl_stake_pool::instruction[][src]

Expand description

Instruction types

Enums

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 CreateValidatorStakeAccount instruction (create new stake account for the validator)

Creates CreateValidatorStakeAccount instruction with a vote account

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 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 ‘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 a ‘withdraw’ instruction.