Struct quarry_merge_mine::accounts::QuarryStake
source · [−]pub struct QuarryStake {
pub pool: Pubkey,
pub mm: Pubkey,
pub rewarder: Pubkey,
pub quarry: Pubkey,
pub miner: Pubkey,
pub miner_vault: Pubkey,
pub token_program: Pubkey,
pub mine_program: Pubkey,
}
Expand description
Generated client accounts for QuarryStake
.
Fields
pool: Pubkey
The MergePool.
mm: Pubkey
The MergeMiner (also the quarry_mine::Miner authority).
rewarder: Pubkey
The quarry_mine::Rewarder to stake into.
quarry: Pubkey
The quarry_mine::Quarry to claim from.
miner: Pubkey
The quarry_mine::Miner.
miner_vault: Pubkey
The TokenAccount of the quarry_mine::Miner that holds the staked tokens.
token_program: Pubkey
anchor_spl::token program.
mine_program: Pubkey
quarry_mine program.
Trait Implementations
sourceimpl BorshSerialize for QuarryStake where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for QuarryStake where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for QuarryStake
impl ToAccountMetas for QuarryStake
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 QuarryStake
impl Send for QuarryStake
impl Sync for QuarryStake
impl Unpin for QuarryStake
impl UnwindSafe for QuarryStake
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