Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.signalium.site/llms.txt

Use this file to discover all available pages before exploring further.

Live mainnet (chainId 16661)

Full deploy log lives in packages/contracts/deployments/16661.json.

Per-market provisioning

Every createMarket(...) call deploys, in one transaction:
  1. A PredictionMarket clone (EIP-1167 minimal proxy → ~50k gas).
  2. A fresh Treasury whose principal is the new market.
  3. A GimoAdapter wired to that Treasury (max-approves st0G to StakePool in its constructor).
The factory enables the adapter on the Treasury, then transfers Treasury ownership to the factory owner. The market’s creator is set as the Treasury operator so they can rebalance their own market without protocol intervention.

Role gates

RoleHeld byPowers
Factory ownerInitial deployer (0x3B4f…85F5)Allowlist resolvers, set fees, point at a different Gimo pool
Treasury ownerFactory owner (post-handoff)Enable/disable adapters, set reserve floor
Treasury operatorMarket creatordeployIdle, requestUnstake, claimFrom
Treasury principal (immutable)The PredictionMarket cloneSole caller of recallToPrincipal
AIResolver ownerInitial deployerAllowlist TEE provider signers
TEE provider0x3B4f…85F5 (allowlisted)Sign verdict digests for AIResolver.submitResolution

Test coverage

138 unit tests   — packages/contracts/test/
  4 fork tests   — packages/contracts/test/yield/GimoAdapter.fork.t.sol
                   (run against the real Gimo proxy on 0G mainnet)
See per-contract pages for details:

PredictionMarket

Treasury

GimoAdapter

AIResolver