Community-Owned Risk Infrastructure

The house behind your multi-outcome position.

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.

ERC-4626 VaultAI-ScoredWorld ID Gated0G AuditedCRE SettledAave Yield-BackedUSDC Native

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.

AI-scored, not AI-themed

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.

Delayed settlement by design

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 build positions. LPs earn yield.

Traders

Build a multi-leg position

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

Earn yield as the house

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

From market signal to onchain settlement.

Six steps, six partner integrations. Every part of the lifecycle has a verifiable onchain or cryptographic counterpart — nothing runs in an opaque database.

01

Market discovery

Polymarket CLOB

Trader picks outcomes from live Polymarket markets. Probabilities and resolution metadata come from the CLOB API — Underlay does not run the market.

02

AI risk scoring

0G Compute0G Storage

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.

03
conditionalstake > $5

Identity gate

World ID

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.

04

Position locked onchain

Base Sepolia

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.

05

Chainlink CRE resolves legs

Chainlink CREChainlink Price Feeds

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().

06

Settlement executes

Chainlink CREBase Sepolia

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

Every integration maps to a specific protocol responsibility.

Seven protocol partners each handle a distinct layer. No single point of trust or failure.

Infrastructure

Polymarket CLOB API

Reference signal and resolution source

Infrastructure

0G Compute

AI inference for risk scoring

Infrastructure

0G Storage

Immutable risk and audit receipts

Infrastructure

World ID

Sybil resistance above the stake gate

Infrastructure

Chainlink CRE

Settlement orchestration and delay flow

Infrastructure

Aave V3

Yield routing for idle vault capital

Infrastructure

Reown AppKit

Wallet connection through wagmi and viem