DeFi Security11 min read
DeFi liquidation risk: health factors, oracle gaps and bad debt
How a lending market decides when a position can be liquidated, how much a liquidator repays and seizes, and when a price gap leaves bad debt. Worked numbers on a model market, compared with Aave v3 and Compound III.
