Function stable_swap_client::instruction::withdraw_one [−][src]
pub fn withdraw_one(
token_program_id: &Pubkey,
swap_pubkey: &Pubkey,
swap_authority_key: &Pubkey,
user_authority_key: &Pubkey,
pool_mint_pubkey: &Pubkey,
source_pubkey: &Pubkey,
swap_base_token_pubkey: &Pubkey,
swap_quote_token_pubkey: &Pubkey,
base_destination_pubkey: &Pubkey,
admin_fee_destination_pubkey: &Pubkey,
pool_token_amount: u64,
minimum_token_amount: u64
) -> Result<Instruction, ProgramError>
Expand description
Creates a ‘withdraw_one’ instruction.