Skip to main content

Contracts Component View

HISTORICAL - describes the abandoned tournament / forecast-AMM design

This page documents the pre-migration architecture (TournamentManager, matchday-gated trading, on-chain ForecastMarket AMM). None of it exists in the current system: tournaments were replaced by instant 1v1 prestige-ladder battles, prediction markets are off-chain parimutuel in non-redeemable in-game currency, and the contract suite is Charter v2 + the Uniswap v4 venue. For current rules see the Platform Rules page; for current architecture see the repo's docs/architecture/ and my-dapp-contracts/docs/ARCHITECTURE.md.

This view breaks down the core on-chain contracts and distinguishes the three AMM domains.

  • BondingCurve AMM is only for pre-graduation token fundraising/trading.
  • DEX pools are post-graduation liquidity venues and are distinct from bonding curve logic.
  • ForecastMarketAMM is separate from token AMMs and swaps collateral <-> outcome shares (ERC-1155 positions).
  • TournamentManager is the transfer-gate authority (canTransfer) and the preferred deterministic source of match outcomes for forecast resolution.
  • Oracle flow is fallback-only for non-deterministic resolution paths.