ore_pool_api/
event.rs

1use steel::*;
2
3#[repr(C)]
4#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
5pub struct UnstakeEvent {
6    /// the authority of the share account
7    pub authority: Pubkey,
8    /// the share account
9    pub share: Pubkey,
10    /// the mint (target of the staking)
11    pub mint: Pubkey,
12    /// latest balance
13    pub balance: u64,
14}
15
16event!(UnstakeEvent);