Learn
How It Works

Resolution

Resolution records the result used to calculate payouts. Price rounds compare stored prices; events use a winning outcome submitted against the published settlement rule.

Price Prediction

Published prices
The operator submits the lock and close readings and their associated references to the contract.
On-chain oracle
Where enabled, round processing reads the configured oracle feed and records its price and round reference.
Result
A higher close price settles UP; a lower close price settles DOWN. Equal prices qualify the round for refunds.

The stored prices for the selected source determine the result. Round records can be inspected through the Price Prediction contract's explorer page.

Event Prediction

Each event publishes a question, outcome labels and a settlement rule. The operator checks the result against that rule and submits the winning outcome to the contract. The contract records the submitted outcome; it does not independently fetch or verify the real-world result.

Before lock
Entries are accepted during the event's opening window. Resolution is not yet available.
After lock
The operator can record one winning outcome before the refund timeout. Entry transactions are closed.
After resolution
The recorded outcome determines payout eligibility. The event cannot be resolved again or cancelled.
Unresolved timeout
Seven days after lock, an unresolved event enters refund mode and can no longer be resolved.

Question and outcome hash

ComputeEventHash derives a hash from the question and outcome labels. The contract stores that value as EventHash at creation. An entry supplies the hash, and the contract requires it to match the stored value.

The question and outcome labels are encoded into a hash stored at event creation. The entry transaction supplies an event hash, which must match the stored value.

The hash covers the question and outcome labels. Additional explanatory text is covered only if it is included in those hashed strings.

Cancellation

An unresolved event can be cancelled before its lock time or after the seven-day refund timeout. Cancellation is unavailable between those times. Cancelled events return eligible player stakes through Refund.

Event balances and payouts

Event Prediction uses a shared contract balance. Before settlement, protected funds record player stakes. At resolution, the recorded amount is updated to the unpaid player payouts. Cancelled or timed-out events retain the amount needed for unpaid stake refunds.

Seed participates in the pool calculation but is not a separate protected reserve for each event. Operator withdrawals are limited to free collateral, calculated from the balance above recorded player obligations. Transfers require sufficient contract balance.

Inspect a result

The Contracts page links to each explorer. Price round records show the stored lock and close readings. Event records show the status, winning outcome, pools, timestamps and event hash. Transactions show when those values were submitted.

Ethereum
Binance Smart Chain
Base
Arbitrum