Resolution, Disputes & TWAP Void
Chainlink 2-call historical bracketing, symmetric 1% bonds, single-round disputes, N-1 packed TWAP Void, and permissionless liveness timeouts.
Every market on Agentic Market has a deterministic settlement path and permissionless timeout backstops so user funds can never be permanently locked (INV-11).
Price Market Resolution (Chainlink Bracketing)
BTC 1h and 4h markets settle without human or AI judgment after estimatedEndTime:
- Exact Bracketing Check:
resolvePriceMarketAndSweep(key, endRoundId, isPhaseRollover)performs 2 historical Chainlink calls confirming:
- Phase Rollover Support: When
endRoundIdis the final round of a Chainlink aggregator phase,isPhaseRollover = trueverifies the first round of the next phase((phaseId + 1) << 64) | 1. - Deterministic Tie Rule (
OD-4):endPrice >= startPriceresolves UP (0);endPrice < startPriceresolves DOWN (1). - Stale Feed Backstop: If Chainlink remains unavailable past
sourceTimeout(24h), anyone can callvoidIfStale()permissionlessly.
Trend Market Resolution & Single-Round Disputes
- Bonded Proposal: After
cutoffTime, the Resolver submitspropose(key, outcome, evidenceHash)posting a symmetric bond (OD-7):
- Permissionless Fallback Proposer: If the primary Resolver fails to propose within
FALLBACK_PROPOSE_DELAY(sourceTimeout / 2), any external address may propose and earn a solvency-capped reward paid strictly fromfeeAcc(never touching usercollateral). - Single-Round Dispute: Within
disputeWindow(24hdefault;6hfor RapidVOIDonPausedmarkets), any third party (msg.sender != proposer) may post an equal bond to enterDisputed. A second dispute always reverts (AlreadyDisputed). - Arbitration & Timeouts: The Arbiter resolves
Disputedmarkets and slashes the losing bond. If the Arbiter stalls pastARBITER_TIMEOUT(7d), anyone can callvoidIfArbiterTimeout()to refund bonds and settle at TWAP Void.
Packed TWAP & Anti-Front-Run Void Settlement
When a market settles to Void, payouts use the frozen historical TWAP rather than last-second spot prices.
- Virtual Stop Time (
INV-3): TWAP accumulation halts strictly at:
- 64-Checkpoint Lazy Ring Buffer: Stores only cumulative price accumulators (
1for binary,4for multi-5) at120sminimum checkpoint intervals (32 slots binary / 64 slots multi-5). - Anti-Void Front-Running (
INV-4): A trader who buys immediately prior to an emergencypause()cannot extract positive net arbitrage profit from TWAP Void redemption because payouts use the30m–120mhistorical average price and are bounded cleanly.
Hard Liveness Timeouts Summary
| Timeout | Value | Permissionless Unlock |
|---|---|---|
RAPID_VOID_WINDOW | 6h | Fast VOID finalization from Paused |
disputeWindow (Trend) | [6h, 72h] (24h default) | finalizeAndSweep() |
sourceTimeout | 24h (price) / 72h (trend) | voidIfStale() / voidIfSourceTimeout() |
PAUSE_EXPIRY | 72h | voidIfPauseExpired() |
ARBITER_TIMEOUT | 7 days | voidIfArbiterTimeout() |
Economics & AMM Math
Complete-Set FPMM equations, unbalanced seeding bounds, symmetric dynamic & opening fees, saturating position caps, and O(1) Leaky Bucket Vault.
Open Decisions & Pre-Mainnet Gates
Complete sign-off record of locked V1 parameters (OD-1 through OD-12) and remaining pre-mainnet external gates (EXT-1).