Struct mpl_token_metadata::instructions::DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenCpiBuilder
source · pub struct DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
deprecated_mint_new_edition_from_master_edition_via_printing_token
CPI instruction builder.
Implementations§
source§impl<'a, 'b> DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenCpiBuilder<'a, 'b>
impl<'a, 'b> DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
New Metadata key (pda of [‘metadata’, program id, mint id])
sourcepub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
pub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
New Edition V1 (pda of [‘metadata’, program id, mint id, ‘edition’])
sourcepub fn master_edition(
&mut self,
master_edition: &'b AccountInfo<'a>
) -> &mut Self
pub fn master_edition( &mut self, master_edition: &'b AccountInfo<'a> ) -> &mut Self
Master Record Edition V1 (pda of [‘metadata’, program id, master metadata mint id, ‘edition’])
sourcepub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
pub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
Mint authority of new mint
sourcepub fn printing_mint(&mut self, printing_mint: &'b AccountInfo<'a>) -> &mut Self
pub fn printing_mint(&mut self, printing_mint: &'b AccountInfo<'a>) -> &mut Self
Printing Mint of master record edition
sourcepub fn master_token_account(
&mut self,
master_token_account: &'b AccountInfo<'a>
) -> &mut Self
pub fn master_token_account( &mut self, master_token_account: &'b AccountInfo<'a> ) -> &mut Self
Token account containing Printing mint token to be transferred
sourcepub fn edition_marker(
&mut self,
edition_marker: &'b AccountInfo<'a>
) -> &mut Self
pub fn edition_marker( &mut self, edition_marker: &'b AccountInfo<'a> ) -> &mut Self
Edition pda to mark creation - will be checked for pre-existence. (pda of [‘metadata’, program id, master mint id, edition_number])
Burn authority for this token
sourcepub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
pub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
payer
update authority info for new metadata account
sourcepub fn master_metadata(
&mut self,
master_metadata: &'b AccountInfo<'a>
) -> &mut Self
pub fn master_metadata( &mut self, master_metadata: &'b AccountInfo<'a> ) -> &mut Self
Master record metadata account
sourcepub fn token_program(&mut self, token_program: &'b AccountInfo<'a>) -> &mut Self
pub fn token_program(&mut self, token_program: &'b AccountInfo<'a>) -> &mut Self
Token program
sourcepub fn system_program(
&mut self,
system_program: &'b AccountInfo<'a>
) -> &mut Self
pub fn system_program( &mut self, system_program: &'b AccountInfo<'a> ) -> &mut Self
System program
sourcepub fn rent(&mut self, rent: &'b AccountInfo<'a>) -> &mut Self
pub fn rent(&mut self, rent: &'b AccountInfo<'a>) -> &mut Self
Rent info
sourcepub fn reservation_list(
&mut self,
reservation_list: Option<&'b AccountInfo<'a>>
) -> &mut Self
pub fn reservation_list( &mut self, reservation_list: Option<&'b AccountInfo<'a>> ) -> &mut Self
[optional account]
Reservation List - If present, and you are on this list, you can get an edition number given by your position on the list.