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 an instruction that requires admin permission with the clock.

Accounts for a ‘apply_new_admin’.

Accounts for a deposit instruction.

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

Confirms that a given pubkey is equivalent to the program ID

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::swap instruction.

Creates and invokes a stable_swap_client::instruction::unpause instruction.

Creates and invokes a stable_swap_client::instruction::withdraw instruction.