Expand description
Instruction types
Structs§
- Deposit
Data - Deposit instruction data
- Initialize
Data - Initialize instruction data
- RampA
Data - RampA instruction data
- Swap
Data - Swap instruction data
- Withdraw
Data - Withdraw instruction data
- Withdraw
OneData - Withdraw instruction data
Enums§
- Admin
Instruction - Admin only instructions.
- Swap
Instruction - Instructions supported by the SwapInfo program.
Functions§
- apply_
new_ admin - Creates a ‘apply_new_admin’ instruction
- commit_
new_ admin - Creates a ‘commit_new_admin’ instruction
- deposit
- Creates a ‘deposit’ instruction.
- initialize
- Creates an ‘initialize’ instruction.
- pause
- Creates a ‘pause’ instruction
- ramp_a
- Creates a ‘ramp_a’ instruction
- set_
fee_ account - Creates a ‘set_fee_account’ instruction
- set_
new_ fees - Creates a ‘set_new_fees’ instruction
- stop_
ramp_ a - Creates a ‘stop_ramp_a’ instruction
- swap
- Creates a ‘swap’ instruction.
- unpause
- Creates a ‘unpause’ instruction
- withdraw
- Creates a ‘withdraw’ instruction.
- withdraw_
one - Creates a ‘withdraw_one’ instruction.