Transparent risk model
Reserve ratio, payout caps, World ID gating, and liability utilisation are all protocol config — visible onchain, not hidden in an offchain database.
Community-Owned Risk Infrastructure
Underlay helps you bundle prediction market outcomes into one trade. Traders get a simpler way to take a position, and people who fund the pool can earn from the risk they back.
Built on Polymarket interaction, Underlay helps you move from a single trade to something broader and easier to manage.
Reserve ratio, payout caps, World ID gating, and liability utilisation are all protocol config — visible onchain, not hidden in an offchain database.
0G Compute scores the position risk via AI inference and 0G Storage pins the audit receipt. The AI doesn't brand the product — it prices the position.
Chainlink CRE enforces risk-tier delay windows before reserve payout or stake sweep. High-risk positions wait 2 minutes. It is a feature, not a bug.
Two audiences, one protocol
Traders
Select outcomes across Polymarket markets and combine them into a single position. Your odds multiply across legs. Underlay prices the combined risk and underwrites the payout.
LPs
Deposit USDC into the vault. When traders lose, stakes sweep into the vault and your share price appreciates. When traders win, the reserve pays out. Idle capital routes to Aave.
Protocol config (testnet)
Max testnet TVL
$200
configured
Reserve ratio
20%
configured
Max liability
40%
configured
Max payout
$8.00
configured
World ID gate
$1.00
configured
High-risk delay
120s
configured
How it works
Six steps, six partner integrations. Every part of the lifecycle has a verifiable onchain or cryptographic counterpart — nothing runs in an opaque database.
Trader picks outcomes from live Polymarket markets. Probabilities and resolution metadata come from the CLOB API — Underlay does not run the market.
The position is sent to a 0G Compute LLM node. It returns a risk tier, correlation score, stake limit, and reasoning flags. The full audit payload is pinned to 0G Storage — the merkle root is recorded onchain as a tamper-evident receipt.
Stakes above the protocol threshold require a World ID proof — verified onchain via the nullifier hash. One proof per action, replay-resistant. Prevents Sybil attacks on the reserve.
Stake transfers into the ERC-4626 vault. Legs are written to PositionBook and a risk-tier settlement timer starts in SettlementManager. Nothing else is required from the trader.
The CRE workflow runs every minute on Chainlink's DON. It reads open legs from PositionBook, queries Polymarket CLOB for resolution, and cross-references crypto legs against Chainlink Price Feeds. Resolved legs are committed onchain via resolveLegs().
After all legs resolve, the risk-tier delay window runs: 30 s LOW · 1 m MEDIUM · 2 m HIGH. executeSettlement() fires — winning positions are paid from vault reserves, losing stakes sweep back as LP yield.
All legs win
Reserve pays out stake × combined odds
Any leg loses
Stake sweeps into vault as LP yield
Infrastructure
Seven protocol partners each handle a distinct layer. No single point of trust or failure.
Infrastructure
Reference signal and resolution source
Infrastructure
AI inference for risk scoring
Infrastructure
Immutable risk and audit receipts
Infrastructure
Sybil resistance above the stake gate
Infrastructure
Settlement orchestration and delay flow
Infrastructure
Yield routing for idle vault capital
Infrastructure
Wallet connection through wagmi and viem