This commit is contained in:
Hardhat Chad
2025-05-26 10:13:58 -07:00
parent 3049c1b390
commit 2196978c66
10 changed files with 43 additions and 42 deletions

View File

@@ -1,13 +1,5 @@
use steel::*;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct PayoutEvent {
pub authority: Pubkey,
pub amount: u64,
pub ts: u64,
}
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct BetEvent {
@@ -23,6 +15,14 @@ pub struct BuryEvent {
pub ts: u64,
}
event!(PayoutEvent);
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct PayoutEvent {
pub authority: Pubkey,
pub amount: u64,
pub ts: u64,
}
event!(BetEvent);
event!(BuryEvent);
event!(PayoutEvent);