Skip to main content
Lightweight wrapper that maps a human-readable question to either a Predict OracleSVI or an OO market, plus the Walrus blob pointer to the long-form spec.

Types

Shared MarketRegistry table maps MarketLink id to MarketSummary.

Resolution kinds

Public functions

Wired via

scripts/register-market.ts. --kind price calls register_price_market, --kind oo calls register_optimistic_market. Captures the MarketLink id and suggests the .env key (BTC_MARKET_LINK_ID / SPORTS_OO_MARKET_LINK_ID).

Tests

tests/market_tests.move. Sanity check that resolution_price_oracle_kind() != resolution_optimistic_kind().