1
2
3
4
5
6
7
8
9
10
11
12
use bytemuck::{Pod, Zeroable};
use ore_utils::impl_to_bytes;

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct MineEvent {
    pub difficulty: u64,
    pub reward: u64,
    pub timing: i64,
}

impl_to_bytes!(MineEvent);