mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 23:16:48 +00:00
20 lines
351 B
Rust
20 lines
351 B
Rust
use steel::*;
|
|
|
|
#[repr(C)]
|
|
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
|
pub struct MineEvent {
|
|
pub difficulty: u64,
|
|
pub reward: u64,
|
|
pub timing: i64,
|
|
}
|
|
|
|
#[repr(C)]
|
|
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
|
pub struct BoostEvent {
|
|
pub mint: Pubkey,
|
|
pub reward: u64,
|
|
}
|
|
|
|
event!(MineEvent);
|
|
event!(BoostEvent);
|