pub struct CreateMasterEditionV3CpiBuilder<'a, 'b> { /* private fields */ }
Expand description
create_master_edition_v3
CPI instruction builder.
Implementations§
source§impl<'a, 'b> CreateMasterEditionV3CpiBuilder<'a, 'b>
impl<'a, 'b> CreateMasterEditionV3CpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
pub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
Unallocated edition V2 account with address as pda of [‘metadata’, program id, mint, ‘edition’]
sourcepub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
pub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
Metadata mint
Update authority
Mint authority on the metadata’s mint - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
sourcepub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
pub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
payer
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
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: Option<&'b AccountInfo<'a>>) -> &mut Self
pub fn rent(&mut self, rent: Option<&'b AccountInfo<'a>>) -> &mut Self
[optional account]
Rent info
sourcepub fn max_supply(&mut self, max_supply: u64) -> &mut Self
pub fn max_supply(&mut self, max_supply: u64) -> &mut Self
[optional argument]
pub fn add_remaining_account( &mut self, account: InstructionAccountInfo<'a, 'b> ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccountInfo<'a, 'b>] ) -> &mut Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for CreateMasterEditionV3CpiBuilder<'a, 'b>
impl<'a, 'b> !Send for CreateMasterEditionV3CpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for CreateMasterEditionV3CpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for CreateMasterEditionV3CpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for CreateMasterEditionV3CpiBuilder<'a, 'b>
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