Struct mpl_token_metadata::instructions::MintNewEditionFromMasterEditionViaVaultProxyBuilder
source · pub struct MintNewEditionFromMasterEditionViaVaultProxyBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl MintNewEditionFromMasterEditionViaVaultProxyBuilder
impl MintNewEditionFromMasterEditionViaVaultProxyBuilder
pub fn new() -> Self
sourcepub fn new_metadata(&mut self, new_metadata: Pubkey) -> &mut Self
pub fn new_metadata(&mut self, new_metadata: Pubkey) -> &mut Self
New Metadata key (pda of [‘metadata’, program id, mint id])
sourcepub fn new_edition(&mut self, new_edition: Pubkey) -> &mut Self
pub fn new_edition(&mut self, new_edition: Pubkey) -> &mut Self
New Edition (pda of [‘metadata’, program id, mint id, ‘edition’])
sourcepub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
pub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
Master Record Edition V2 (pda of [‘metadata’, program id, master metadata mint id, ‘edition’]
sourcepub fn new_mint(&mut self, new_mint: Pubkey) -> &mut Self
pub fn new_mint(&mut self, new_mint: Pubkey) -> &mut Self
Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
sourcepub fn edition_mark_pda(&mut self, edition_mark_pda: Pubkey) -> &mut Self
pub fn edition_mark_pda(&mut self, edition_mark_pda: Pubkey) -> &mut Self
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
Vault authority
sourcepub fn safety_deposit_store(
&mut self,
safety_deposit_store: Pubkey
) -> &mut Self
pub fn safety_deposit_store( &mut self, safety_deposit_store: Pubkey ) -> &mut Self
Safety deposit token store account
sourcepub fn safety_deposit_box(&mut self, safety_deposit_box: Pubkey) -> &mut Self
pub fn safety_deposit_box(&mut self, safety_deposit_box: Pubkey) -> &mut Self
Safety deposit box
Update authority info for new metadata
sourcepub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
pub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
[optional account, default to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA']
Token program
sourcepub fn token_vault_program(&mut self, token_vault_program: Pubkey) -> &mut Self
pub fn token_vault_program(&mut self, token_vault_program: Pubkey) -> &mut Self
Token vault program
sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
System program