Resolver oracles
Extending the oracle from "what is the price of X?" to "did event Y happen?". The price resolver that settles the prediction market, the sports pilot, and what is still to build.
A price oracle answers one question: what is X worth right now? Plenty of on-chain logic needs a different question answered: did a thing happen?
Resolver oracles are that expansion. One is in production, one runs as a pilot, and the rest are designed.
Note
The price resolver settles every prediction market on Arc. Sports resolution ran as a pilot via the sports-pusher service and an EventOracleAggregator on an earlier deployment; it is not deployed on Arc and has no public API today. The other resolver types below are designed but not built.
The price resolver, in production
The simplest event is "was the price of X above Y at time T?", and it needs no new data source: the oracle already publishes X. SquidlorPriceResolver on Arc (address on deployed addresses) answers it for the prediction market.
- A market is created with a feed id, a strike and an expiry.
- After expiry, anyone calls
resolve(). It is permissionless. - The resolver reads
SquidlorAdapterV2's latest round for that feed. If the round was published inside the 30 minutes before expiry, the market settles Yes or No. If not, it reverts withStalePriceand the market stays unsettled rather than settling on old data.
That last rule is why the market's create form refuses expiries outside the US session for tokenized stocks: the equity feed is not pushed then, so no qualifying round could exist and the market could never resolve.
The resolver reads the adapter, not the cross-oracle aggregators. Settlement follows Squidlor's own signed rounds, which arrive on a fixed cadence; the aggregators serve the price board and the public API and are not settlement-precise.
Planned resolver types
| Resolver type | Data source | Example question answered |
|---|---|---|
| Sports | Verified sports data feeds, TheSportsDB today | "Will the Lakers beat the Celtics on March 5?" |
| Election / political | Curated public data with multi-source aggregation | "Will candidate X win district Y?" |
| Weather / climate | NOAA and government feeds | "Will Mumbai see more than 200mm of rain in July?" |
| Custom event | A configurable API endpoint plus decision logic | Long-tail outcomes with no dedicated feed |
The architecture mirrors the price oracle
Deliberately so: the same three-layer shape, with outcomes in place of prices:
- Off-chain attestation. A pusher service polls the data source, computes an outcome, and signs it.
- On-chain verification. An
EventOracleAggregatorchecks threshold consensus across its sources, exactly as the price aggregator medians across price sources. - Resolution. The verified outcome is readable on-chain by any consumer that needs to settle against it.
Outcomes are a small enumeration rather than a number: UNRESOLVED, YES, NO, INVALID. INVALID matters: it is how an ambiguous or void event resolves without forcing a wrong answer.
Aggregation modes parallel the price side: MAJORITY, UNANIMOUS, and PRIMARY_WITH_FALLBACK.
The sports pilot
sports-pusher is the working proof of the design, run as a pilot on an earlier deployment. It polls TheSportsDB, computes a YES/NO outcome, and submits it on-chain by one of two paths:
- Fast path: submits directly through
OperatorSignedEventSource. No bond, resolution is immediate, and it trusts the operator. - Bonded path: submits through UMA's Optimistic Oracle. Slower, because it carries a dispute window, but an incorrect outcome can be challenged economically.
Both land in an EventOracleAggregator. The pilot's contracts are not deployed on Arc, and redeploying them there is a decision for after the oracle's own second source lands.
That two-path design is the interesting part: it lets a consumer choose its own trade-off between resolution speed and dispute resistance, per event, rather than forcing one answer for the whole system.
Why own this rather than rent it
A third-party oracle answers the questions in its catalogue. A self-owned resolver stack can answer any question whose outcome it can index.
That difference compounds. Once resolver oracles ship, what Squidlor can attest to is bounded by what data exists in the world, not by what a vendor has decided to support.
Current limitations
- Only the price resolver is in production. Sports resolved in the pilot and is not deployed on Arc. Weather, elections, and custom resolvers are unbuilt.
- The price resolver inherits the trust model of the adapter's signer set: today, keys Squidlor operates.
- The fast path trusts a single operator signature, with the same caveat as the price signer set.
- The bonded path inherits UMA's dispute window (typically 24–48 hours), which rules it out for anything needing prompt settlement.
