Smart Contract Overview
Summary of the five core Solidity contracts in brokex-v1/src/.
| Contract | File | Role | V1 Status |
|---|---|---|---|
BrokexRegistry | src/BrokexRegistry.sol | Config, roles, Unified Mode A oracle | Live |
BrokexRouter | src/BrokexRouter.sol | Single user entry point & order escrow | Live |
BrokexVault | src/BrokexVault.sol | ERC-4626 LP vault (brkUSDC) & FIFO queue | Live |
LongManager | src/LongManager.sol | Long positions, NVDAc custody, debt index | Live |
ShortManager | src/ShortManager.sol | Short positions & isolated collateral | Disabled |