Skip to main content
Oracle is the only contract authorised to call ConditionalTokens.reportPayouts for PredictStreet binary markets. Neg-risk markets settle through NegRiskOracle, which reports through NegRiskAdapter. Both oracles are deployed behind ERC1967 UUPS upgradeable proxies (OracleProxy and NegRiskOracleProxy) and emit monotonically increasing sequence counters (seq) on every state event.

Key constants (testnet defaults)

Write surface

Every binary call except proposeOutcome and voidUnproposedMarket is keyed by the market’s conditionId, not its questionId. On NegRiskOracle, calls are keyed by negRiskMarketId.

Read surface (anyone)

Events

All events embed a monotonic uint64 seq counter:

Challenging from a partner integration

The oracle pulls proposal.bondSnapshot USDC via transferFrom. If your challenge is upheld or the market is voided, the bond (plus any reward) is credited to pendingBondPayouts(yourAddress). Claim it to any address via oracle.withdrawBondPayout(to).

Source

0x346f4065f9aA3CE51F06bAfff3e657bc2FbD209b on Blockscout (testnet).