Struct quarry_merge_mine::events::StakePrimaryEvent
source · [−]pub struct StakePrimaryEvent {
pub pool: Pubkey,
pub mm: Pubkey,
pub miner: Pubkey,
pub owner: Pubkey,
pub amount: u64,
}
Expand description
Emitted when tokens are staked into the primary quarry_mine::Miner.
Fields
pool: Pubkey
The MergePool.
mm: Pubkey
The MergeMiner.
miner: Pubkey
The quarry_mine::Miner.
owner: Pubkey
The owner of the MergeMiner.
amount: u64
Amount staked.
Trait Implementations
sourceimpl BorshDeserialize for StakePrimaryEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for StakePrimaryEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for StakePrimaryEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for StakePrimaryEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for StakePrimaryEvent
impl Discriminator for StakePrimaryEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for StakePrimaryEvent
impl Send for StakePrimaryEvent
impl Sync for StakePrimaryEvent
impl Unpin for StakePrimaryEvent
impl UnwindSafe for StakePrimaryEvent
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