Function spl_stake_pool::instruction::add_validator_to_pool
source · pub fn add_validator_to_pool(
program_id: &Pubkey,
stake_pool: &Pubkey,
staker: &Pubkey,
reserve: &Pubkey,
stake_pool_withdraw: &Pubkey,
validator_list: &Pubkey,
stake: &Pubkey,
validator: &Pubkey,
seed: Option<NonZeroU32>
) -> Instruction
Expand description
Creates AddValidatorToPool
instruction (add new validator stake account to
the pool)