System Architecture Complete 5-contract architecture and external integrations on Base Mainnet.
Brokex V1 — Core Smart Contract & Liquidity Topology USDC NVDAc Equity brkUSDC Debt / Interest Risk / Oracle
ACTORS BROKEX CORE CONTRACTS (BASE 8453) EXTERNAL VENUES Trader 1x–2x LONG Margin Approves Router only Liquidity Provider Supplies USDC Liquidity Holds brkUSDC (9 dec) Keeper Bot Orders, Liq & FIFO DIRECT / PAYMASTER BrokexRouter LIVE Single Entry & Order Escrow 0xCC3841...Fb1d26 Limit / SL / TP Margin Hold BrokexVault LIVE ERC-4626 Pool & FIFO Queue 0x7a463b...F89148 O(1) NAV · Offset = 3 LongManager LIVE Physical NVDAc Custody 0x9fa2C7...f7D24e Global RAY Debt Index (1e27) ShortManager DISABLED Isolated Short Collateral 0x9Dbc42...8148b2 shortEnabled = false in V1 BrokexRegistry Config, Roles & Mode A Oracle 0x9fF053...231F298 · Zero Funds Aerodrome CL Pool NVDAc / USDC (tickSpacing 10) 0x853F5f...C7ab9 Spot Swaps + 300s TWAP Chainlink 24/7 Feed NVDA Reference Price 0x48D973...af944 ≤ 2.00% Deviation Guard Aave V4 Spoke Idle USDC Yield Compartment Disabled (aaveSpoke = 0x0) USDC Deposit brkUSDC Margin Borrow / Repay + 50% Fee USDC NVDAc 2% Deviation Check executeOrder Aave 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).