Architecture
System Architecture
Hybrid offchain/onchain stack — sub-100ms matching with on-chain custody on Base.
Parabolic uses a hybrid offchain/onchain architecture. Low-latency operations (order matching, risk checks, oracle aggregation) run offchain for speed. Fund custody, settlement, and insurance run on-chain on Base for trustlessness.
Three-layer stack
- 1User Layer — Web app + embedded wallet (Privy). Fiat onramp via MoonPay/Stripe → USDC on Base.
- 2Offchain Engine — Matching engine, risk engine, oracle aggregator, orderbook manager, API gateway. Sub-100ms latency. Batched settlements every ~10 seconds.
- 3Onchain (Base) — Vault contract (fund custody), Clearinghouse (positions/margin), Settlement contract (final payouts), Insurance Fund, Oracle Registry.
Smart contracts (Base)
Vault — Holds all user USDC. Only the Clearinghouse can move funds between accounts.
Clearinghouse — Core accounting: positions, margin balances, realized P&L. Processes batched trade settlements atomically.
Insurance Fund — USDC pool absorbing liquidation deficits. Funded by 20% of fees + liquidation surplus.
Settlement — Reads final oracle price at game end. Distributes funds: winners get $1, losers get $0.
Oracle Registry — Stores latest oracle prices, approved data sources, and game metadata.
Related
- Oracle System — what the registry consumes
- Settlement — how the final price clears positions
- Offchain Orderbook — what the matching engine does