pub struct TwoHopSwap {Show 22 fields
pub fusion_pool_one: Pubkey,
pub fusion_pool_two: Pubkey,
pub token_mint_input: Pubkey,
pub token_mint_intermediate: Pubkey,
pub token_mint_output: Pubkey,
pub token_program_input: Pubkey,
pub token_program_intermediate: Pubkey,
pub token_program_output: Pubkey,
pub token_owner_account_input: Pubkey,
pub token_vault_one_input: Pubkey,
pub token_vault_one_intermediate: Pubkey,
pub token_vault_two_intermediate: Pubkey,
pub token_vault_two_output: Pubkey,
pub token_owner_account_output: Pubkey,
pub token_authority: Pubkey,
pub tick_array_one0: Pubkey,
pub tick_array_one1: Pubkey,
pub tick_array_one2: Pubkey,
pub tick_array_two0: Pubkey,
pub tick_array_two1: Pubkey,
pub tick_array_two2: Pubkey,
pub memo_program: Pubkey,
}
Expand description
Accounts.
Fields§
§fusion_pool_one: Pubkey
§fusion_pool_two: Pubkey
§token_mint_input: Pubkey
§token_mint_intermediate: Pubkey
§token_mint_output: Pubkey
§token_program_input: Pubkey
§token_program_intermediate: Pubkey
§token_program_output: Pubkey
§token_owner_account_input: Pubkey
§token_vault_one_input: Pubkey
§token_vault_one_intermediate: Pubkey
§token_vault_two_intermediate: Pubkey
§token_vault_two_output: Pubkey
§token_owner_account_output: Pubkey
§tick_array_one0: Pubkey
§tick_array_one1: Pubkey
§tick_array_one2: Pubkey
§tick_array_two0: Pubkey
§tick_array_two1: Pubkey
§tick_array_two2: Pubkey
§memo_program: Pubkey
Implementations§
Source§impl TwoHopSwap
impl TwoHopSwap
pub fn instruction(&self, args: TwoHopSwapInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TwoHopSwapInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TwoHopSwap
impl RefUnwindSafe for TwoHopSwap
impl Send for TwoHopSwap
impl Sync for TwoHopSwap
impl Unpin for TwoHopSwap
impl UnwindSafe for TwoHopSwap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more