Crate stable_swap_anchor
source · [−]Expand description
Anchor-compatible SDK for the StableSwap program.
Structs
Accounts for an instruction that requires admin permission.
Accounts for a crate::apply_new_admin instruction.
Accounts for a crate::deposit instruction.
Token accounts for initializing a crate::SwapInfo.
Accounts for an crate::initialize instruction.
Accounts for a crate::set_fee_account instruction.
The StableSwap program.
Accounts for a crate::swap instruction.
StableSwap account wrapper for Anchor programs.
Token accounts for the output of a StableSwap instruction.
Token accounts for a crate::swap instruction.
Accounts for an instruction that interacts with the swap.
Accounts for a crate::withdraw instruction.
Accounts for a crate::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.