Smart Contracts
The protocol consists of two smart contracts deployed on Base, with mainnet deployment planned post-audit.Contract Overview
| Contract | Function |
|---|---|
| HunchToken | ERC-20 token ($HUNCH) - betting currency, rewards, governance |
| HunchManager | Betting pools, odds tracking, payout settlement |
HunchToken
Standard ERC-20 token with additional capabilities for the prediction market ecosystem.Features
Mintable
Authorized addresses can mint for rewards and signup bonuses
Burnable
Potential deflationary mechanics
Operator Pattern
Gasless transfers during betting
Role-Based Access
Separate permissions for different operations
Key Functions
HunchManager
Core betting logic and market settlement contract.Key Functions
Payout Calculation
The share-based payout model:Security Design
OpenZeppelin
Battle-tested, audited base contracts
Role-Based Access
Separate permissions for minting, settling, operations
Non-Custodial
Users maintain control via smart accounts
Reentrancy Guards
Protection on all state-changing functions
Fee Caps
Platform fee hard-capped at 10% maximum
Upgradeable
Proxy pattern allows bug fixes without migration
Deployment Status
Contracts are deployed on Base Sepolia testnet and verified on BaseScan for inspection.
Mainnet Roadmap
| Timeline | Milestone |
|---|---|
| Q2 2026 | Complete internal security review |
| Q2 2026 | Third-party audit (targeting Trail of Bits or OpenZeppelin) |
| Q3 2026 | Mainnet deployment with limited beta |
| Q3 2026 | Full public launch |