Cedro Finance
  • ๐Ÿ‘‹Cedro Finance Documentation
  • โ“FAQs
  • ๐ŸŽ†Cedro as an Ecosystem
  • Features
    • ๐Ÿค˜Protocol Architecture
    • ๐Ÿฆ„CULT (Cedro Unified Liquidity Token)
    • ๐Ÿซ—Dynamic Liquidation
    • ๐Ÿ๏ธIsolated Market Pools
    • ๐ŸššComputation Offloading
    • ๐Ÿ‘จโ€๐Ÿš’Risk Mitigation Model
    • โœˆ๏ธOracles
  • How to use
    • ๐Ÿ’ฐDeposit
    • ๐Ÿ’ธBorrow
    • โ˜บ๏ธRepay
    • ๐Ÿ’ตWithdraw
Powered by GitBook
On this page
  • Dynamic Liquidation Incentives
  • Dynamic Closing Factor
  1. Features

Dynamic Liquidation

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.

Dynamic Liquidation Incentives

L.I.=max(0,min(L.I.baseโˆ—1LTVโˆ’1โˆ’e)L.I. = max (0, min(L.I._{base} * \frac{1}{LTV} - 1 -e) L.I.=max(0,min(L.I.baseโ€‹โˆ—LTV1โ€‹โˆ’1โˆ’e)

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.

Dynamic Closing Factor

c=min(c0โˆ—1โˆ’LTV1โˆ’LTVliq+LTVโˆ’LTVliq1โˆ’LTVliq,1)c = min(c_0 * \frac{1-LTV}{1-LTV_{liq}} + \frac{LTV-LTV_{liq}}{1-LTV_{liq}},1)c=min(c0โ€‹โˆ—1โˆ’LTVliqโ€‹1โˆ’LTVโ€‹+1โˆ’LTVliqโ€‹LTVโˆ’LTVliqโ€‹โ€‹,1)

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.

PreviousCULT (Cedro Unified Liquidity Token)NextIsolated Market Pools

Last updated 1 year ago

๐Ÿซ—