Struct quarry_merge_mine::accounts::WithdrawTokens
source · [−]pub struct WithdrawTokens {
pub owner: Pubkey,
pub pool: Pubkey,
pub mm: Pubkey,
pub withdraw_mint: Pubkey,
pub mm_token_account: Pubkey,
pub token_destination: Pubkey,
pub token_program: Pubkey,
}
Expand description
Generated client accounts for WithdrawTokens
.
Fields
owner: Pubkey
Owner of the MergeMiner.
pool: Pubkey
The MergePool to withdraw from.
mm: Pubkey
The MergeMiner to withdraw from.
withdraw_mint: Pubkey
The Mint being withdrawn from the MergeMiner.
mm_token_account: Pubkey
A TokenAccount owned by the MergeMiner to withdraw from. Must be the MergePool::primary_mint or the MergePool::replica_mint.
token_destination: Pubkey
Account to send tokens to.
token_program: Pubkey
The token program
Trait Implementations
sourceimpl BorshSerialize for WithdrawTokens where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for WithdrawTokens where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for WithdrawTokens
impl ToAccountMetas for WithdrawTokens
sourcefn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client. Read more
Auto Trait Implementations
impl RefUnwindSafe for WithdrawTokens
impl Send for WithdrawTokens
impl Sync for WithdrawTokens
impl Unpin for WithdrawTokens
impl UnwindSafe for WithdrawTokens
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more