π«Dynamic Liquidation
Last updated
Last updated
The liquidation mechanism around current lending and borrowing solutions is unfair towards the borrowers. This is mostly due to the fixed closing factor and liquidation incentives. For example, in Aave, when a debt position becomes unhealthy, up to 50% of their collateral is allowed to be liquidated, without consideration of amount required to take the position back to a healthy posi- tion. If a userβs position is unhealthy by an amount of $10 and the collateral is $5000, then $2500 of the userβs collateral is forced to be liquidated. This, com- bined with a fixed liquidation bonus, is what causes a toxic liquidation spiral as demonstrated by Chaudhary et. al. This increases the amount of bad debt incurred by the protocol as we witnessed with Avi Eisenbergβs attack on Aave on November 2022. To mitigate this and make the model fair to borrowers, we will improve upon Aaveβs model and develop a dynamic liquidation system.
Where L.I.base is the maximum discount provided for the liquidation. The discount is L.I.base under normal circumstances, whenever LTV approaches 1, the discount starts decreasing to avoid liquidation spiral.
LTVliq is the liquidation threshold of an asset and c0 is the minimum closing factor which is a protocol set parameter. Closing factor is c0 when LTV = LTVliq and keeps increasing until LTV = 1, where closing factor is also 1. This model prevents a toxic liquidation spiral, and hence reduces the probability of Cedro incurring a huge amount of bad debt.