Brokex Docs
Docs/PROTOCOL ARCHITECTURE/System Architecture

System Architecture

Complete 5-contract architecture and external integrations on Base Mainnet.

Brokex V1 — Core Smart Contract & Liquidity Topology
USDCNVDAc EquitybrkUSDCDebt / InterestRisk / Oracle
ACTORSBROKEX CORE CONTRACTS (BASE 8453)EXTERNAL VENUESTrader1x–2x LONG MarginApproves Router onlyLiquidity ProviderSupplies USDC LiquidityHolds brkUSDC (9 dec)Keeper BotOrders, Liq & FIFODIRECT / PAYMASTERBrokexRouterLIVESingle Entry & Order Escrow0xCC3841...Fb1d26Limit / SL / TP Margin HoldBrokexVaultLIVEERC-4626 Pool & FIFO Queue0x7a463b...F89148O(1) NAV · Offset = 3LongManagerLIVEPhysical NVDAc Custody0x9fa2C7...f7D24eGlobal RAY Debt Index (1e27)ShortManagerDISABLEDIsolated Short Collateral0x9Dbc42...8148b2shortEnabled = false in V1BrokexRegistryConfig, Roles & Mode A Oracle0x9fF053...231F298 · Zero FundsAerodrome CL PoolNVDAc / USDC (tickSpacing 10)0x853F5f...C7ab9Spot Swaps + 300s TWAPChainlink 24/7 FeedNVDA Reference Price0x48D973...af944≤ 2.00% Deviation GuardAave V4 SpokeIdle USDC Yield CompartmentDisabled (aaveSpoke = 0x0)USDCDepositbrkUSDCMarginBorrow / Repay + 50% FeeUSDCNVDAc2% Deviation CheckexecuteOrderAave V4 Rebalancing (Disabled in V1)

Brokex V1 separates configuration (BrokexRegistry), user entry & order escrow (BrokexRouter), LP capital & FIFO queue (BrokexVault), and position custody (LongManager, ShortManager).