pub struct MintNewEditionFromMasterEditionViaTokenCpiAccounts<'a, 'b> {Show 14 fields
pub new_metadata: &'b AccountInfo<'a>,
pub new_edition: &'b AccountInfo<'a>,
pub master_edition: &'b AccountInfo<'a>,
pub new_mint: &'b AccountInfo<'a>,
pub edition_mark_pda: &'b AccountInfo<'a>,
pub new_mint_authority: &'b AccountInfo<'a>,
pub payer: &'b AccountInfo<'a>,
pub token_account_owner: &'b AccountInfo<'a>,
pub token_account: &'b AccountInfo<'a>,
pub new_metadata_update_authority: &'b AccountInfo<'a>,
pub metadata: &'b AccountInfo<'a>,
pub token_program: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub rent: Option<&'b AccountInfo<'a>>,
}
Expand description
mint_new_edition_from_master_edition_via_token
CPI accounts.
Fields§
§new_metadata: &'b AccountInfo<'a>
New Metadata key (pda of [‘metadata’, program id, mint id])
new_edition: &'b AccountInfo<'a>
New Edition (pda of [‘metadata’, program id, mint id, ‘edition’])
master_edition: &'b AccountInfo<'a>
Master Record Edition V2 (pda of [‘metadata’, program id, master metadata mint id, ‘edition’])
new_mint: &'b AccountInfo<'a>
Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
edition_mark_pda: &'b AccountInfo<'a>
Edition pda to mark creation - will be checked for pre-existence. (pda of [‘metadata’, program id, master metadata mint id, ‘edition’, edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE).
Mint authority of new mint
payer: &'b AccountInfo<'a>
payer
token_account_owner: &'b AccountInfo<'a>
owner of token account containing master token (#8)
token_account: &'b AccountInfo<'a>
token account containing token from master metadata mint
Update authority info for new metadata
metadata: &'b AccountInfo<'a>
Master record metadata account
token_program: &'b AccountInfo<'a>
Token program
system_program: &'b AccountInfo<'a>
System program
rent: Option<&'b AccountInfo<'a>>
Rent info