From 1ce1077c90b05d52f3af5dc08c849c353bd42cb8 Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Mon, 26 May 2025 10:34:01 -0700 Subject: [PATCH] comments --- api/src/state/wager.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/state/wager.rs b/api/src/state/wager.rs index e89d6d3..75ccf85 100644 --- a/api/src/state/wager.rs +++ b/api/src/state/wager.rs @@ -5,19 +5,19 @@ use super::OreAccount; #[repr(C)] #[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)] pub struct Wager { - /// The quantity of SOL this miner has bet in the current round. + /// The amount bet in this wager. pub amount: u64, /// The signer authorized to use this wager. pub authority: Pubkey, - /// The cumulative amount risked in the current round, up to and including this wager. + /// The cumulative amount bet in the current round prior to this wager. pub cumulative_sum: u64, - /// The current round this miner is betting in. + /// The current round this wager is for. pub round: u64, - /// The ID of the bet. + /// The ID of the wager, used for provably fair randomness. pub seed: [u8; 32], /// The timestamp of the wager.