pub struct BondingCurveInitialize {
pub authority: Pubkey,
pub bonding_curve: Pubkey,
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub quote_vault: Pubkey,
pub authority_config: Pubkey,
pub system_program: Pubkey,
pub base_token_program: Pubkey,
pub quote_token_program: Pubkey,
pub ata_program: Pubkey,
}Expand description
Accounts.
Fields§
The authority that is allowed to initialize a bonding curve
bonding_curve: PubkeyThe bonding curve account
base_mint: PubkeyThe token mint account
quote_mint: PubkeyThe quote token mint account
quote_vault: PubkeyThe quote token vault
The authority config account
system_program: PubkeySystem program
base_token_program: PubkeyThe token program for the new token
quote_token_program: PubkeyThe token program for the quote token
ata_program: PubkeyThe associated token account program
Implementations§
Source§impl BondingCurveInitialize
impl BondingCurveInitialize
pub fn instruction( &self, args: BondingCurveInitializeInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: BondingCurveInitializeInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BondingCurveInitialize
impl RefUnwindSafe for BondingCurveInitialize
impl Send for BondingCurveInitialize
impl Sync for BondingCurveInitialize
impl Unpin for BondingCurveInitialize
impl UnwindSafe for BondingCurveInitialize
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