Crate stable_swap_anchor[−][src]
Expand description
Anchor-compatible SDK for the StableSwap program.
Structs
Accounts for an instruction that requires admin permission.
Accounts for a ’set_fee_account_instruction.
The StableSwap program.
Accounts for a ‘swap’ instruction.
Swap information.
Token accounts for the output of a StableSwap instruction.
Token accounts for a ‘swap’ instruction.
Accounts for an instruction that interacts with the swap.
Accounts for a ‘withdraw’ instruction.
Accounts for a ‘withdraw_one’ instruction.
Statics
The static program ID
Functions
Creates and invokes a stable_swap_client::instruction::apply_new_admin instruction.
Confirms that a given pubkey is equivalent to the program ID
Creates and invokes a stable_swap_client::instruction::commit_new_admin instruction.
Creates and invokes a stable_swap_client::instruction::deposit instruction.
Returns the program ID
Creates and invokes a stable_swap_client::instruction::initialize instruction.
Creates and invokes a stable_swap_client::instruction::pause instruction.
Creates and invokes a stable_swap_client::instruction::ramp_a instruction.
Creates and invokes a stable_swap_client::instruction::set_fee_account instruction.
Creates and invokes a stable_swap_client::instruction::set_new_fees instruction.
Creates and invokes a stable_swap_client::instruction::stop_ramp_a instruction.
Creates and invokes a stable_swap_client::instruction::swap instruction.
Creates and invokes a stable_swap_client::instruction::unpause instruction.
Creates and invokes a stable_swap_client::instruction::withdraw instruction.
Creates and invokes a stable_swap_client::instruction::withdraw_one instruction.