pub struct CollectProtocolFees {
pub fusion_pools_config: Pubkey,
pub fusion_pool: Pubkey,
pub collect_protocol_fees_authority: Pubkey,
pub token_mint_a: Pubkey,
pub token_mint_b: Pubkey,
pub token_vault_a: Pubkey,
pub token_vault_b: Pubkey,
pub token_destination_a: Pubkey,
pub token_destination_b: Pubkey,
pub token_program_a: Pubkey,
pub token_program_b: Pubkey,
pub memo_program: Pubkey,
}
Expand description
Accounts.
Fields§
§fusion_pools_config: Pubkey
§fusion_pool: Pubkey
§token_mint_a: Pubkey
§token_mint_b: Pubkey
§token_vault_a: Pubkey
§token_vault_b: Pubkey
§token_destination_a: Pubkey
§token_destination_b: Pubkey
§token_program_a: Pubkey
§token_program_b: Pubkey
§memo_program: Pubkey
Implementations§
Source§impl CollectProtocolFees
impl CollectProtocolFees
pub fn instruction( &self, args: CollectProtocolFeesInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: CollectProtocolFeesInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CollectProtocolFees
impl RefUnwindSafe for CollectProtocolFees
impl Send for CollectProtocolFees
impl Sync for CollectProtocolFees
impl Unpin for CollectProtocolFees
impl UnwindSafe for CollectProtocolFees
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