pub struct TransferOutOfEscrowCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
transfer_out_of_escrow
CPI instruction builder.
Implementations§
source§impl<'a, 'b> TransferOutOfEscrowCpiBuilder<'a, 'b>
impl<'a, 'b> TransferOutOfEscrowCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn escrow(&mut self, escrow: &'b AccountInfo<'a>) -> &mut Self
pub fn escrow(&mut self, escrow: &'b AccountInfo<'a>) -> &mut Self
Escrow account
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 payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
pub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
Wallet paying for the transaction and new account
sourcepub fn attribute_mint(
&mut self,
attribute_mint: &'b AccountInfo<'a>
) -> &mut Self
pub fn attribute_mint( &mut self, attribute_mint: &'b AccountInfo<'a> ) -> &mut Self
Mint account for the new attribute
sourcepub fn attribute_src(&mut self, attribute_src: &'b AccountInfo<'a>) -> &mut Self
pub fn attribute_src(&mut self, attribute_src: &'b AccountInfo<'a>) -> &mut Self
Token account source for the new attribute
sourcepub fn attribute_dst(&mut self, attribute_dst: &'b AccountInfo<'a>) -> &mut Self
pub fn attribute_dst(&mut self, attribute_dst: &'b AccountInfo<'a>) -> &mut Self
Token account, owned by TM, destination for the new attribute
sourcepub fn escrow_mint(&mut self, escrow_mint: &'b AccountInfo<'a>) -> &mut Self
pub fn escrow_mint(&mut self, escrow_mint: &'b AccountInfo<'a>) -> &mut Self
Mint account that the escrow is attached
sourcepub fn escrow_account(
&mut self,
escrow_account: &'b AccountInfo<'a>
) -> &mut Self
pub fn escrow_account( &mut self, escrow_account: &'b AccountInfo<'a> ) -> &mut Self
Token account that holds the token the escrow is attached to
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 ata_program(&mut self, ata_program: &'b AccountInfo<'a>) -> &mut Self
pub fn ata_program(&mut self, ata_program: &'b AccountInfo<'a>) -> &mut Self
Associated Token program
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 sysvar_instructions(
&mut self,
sysvar_instructions: &'b AccountInfo<'a>
) -> &mut Self
pub fn sysvar_instructions( &mut self, sysvar_instructions: &'b AccountInfo<'a> ) -> &mut Self
Instructions sysvar account
[optional account]
Authority/creator of the escrow account
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 TransferOutOfEscrowCpiBuilder<'a, 'b>
impl<'a, 'b> !Send for TransferOutOfEscrowCpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for TransferOutOfEscrowCpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for TransferOutOfEscrowCpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for TransferOutOfEscrowCpiBuilder<'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