pub struct TokenBuyExactInCpiAccounts<'a, 'b> {
pub buyer: &'b AccountInfo<'a>,
pub bonding_curve: &'b AccountInfo<'a>,
pub base_mint: &'b AccountInfo<'a>,
pub base_ata: &'b AccountInfo<'a>,
pub quote_mint: &'b AccountInfo<'a>,
pub quote_vault: &'b AccountInfo<'a>,
pub quote_ata: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub ata_program: &'b AccountInfo<'a>,
pub base_token_program: &'b AccountInfo<'a>,
pub quote_token_program: &'b AccountInfo<'a>,
}Expand description
token_buy_exact_in CPI accounts.
Fields§
§buyer: &'b AccountInfo<'a>The buyer of the token
bonding_curve: &'b AccountInfo<'a>The bonding curve account
base_mint: &'b AccountInfo<'a>The base token mint account
base_ata: &'b AccountInfo<'a>The base token ata for the buyer
quote_mint: &'b AccountInfo<'a>The quote token mint account
quote_vault: &'b AccountInfo<'a>The quote token vault
quote_ata: &'b AccountInfo<'a>The quote token ata for the buyer
system_program: &'b AccountInfo<'a>System program
ata_program: &'b AccountInfo<'a>The associated token account program
base_token_program: &'b AccountInfo<'a>The token program for the base token
quote_token_program: &'b AccountInfo<'a>The token program for the quote token
Auto Trait Implementations§
impl<'a, 'b> Freeze for TokenBuyExactInCpiAccounts<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for TokenBuyExactInCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for TokenBuyExactInCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for TokenBuyExactInCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for TokenBuyExactInCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for TokenBuyExactInCpiAccounts<'a, 'b>
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