Function dex_v4::instruction_auto::swap
source · pub fn swap(
program_id: Pubkey,
accounts: Accounts<'_, Pubkey>,
params: Params
) -> Instruction
Expand description
Execute a swap on the orderbook.
pub fn swap(
program_id: Pubkey,
accounts: Accounts<'_, Pubkey>,
params: Params
) -> Instruction
Execute a swap on the orderbook.