Function spl_stake_pool::instruction::withdraw_sol_with_authority[][src]

pub fn withdraw_sol_with_authority(
    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: u64
) -> Instruction
Expand description

Creates instruction required to withdraw SOL directly from a stake pool. The difference with withdraw_sol() is that the sol withdraw authority must sign this instruction.