Protocol Solvency
How bad debt, BRX-01 protections, and LP loss socialization work.
- BRX-01 Fix (
ea11b83): Voluntary closes (!isLiquidation && !isForced) cannot realizebadDebt > 0(they revertSlippageExceeded()). - Liquidation Bad Debt: Only TWAP-bounded liquidations or
forceClosecan realizebadDebt > 0, which is absorbed byBrokexVaultLPs via reducedtotalAssets().