pub struct GraduateManualCpi<'a, 'b> {Show 20 fields
pub __program: &'b AccountInfo<'a>,
pub signer: &'b AccountInfo<'a>,
pub creator: &'b AccountInfo<'a>,
pub fee_authority: &'b AccountInfo<'a>,
pub destination: &'b AccountInfo<'a>,
pub bonding_curve: &'b AccountInfo<'a>,
pub config: &'b AccountInfo<'a>,
pub quote_mint: &'b AccountInfo<'a>,
pub quote_vault: &'b AccountInfo<'a>,
pub creator_quote_ata: &'b AccountInfo<'a>,
pub signer_quote_ata: &'b AccountInfo<'a>,
pub fee_authority_quote_ata: &'b AccountInfo<'a>,
pub destination_quote_ata: &'b AccountInfo<'a>,
pub base_mint: &'b AccountInfo<'a>,
pub fee_authority_base_ata: &'b AccountInfo<'a>,
pub destination_base_ata: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub ata_program: &'b AccountInfo<'a>,
pub quote_token_program: &'b AccountInfo<'a>,
pub base_token_program: &'b AccountInfo<'a>,
}Expand description
graduate_manual CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>The program to invoke.
signer: &'b AccountInfo<'a>The signer of the transaction
creator: &'b AccountInfo<'a>The creator of the token
The fee authority of the token
destination: &'b AccountInfo<'a>The destination of the token
bonding_curve: &'b AccountInfo<'a>The bonding curve account
config: &'b AccountInfo<'a>The config account
quote_mint: &'b AccountInfo<'a>The quote mint account
quote_vault: &'b AccountInfo<'a>The quote vault account
creator_quote_ata: &'b AccountInfo<'a>The creator quote ata account
signer_quote_ata: &'b AccountInfo<'a>The signer quote ata account
The fee authority quote ata account
destination_quote_ata: &'b AccountInfo<'a>The destination quote ata account
base_mint: &'b AccountInfo<'a>The base mint account
The fee authority base ata account
destination_base_ata: &'b AccountInfo<'a>The destination base ata account
system_program: &'b AccountInfo<'a>The system program account
ata_program: &'b AccountInfo<'a>The ata program account
quote_token_program: &'b AccountInfo<'a>The quote token program account
base_token_program: &'b AccountInfo<'a>The base token program account
Implementations§
Source§impl<'a, 'b> GraduateManualCpi<'a, 'b>
impl<'a, 'b> GraduateManualCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: GraduateManualCpiAccounts<'a, 'b>, ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> Freeze for GraduateManualCpi<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for GraduateManualCpi<'a, 'b>
impl<'a, 'b> !Send for GraduateManualCpi<'a, 'b>
impl<'a, 'b> !Sync for GraduateManualCpi<'a, 'b>
impl<'a, 'b> Unpin for GraduateManualCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for GraduateManualCpi<'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