3.3 Program Architecture

Path Protocol consists of four core Solana programs designed for modularity, efficiency, and security:

┌─────────────────────────────────────────────────────────┐
             Path Protocol Architecture              
└─────────────────────────────────────────────────────────┘

┌─────────────────┐
     path_core         Market creation, LMSR trading, fee distribution
└────────┬────────┘

         ├─> Markets created by approved platforms
         ├─> LMSR buy/sell execution
         ├─> 4-tier fee distribution
         ├─> Multi-outcome support

┌────────▼────────┐
   path_resolution     Oracle system, dispute resolution, claims
└────────┬────────┘

         ├─> Commit-reveal oracle consensus
         ├─> Multi-outcome resolution
         ├─> Dispute mechanism
         ├─> Winner redemption (1 share = 1 collateral)

┌────────▼────────┐
    path_platform      Platform registration, governance, approval
└────────┬────────┘

         ├─> Platform registration with PATH stake
         ├─> 7-day review + community veto
         ├─> Platform fee distribution
         ├─> Governance voting

┌────────▼────────┐
     path_token        PATH staking, reward distribution, governance
└─────────────────┘

         ├─> Stake PATH tokens (flexible or locked)
         ├─> Claim staker rewards (0.1% of volume)
         ├─> Lock period options (fixed or linear unlock)
         ├─> Voter reward bonuses for governance participation
         ├─> Platform-specific locking (5 years with monthly linear unlock)

Program Responsibilities

1. path_core

  • Create markets (requires approved platform)

  • Manage phased market states (BOUNDING → ACTIVE → COMPLETED → RESOLVED)

  • Execute LMSR buy/sell trades with dynamic virtual_b

  • Handle BOUNDING timeout and refunds

  • Multi-outcome token minting/burning

  • Fee collection and distribution to 4 vaults

  • Market state management

2. path_resolution

  • Oracle commit-reveal scheme

  • Multi-party consensus resolution

  • Dispute submission and voting

  • Winning outcome finalization

  • Winner payout redemption (proportional to pool, parimutuel)

3. path_platform

  • Platform registration with stake

  • Community veto mechanism (7-day window)

  • Auto-approval after review period

  • Platform fee vault management

  • Platform metadata updates

4. path_token

  • PATH token staking with lock period options

  • Staker reward accumulation (0.1% of all volume)

  • Claimable reward distribution (proportional to stake)

  • Lock period multipliers (1.1x to 2.8x)

  • Voter reward bonuses (0% to 20% additional)

  • Governance voting power calculation

  • Platform-specific locking (5 years with monthly linear unlock)

Last updated