Smart Contracts
The protocol consists of two smart contracts deployed on Base, with mainnet deployment planned post-audit.Contract Overview
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.