Brokex Docs
Docs/OVERVIEW/Why Brokex?

Why Brokex?

How Brokex differs from synthetic perpetual exchanges and why spot-backed margin matters.

Spot-Backed Margin vs. Synthetic Perpetuals

Most decentralized equity derivatives use synthetic perpetual contracts where traders bet against an LP pool or vAMM without ever touching the underlying asset. Brokex takes a fundamentally different approach:

DimensionSynthetic PerpetualsBrokex V1 (Spot-Backed)
Underlying BackingNone (cash-settled virtual exposure)Real tokenized shares (NVDAc) held in LongManager
Price DiscoveryFunding rates + external oracleReal Aerodrome CL pool swaps + 300s TWAP
LP Risk ProfileCounterparty to trader PnLOvercollateralized lender (60% max open LTV, 80% liq LTV)
Yield SourceFunding & trader lossesReal borrowing interest (2%–40% APR) + 50% of swap fees

Key Design Principles

  1. O(1) Provision-Free Vault Accounting: BrokexVault.totalAssets() computes NAV in constant time without iterating over active positions.
  2. Strict FIFO Liquidity Protection: Pending LP withdrawals in the FIFO queue are ring-fenced from new long borrows and short backstops.
  3. 24/7 Resilience: Because US equity markets close nights and weekends, OracleLib uses Aerodrome TWAP as the authoritative risk price and gracefully ignores stale Chainlink rounds (> 86400s) so liquidations and closes never freeze.