Views worth knowing
Anyone can read these, no wallet needed:Events
BetPlaced, Settled(id, h, outcome, payout), SettlerFeePaid, and PayoutClaimed form the complete public history. Indexers, the leaderboard, and the verify page are all built from these events, and you can rebuild any of it independently.
Safety properties
- Payouts for every pending bet are reserved at placement, so the house can never take a bet it cannot pay.
- Bet terms are snapshotted per bet: a fee or edge change never affects a bet already placed.
- Settlement verifies the RSA signature on-chain against the key version the bet was placed under, so key rotation cannot orphan or alter old bets.