pub struct TokenCreate {Show 13 fields
pub creator: Pubkey,
pub bonding_curve: Pubkey,
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub quote_vault: Pubkey,
pub config: Pubkey,
pub mint_config: Pubkey,
pub metadata: Pubkey,
pub system_program: Pubkey,
pub base_token_program: Pubkey,
pub quote_token_program: Pubkey,
pub ata_program: Pubkey,
pub metaplex_program: Pubkey,
}Expand description
Accounts.
Fields§
§creator: PubkeyThe creator of the token
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
config: PubkeyThe config account
mint_config: PubkeyThe base token mint config account
metadata: PubkeyThe metadata 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
metaplex_program: PubkeyThe metaplex metadata program
Implementations§
Source§impl TokenCreate
impl TokenCreate
pub fn instruction(&self, args: TokenCreateInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TokenCreateInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenCreate
impl RefUnwindSafe for TokenCreate
impl Send for TokenCreate
impl Sync for TokenCreate
impl Unpin for TokenCreate
impl UnwindSafe for TokenCreate
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