pub fn withdraw_sol_with_authority_and_slippage(
program_id: &Pubkey,
stake_pool: &Pubkey,
sol_withdraw_authority: &Pubkey,
stake_pool_withdraw_authority: &Pubkey,
user_transfer_authority: &Pubkey,
pool_tokens_from: &Pubkey,
reserve_stake_account: &Pubkey,
lamports_to: &Pubkey,
manager_fee_account: &Pubkey,
pool_mint: &Pubkey,
token_program_id: &Pubkey,
pool_tokens_in: u64,
minimum_lamports_out: u64
) -> Instruction
Expand description
Creates instruction required to withdraw SOL directly from a stake pool with
a slippage constraint.
The difference with withdraw_sol()
is that the sol withdraw authority
must sign this instruction.