use anchor_lang::prelude::*; #[constant] pub const GLOBAL_SEED: &[u8] = b"global"; #[constant] pub const BET_SEED: &[u8] = b"bet"; /// Vault PDA seed: the token vault lives at PDA([GLOBAL_SEED, VAULT_SEED]). /// It cannot reuse GLOBAL_SEED alone — that PDA address is the `global` state account itself. #[constant] pub const VAULT_SEED: &[u8] = b"vault"; pub const SIDE_UP: u64 = 0; pub const SIDE_DOWN: u64 = 1; pub const STATUS_OPEN: u64 = 0; pub const STATUS_PAYOUT_DONE: u64 = 1; pub const STATUS_HOUSE_WON: u64 = 2; pub const BPS_DIVISOR: u64 = 10_000;