pub struct StakeEvent {
pub authority: Pubkey,
pub token: Pubkey,
pub amount: u64,
pub timestamp: i64,
}
Expand description
Emitted when tokens are staked into a Quarry.
When the event took place.
impl BorshDeserialize for StakeEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
impl BorshSerialize for StakeEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
Serialize this instance into a vector of bytes.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,