Solvency and Stress Tests
330,000+ state-transition simulations, 100k Aave ops, and rounding checks.
| Suite | Scope | Key Verified Result |
|---|---|---|
BrokexMassiveSimulationTest | 56 campaigns × 3,000 ops + 6 extreme scenarios | invariantViolations == 0, maxNavGap == 0 |
BrokexAccountingStressTest | 20 campaigns × 4,000 steps + 10k ERC-4626 cycles | O(1) totalAssets() < 25k gas at 32 assets |
BrokexFinalAccountingValidationTest | 100k Aave ops + 6 interest schedules | maxHubDust <= 2 wei, finalSmGap == 0 |