pub fn deposit_stake_with_authority_and_slippage(
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,
minimum_pool_tokens_out: u64
) -> Vec<Instruction>
Expand description
Creates instructions required to deposit into a stake pool with slippage,
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.