4.2 Commit-Reveal Resolution Process
Path Protocol uses a two-phase resolution mechanism to prevent oracle collusion and front-running:
┌────────────────────────────────────────────────────────┐
Market Resolution Flow (Multi-Outcome)
└────────────────────────────────────────────────────────┘
Phase 1: COMMIT (24-48 hours)
│
├─> Oracles submit hash(outcome_index + salt)
│
├─> No one can see others' votes
│
├─> Staking requirement enforced (e.g., 10,000 PATH)
│
▼
Phase 2: REVEAL (24-48 hours)
│
├─> Oracles reveal outcome_index + salt
│
├─> System verifies hash matches commitment
│
├─> Invalid reveals = stake slashed
│
▼
Consensus Calculation
│
├─> Weighted by oracle stake amount
│
├─> Majority outcome wins (>50% stake)
│
├─> Disagreeing oracles = potential slash
│
▼
Finalization OR Dispute
│
├─> If consensus clear: market resolved
│
├─> If contentious: dispute period opens
│
└─> Final resolution after dispute windowLast updated

