Function spl_stake_pool::instruction::deposit_stake_with_authority
source · pub fn deposit_stake_with_authority(
program_id: &Pubkey,
stake_pool: &Pubkey,
validator_list_storage: &Pubkey,
stake_pool_deposit_authority: &Pubkey,
stake_pool_withdraw_authority: &Pubkey,
deposit_stake_address: &Pubkey,
deposit_stake_withdraw_authority: &Pubkey,
validator_stake_account: &Pubkey,
reserve_stake_account: &Pubkey,
pool_tokens_to: &Pubkey,
manager_fee_account: &Pubkey,
referrer_pool_tokens_account: &Pubkey,
pool_mint: &Pubkey,
token_program_id: &Pubkey
) -> Vec<Instruction>
Expand description
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.