pub struct TransferOutOfEscrowBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl TransferOutOfEscrowBuilder
impl TransferOutOfEscrowBuilder
pub fn new() -> Self
sourcepub fn payer(&mut self, payer: Pubkey) -> &mut Self
pub fn payer(&mut self, payer: Pubkey) -> &mut Self
Wallet paying for the transaction and new account
sourcepub fn attribute_mint(&mut self, attribute_mint: Pubkey) -> &mut Self
pub fn attribute_mint(&mut self, attribute_mint: Pubkey) -> &mut Self
Mint account for the new attribute
sourcepub fn attribute_src(&mut self, attribute_src: Pubkey) -> &mut Self
pub fn attribute_src(&mut self, attribute_src: Pubkey) -> &mut Self
Token account source for the new attribute
sourcepub fn attribute_dst(&mut self, attribute_dst: Pubkey) -> &mut Self
pub fn attribute_dst(&mut self, attribute_dst: Pubkey) -> &mut Self
Token account, owned by TM, destination for the new attribute
sourcepub fn escrow_mint(&mut self, escrow_mint: Pubkey) -> &mut Self
pub fn escrow_mint(&mut self, escrow_mint: Pubkey) -> &mut Self
Mint account that the escrow is attached
sourcepub fn escrow_account(&mut self, escrow_account: Pubkey) -> &mut Self
pub fn escrow_account(&mut self, escrow_account: Pubkey) -> &mut Self
Token account that holds the token the escrow is attached to
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
sourcepub fn ata_program(&mut self, ata_program: Pubkey) -> &mut Self
pub fn ata_program(&mut self, ata_program: Pubkey) -> &mut Self
[optional account, default to 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL']
Associated Token program
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 sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
[optional account, default to 'Sysvar1nstructions1111111111111111111111111']
Instructions sysvar account
[optional account]
Authority/creator of the escrow account
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for TransferOutOfEscrowBuilder
impl Default for TransferOutOfEscrowBuilder
source§fn default() -> TransferOutOfEscrowBuilder
fn default() -> TransferOutOfEscrowBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransferOutOfEscrowBuilder
impl Send for TransferOutOfEscrowBuilder
impl Sync for TransferOutOfEscrowBuilder
impl Unpin for TransferOutOfEscrowBuilder
impl UnwindSafe for TransferOutOfEscrowBuilder
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