Skip to content

Soft & Hard Liquidations

Liquidations on Curve Lending and crvUSD work differently to other DeFi loans. There are Soft-liquidations (including de-liquidations) and Hard-liquidations. This page defines them and shows examples.

Soft-Liquidation

When the position enters Soft-liquidation it's a warning. The system will try to protect user loans by converting the original collateral to the borrowed asset as prices decrease, and back to the original collateral as prices increase.

Collateral Loss Collateral Loss

Hard Liquidation does not happen at the bottom of the soft-liquidation range.

Hard-liquidation can only occur when the health goes below 0. If the health is negative anyone can pay off the debt and claim the collateral backing the loan, this should always be profitable, but in rare circumstances it may not be, if this happens it's called bad debt.

In Soft-liquidation and de-liquidation, collateral will slowly be lost to fees from swapping back and forth as prices move higher and lower, this is how health deteriorates over time. Health can deteriorate very quickly when volatility is high. More information on health can be found here.

The soft-liquidation applet also simulates how Collateral is converted through the soft-liquidation range.


Hard-Liquidation

Soft-liquidation turns into Hard-liquidation when health is 0%. In Hard-liquidation the borrower keeps their borrowed assets (normally crvUSD) but loses their collateral.

Hard-liquidation does not trigger at the bottom of the Soft-liquidation range, it only relies on health. A user can have all their collateral fully converted to their borrowed asset and be below the Soft-liquidation range if they manage their health carefully.

Health can be increased in soft-liquidation by repaying some or all debt.


Hard-Liquidation Example

Hard-liquidation can only occur when the health of a loan is 0% or below. If the health is 0% or below anyone can pay off the debt and claim the collateral backing the loan, this should always be profitable, but in rare circumstances it may not be, if this happens it's called bad debt.

The example below shows a loan in the CRV/crvUSD lending market which was hard-liquidated. The chart is interactive, by hovering over prices, you can see how the health of the loan decreases over time. See that hard-liquidation only relies on health. The bottom of the soft-liquidation range is not where hard-liquidation happens.

Hard-liquidation - Borrowing crvUSD using CRV

It is always better to self-liquidate a loan before a loan is hard-liquidated. This is because the health calculation values your collateral lower than its actual worth. In this example, the borrower would have gotten back 11,107 crvUSD more if they had self-liquidated their loan instead of letting it be hard-liquidated.


Managing Health & Self-Liquidation Example

The below example shows how to manage health and how self-liquidation works, this shows a loan in the WETH/crvUSD lending market. When the user got into soft-liquidation they decided to repay around 10% of their debt, this increased their health from approx. 3% to 13%, but kept their soft-liquidation range the same. They then stayed in soft-liquidation for a long time, so they self-liquidated. If some debt is repaid while in soft-liquidation the range will stay the same but health will increase, if debt is repaid outside the soft-liquidation range, the range will move lower.

Self-liquidating here was a good idea, this is because they already had 38,857 crvUSD as collateral (from swapped WETH in soft-liquidation), and their debt was 98,299 crvUSD, they only had to send 59,442 crvUSD and they received back their 24.3371 WETH. If they chose to repay they would have had to repay all 98,299 crvUSD of debt, and received all collateral back (38,857 crvUSD and 24.3371 WETH) in return.

Self-liquidation - Borrowing crvUSD using WETH

Soft-liquidation Applet

This applet simulates how collateral is converted through a soft-liquidation range.

Soft-liquidation Collateral Conversion

Bottom of SL Range: Top of SL Range: