Skip to main contentModule consts
Source - ADMIN_ADDRESS
- Authority for
Initialize. Replace with your deploy multisig before mainnet. - EXECUTOR_ADDRESS
- Signs executor-gated instructions:
AdminPayout. Replace before production. - FEE_COLLECTOR
- SPL USDC recipient for team-fee legs.
- MARKET_BUCKET_SECS
- Duration of each 5-minute market bucket in seconds.
open_ts = period * MARKET_BUCKET_SECS, close_ts = open_ts + MARKET_BUCKET_SECS. - MAX_BPS
- Basis points denominator (100%).
- PAYOUT_POOL_DAILY
AdminPayout.pool โ debit Treasury.daily_jackpot.- PAYOUT_POOL_NONE
AdminPayout.pool โ bet winner; treasury counters unchanged.- PAYOUT_POOL_WEEKLY
AdminPayout.pool โ debit Treasury.weekly_jackpot.- TICKET_BUYBACK_BPS
- Ticket revenue split to buyback reserve (BPS).
- TICKET_DAILY_BPS
- Ticket revenue split to daily pool (BPS).
- TICKET_PRICE_MICROS
- Fixed cost of one prediction (1 USDC). Server debits
user_balances.tickets by this amount. - TICKET_TEAM_BPS
- Ticket revenue split to team (BPS).
- TICKET_WEEKLY_BPS
- Ticket revenue split to weekly pool (BPS).
- TRADING_FEE_STABILITY_BPS
- Share of trading fee revenue routed to stability reserve (BPS).
- TRADING_FEE_WEEKLY_BPS
- Share of trading fee revenue routed to weekly jackpot accrual (BPS).
- TREASURY
- PDA seed for the
Treasury account. - USDC_MAINNET_MINT
- SPL USDC mint.
Devnet: GAmHPNMcgh9BTpe3DWirqMwvYCeDskE2im6fUhZyukJp (custom devnet USDC)
Mainnet: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (Circle mainnet)
- USER_TICKET
- PDA seed for
UserTicket accounts.
Full seeds: [USER_TICKET, user_pubkey, series_id_le2, period_le8]