Most lending protocols treat liquidation as a switch. Your collateral ratio is fine, then it isn’t, and a bot closes part of your position and takes a bonus for doing so. Curve’s crvUSD, which launched in 2023, was built around a different idea: liquidation should be a range, not a threshold.

How LLAMMA works

The mechanism is called LLAMMA, short for Lending-Liquidating AMM Algorithm. Each borrower’s collateral is deposited into an AMM spread across a set of price bands. While the price sits above the bands, the collateral stays as collateral. When the price falls into them, the AMM gradually sells the collateral for crvUSD. If the price recovers, it buys the collateral back.

This is the point of the design. A sharp wick that would have triggered a full liquidation elsewhere can instead be absorbed and reversed, at least in principle. Hard liquidation still exists, but only if the price falls through every band the borrower chose.

The cost of the slope

The cost is not hidden, but it is easy to overlook. Converting collateral down and back up as the price oscillates is structurally the same loss an LP takes in a constant-product pool. Sell low, buy back high, repeat. A borrower whose collateral chops through their bands for weeks can end up with a position that is nominally “safe” and still noticeably worse off.

The conversion also depends on arbitrageurs. LLAMMA’s internal price lags the external market until someone trades against it, and that trade is where the borrower’s edge leaks out. The same dynamic is behind the arbitrage losses LPs suffer on Uniswap, applied here to a loan.

Where it earns its keep

In a fast V-shaped drop and recovery, soft liquidation can be much kinder than a bot taking a 5–10% bonus off your collateral. In a slow grind down, it does little except delay the inevitable and sell you out gradually. Borrowers who choose narrow bands get more capital efficiency and less room to be wrong.

The honest comparison

Soft liquidation does not remove risk. It swaps one risk, a sudden loss of position, for another, a slow erosion that is harder to see on a dashboard.

The design is clever precisely because it admits that liquidations are an AMM problem, not just a lending problem. Whether that trade is better depends on what the collateral does next, and no mechanism can know that.