Struct quarry_mine::accounts::NewRewarderV2
source · [−]pub struct NewRewarderV2 {
pub base: Pubkey,
pub rewarder: Pubkey,
pub initial_authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub mint_wrapper: Pubkey,
pub rewards_token_mint: Pubkey,
pub claim_fee_token_account: Pubkey,
}
Expand description
Generated client accounts for NewRewarderV2
.
Fields
base: Pubkey
Base. Arbitrary key.
rewarder: Pubkey
Rewarder of mines.
Initial authority of the rewarder. CHECK: OK
payer: Pubkey
Payer of the Rewarder initialization.
system_program: Pubkey
System program.
mint_wrapper: Pubkey
Mint wrapper.
rewards_token_mint: Pubkey
Rewards token mint.
claim_fee_token_account: Pubkey
Token account in which the rewards token fees are collected.
Trait Implementations
sourceimpl BorshSerialize for NewRewarderV2 where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for NewRewarderV2 where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for NewRewarderV2
impl ToAccountMetas for NewRewarderV2
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 NewRewarderV2
impl Send for NewRewarderV2
impl Sync for NewRewarderV2
impl Unpin for NewRewarderV2
impl UnwindSafe for NewRewarderV2
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