Struct quarry_mine::accounts::NewRewarder
source · [−]pub struct NewRewarder {
pub base: Pubkey,
pub rewarder: Pubkey,
pub initial_authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub unused_account: Pubkey,
pub mint_wrapper: Pubkey,
pub rewards_token_mint: Pubkey,
pub claim_fee_token_account: Pubkey,
}
Expand description
Generated client accounts for NewRewarder
.
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.
unused_account: Pubkey
Unused variable that held the [Clock]. Placeholder. CHECK: OK
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 NewRewarder where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for NewRewarder where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for NewRewarder
impl ToAccountMetas for NewRewarder
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 NewRewarder
impl Send for NewRewarder
impl Sync for NewRewarder
impl Unpin for NewRewarder
impl UnwindSafe for NewRewarder
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