pub struct TokenSellExactIn {
pub seller: Pubkey,
pub bonding_curve: Pubkey,
pub base_mint: Pubkey,
pub base_ata: Pubkey,
pub quote_mint: Pubkey,
pub quote_vault: Pubkey,
pub quote_ata: Pubkey,
pub system_program: Pubkey,
pub ata_program: Pubkey,
pub base_token_program: Pubkey,
pub quote_token_program: Pubkey,
}Expand description
Accounts.
Fields§
§seller: PubkeyThe seller of the token
bonding_curve: PubkeyThe bonding curve account
base_mint: PubkeyThe base token mint account
base_ata: PubkeyThe base token ata for the seller
quote_mint: PubkeyThe quote token mint account
quote_vault: PubkeyThe quote token vault
quote_ata: PubkeyThe quote token ata for the seller
system_program: PubkeySystem program
ata_program: PubkeyThe associated token account program
base_token_program: PubkeyThe token program for the base token
quote_token_program: PubkeyThe token program for the quote token
Implementations§
Source§impl TokenSellExactIn
impl TokenSellExactIn
pub fn instruction(&self, args: TokenSellExactInInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TokenSellExactInInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenSellExactIn
impl RefUnwindSafe for TokenSellExactIn
impl Send for TokenSellExactIn
impl Sync for TokenSellExactIn
impl Unpin for TokenSellExactIn
impl UnwindSafe for TokenSellExactIn
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