Most lending protocols treat liquidation as a binary event. Your health factor crosses 1, a bot repays part of your debt, and you hand over collateral plus a penalty. Curve’s crvUSD, which launched in May 2023, replaces that cliff with a slope, and the mechanism behind it, LLAMMA, is one of the more interesting pieces of DeFi design still not widely copied.

How the slope works

LLAMMA stands for Lending-Liquidating AMM Algorithm. Your collateral isn’t parked in a vault. It sits in an AMM, spread across a set of price bands that the borrower chooses when opening the loan. As the collateral price falls into your bands, the AMM sells collateral for crvUSD. If price recovers, arbitrageurs push it the other way and your position converts back into collateral.

So a drawdown doesn’t trigger a single forced sale. Your position de-risks gradually as price moves through the range. Only if price falls through all the bands does a conventional hard liquidation occur.

What it costs

The conversion isn’t free. Every rebalance is done by arbitrageurs who capture the gap between the AMM’s price and the external market, and that gap comes out of the borrower’s position. In a clean, one-way crash, soft liquidation can leave a borrower better off than a penalty-laden liquidation would. In a market that whips up and down across the same bands, it can grind a position down even though price ends up roughly where it started.

That is my main reservation. The design is better at surviving a violent drop than at handling chop, and crypto produces plenty of both. Borrowers who read “soft” as “safe” are misreading the product.

The oracle angle

LLAMMA still depends on external price feeds to set its internal pricing, so it doesn’t escape oracle risk. It just reduces how much a single bad tick can cost, because no one-block threshold decides everything.

Why it hasn’t spread

It is harder to explain, harder to integrate, and harder to model than a plain health factor. Aave and Compound-style systems are legible: one number, one threshold. LLAMMA asks users to pick a band count and think about path-dependent losses. Simplicity has historically won in DeFi lending, and I don’t see that changing soon.

Whether a stablecoin protocol could build its whole collateral base on this and survive a week like October 10 without LLAMMA’s arbitrage loop becoming the bottleneck is still not something anyone has proven.