pub struct TokenCollectFees {
pub signer: Pubkey,
pub fee_authority: Pubkey,
pub fee_authority_ata: Pubkey,
pub bonding_curve: Pubkey,
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub quote_vault: Pubkey,
pub config: Pubkey,
pub system_program: Pubkey,
pub ata_program: Pubkey,
pub quote_token_program: Pubkey,
}Expand description
Accounts.
Fields§
§signer: PubkeyThe signer of the transaction
The fee authority of the program
The fee authority associated token account
bonding_curve: PubkeyThe bonding curve account
base_mint: PubkeyThe base token mint account
quote_mint: PubkeyThe quote token mint account
quote_vault: PubkeyThe quote token vault
config: PubkeyThe config account
system_program: PubkeySystem program
ata_program: PubkeyThe associated token account program
quote_token_program: PubkeyThe quote token program
Implementations§
Source§impl TokenCollectFees
impl TokenCollectFees
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenCollectFees
impl RefUnwindSafe for TokenCollectFees
impl Send for TokenCollectFees
impl Sync for TokenCollectFees
impl Unpin for TokenCollectFees
impl UnwindSafe for TokenCollectFees
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