ore_pool_api/
event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use steel::*;

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct UnstakeEvent {
    /// the authority of the share account
    pub authority: Pubkey,
    /// the share account
    pub share: Pubkey,
    /// the mint (target of the staking)
    pub mint: Pubkey,
    /// latest balance
    pub balance: u64,
}

event!(UnstakeEvent);