TestnetTest ETH for gas Paper venue

System architecture

Four stages from venue data to settled position. The index is computed off-chain; the limits on it, the payout cap and signature checks are enforced by the contracts. The contracts are unaudited and deployed to Robinhood Chain Testnet.

Pipeline

Each component is marked with what exists today, not with what is planned.

  1. 1

    Ingestion

    Venue reads, every 15 seconds. Each source reports its own latency and health.

    • Deribit option surfaceBTC and ETH, all listed expiries, one request each
      Live
    • Derive option surfaceBTC and ETH, the expiries around 30 days; the index's second venue
      Live
    • Binance fundingpremiumIndex, 8h interval
      Live
    • Hyperliquid fundingmetaAndAssetCtxs, 1h interval
      Live
    • Lighter fundingthe native leg: Robinhood Chain perps, unit-checked against Hyperliquid every round
      Live
  2. 2

    Analysis

    The index is computed off-chain; the limits on it are enforced on-chain.

    • C-VIX index enginevariance replication, 30-day constant maturity · core/cvix.ts
      Live
    • Oracle dampener±20% per block, 5% step on a distrusted push · CVIXOracleDampener.sol
      Built
    • Dynamic skew enginequadratic borrow rate with a depth floor · DynamicSkewEngine.sol — charged through a borrow index
      Built
    • FR-BASIS accrualsize × ΔFR × Δt ÷ 28800 into a carry index · PrismPerpSettlement.sol; per round on the paper venue
      Built
  3. 3

    Execution

    Signed intents are verified and queued off-chain, then settled in batches.

    • Session keysone wallet signature delegates a scoped, expiring key; orders then sign in the browser · /api/session
      Live
    • Intent intakeEIP-712 verification, delegation, nonce, deadline, size, leverage and balance checks, rate limits per address and per IP · /api/orders
      Live
    • Matcherre-verifies, enforces limit price, fills at the index against the pool
      Live
    • Paper settlementpositions, fees, capped PnL and a ledger under the contract's rules, on test collateral
      Live
    • PrismPerpSettlementon-chain signature and session checks, batch settlement, each order on its own
      Built
    • Relayer → settleBatchsubmitting matched intents on-chain
      Built
  4. 4

    Settlement

    Collateral, the payout pool and liquidation.

    • PrismPerpVaultUSDG at 6 decimals; pool-only escrow of the 8× cap at open
      Built
    • LiquidationModulecapped PnL, maintenance threshold at 90% of margin
      Built
    • Liquidation keeperliquidates past 90% with costs counted — paper ledger, or liquidate() on-chain for a bounty
      Live
    • Indexerpositions, balances, ledger and open interest from settlement, vault and oracle events
      Built

Live — running against a real source nowBuilt — implemented and tested, not yet what the live site runsModelled — stands in for a source that does not exist yetPlanned — specified, not implemented

Modules

One page per module: what it is responsible for, the formula it implements and its parameters.

ModuleRoleImplementationReads fromWrites to
C-VIX Index Enginepricingcore/cvix.ts · off-chainDeribit and Derive REST · BTC + ETH option surfacesCVIXOracleDampener.sol
Oracle DampenersafetyCVIXOracleDampener.solKeeper-signed index pushesPrismPerpSettlement.sol
FR-BASIS EnginepricingPrismPerpSettlement.sol · carry indexBinance fapi · Hyperliquid info · LighterPrismPerpVault.sol
Dynamic Skew EngineriskDynamicSkewEngine.solPrismPerpSettlement.sol · open interestBorrow index · charged at close
8× Payout CapsolvencyLiquidationModule.solSettlement · mark priceVault escrow release
Intent SettlementexecutionPrismPerpSettlement.solEIP-712 intents signed by the traderVault · skew engine

Open the terminal

Charts, books and quotes need no wallet. Connecting one starts a paper session: test collateral, settled by the relayer, not on-chain.