pub struct Quarry {
pub rewarder: Pubkey,
pub token_mint_key: Pubkey,
pub bump: u8,
pub index: u16,
pub token_mint_decimals: u8,
pub famine_ts: i64,
pub last_update_ts: i64,
pub rewards_per_token_stored: u128,
pub annual_rewards_rate: u64,
pub rewards_share: u64,
pub total_tokens_deposited: u64,
pub num_miners: u64,
}Fields
rewarder: PubkeyRewarder which manages this quarry
token_mint_key: PubkeyLP token this quarry is designated to
bump: u8Bump.
index: u16Index of the Quarry.
token_mint_decimals: u8Decimals on the token [Mint].
famine_ts: i64Timestamp when quarry rewards cease
last_update_ts: i64Timestamp of last checkpoint
rewards_per_token_stored: u128Rewards per token stored in the quarry
annual_rewards_rate: u64Amount of rewards distributed to the quarry per year.
Rewards shared allocated to this quarry
total_tokens_deposited: u64Total number of tokens deposited into the quarry.
num_miners: u64Number of Miners.
Implementations
Trait Implementations
sourceimpl BorshDeserialize for Quarry where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
u16: BorshDeserialize,
u8: BorshDeserialize,
i64: BorshDeserialize,
i64: BorshDeserialize,
u128: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for Quarry where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
u16: BorshDeserialize,
u8: BorshDeserialize,
i64: BorshDeserialize,
i64: BorshDeserialize,
u128: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for Quarry where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u8: BorshSerialize,
u16: BorshSerialize,
u8: BorshSerialize,
i64: BorshSerialize,
i64: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Quarry where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u8: BorshSerialize,
u16: BorshSerialize,
u8: BorshSerialize,
i64: BorshSerialize,
i64: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for Quarry
impl Send for Quarry
impl Sync for Quarry
impl Unpin for Quarry
impl UnwindSafe for Quarry
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more