pub struct TokenBuyExactOut {
pub buyer: 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§
§buyer: PubkeyThe buyer of the token
bonding_curve: PubkeyThe bonding curve account
base_mint: PubkeyThe base token mint account
base_ata: PubkeyThe base token ata for the buyer
quote_mint: PubkeyThe quote token mint account
quote_vault: PubkeyThe quote token vault
quote_ata: PubkeyThe quote token ata for the buyer
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 TokenBuyExactOut
impl TokenBuyExactOut
pub fn instruction(&self, args: TokenBuyExactOutInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TokenBuyExactOutInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenBuyExactOut
impl RefUnwindSafe for TokenBuyExactOut
impl Send for TokenBuyExactOut
impl Sync for TokenBuyExactOut
impl Unpin for TokenBuyExactOut
impl UnwindSafe for TokenBuyExactOut
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