Implementation Design

Smart contract architecture of Axiom Protocol

Contract
Function

XRPVault (future stable vaults)

Staking, share accounting, reward distribution

EligibilityRegistry

Snapshot and percentile tracking

FeeRouter

Commission routing & bonuses

MarketFactory (upgradeable)

Market creation (Top 50% only), trading mechanism deployment

TieredParimutuelMarket

Launch trading mechanism: pool-based betting with time bonuses

MarketResolver

Proposal, challenge, voting, escalation, finalization

Upgradeable Market Factory: UUPS proxy pattern to transition trading mechanisms over time. Upgrade controlled by UPGRADE_ADMIN_ROLE during launch, transitioning to a multisig/timelock as protocol matures.

Upgrade admin staged transition:

  1. Dev EOA (Phase 1)

  2. 3-of-5 multisig (Phase 2)

  3. Governance-controlled timelock & multisig (Phase 3)

Last updated