How Does Curve Llamalend Work?

Lending|Risk C+|7 mechanisms|5 interactions

Curve Llamalend is Curve Finance's lending platform that lets you borrow the crvUSD stablecoin against crypto collateral. Its unique feature is soft-liquidation: instead of a sudden liquidation if your collateral drops in value, the system gradually converts your collateral to crvUSD and back as prices move. With $77M TVL across multiple isolated markets, it offers a gentler lending experience — but the soft-liquidation mechanism is relatively new and unproven in extreme market crashes.

TVL

$72M

Sector

Lending

Risk Grade

C+

Value Grade

B

Core Mechanisms

Lending/Isolated-Markets

Permissionless isolated lending markets for borrowing crvUSD against various collateral types

Each lending market is isolated with independent risk parameters. Markets can be created permissionlessly, allowing any collateral type. Isolation prevents cross-market contagion but permissionless creation introduces quality variance.

Liquidation/LLAMMA

Novel

Lending-Liquidating AMM Algorithm (LLAMMA) providing continuous soft-liquidation for borrowers

LLAMMA continuously converts collateral to crvUSD as price falls and back as price rises, creating soft-liquidation bands. This novel mechanism avoids the cliff-edge liquidation of traditional lending but introduces complexity and potential value leakage through repeated conversions.

Stablecoin/CDP-crvUSD

crvUSD minted against volatile collateral in lending markets

Borrowers mint crvUSD against collateral like ETH, wBTC, stETH, and other assets. Each market has independent debt ceilings and risk parameters set by governance.

Oracle/Internal-EMA

Exponential Moving Average oracle from Curve pool trading data for LLAMMA price feeds

LLAMMA uses Curve's internal EMA oracle for price feeds. The EMA smooths price data but can lag during flash crashes, potentially delaying soft-liquidation initiation.

Yield/Lending-Supply

Lending vaults where users supply crvUSD to earn interest from borrowers

Lenders deposit crvUSD into specific markets and earn variable interest rates determined by utilization. Each market has its own interest rate curve.

AMM/Factory

Permissionless lending market factory for deploying new collateral markets

Anyone can create new lending markets via the factory. This enables rapid collateral expansion but means poorly researched collateral types can be listed.

Infrastructure/Vyper

Smart contracts written in Vyper, inheriting language-level risk from Curve ecosystem

All Llamalend contracts are written in Vyper, sharing the language-level dependency risk with broader Curve Finance. The July 2023 Vyper compiler exploit demonstrated this risk class.

How the Pieces Interact

LLAMMA soft-liquidationProlonged price declineHigh

During sustained multi-week price drops, LLAMMA continuously converts collateral to crvUSD. Borrowers may find their collateral fully converted with extra slippage from repeated conversions, effectively creating a hard liquidation with worse outcome than a single liquidation event.

Permissionless market creationBad debt accumulationHigh

Permissionless market creation with user-configured oracles enables oracle manipulation attacks. On March 2, 2026, an attacker used a 0M flash loan to inflate the sDOLA exchange rate via a donation attack, forcing 27 borrowers into liquidation and extracting 40K. The vulnerability was in the oracle configuration, not the smart contract code itself.

Internal EMA oracleLLAMMA liquidation timingMedium

Internal EMA oracle can diverge from spot prices during rapid moves, but the March 2026 sDOLA exploit showed that external collateral oracles in permissionless markets are the more acute vulnerability — donation attacks can manipulate collateral valuation to force mass liquidations.

crvUSD debt ceilingMulti-market exposureMedium

Governance-set debt ceilings across multiple markets mean total crvUSD supply can expand rapidly. If multiple markets experience simultaneous bad debt, aggregate losses could pressure the crvUSD peg.

Vyper compiler dependencyAll Llamalend contractsMedium

A new Vyper compiler vulnerability would affect all Llamalend markets simultaneously. The July 2023 precedent demonstrated this systemic language-level risk.

What Could Go Wrong

  1. LLAMMA soft-liquidation mechanism is novel and has limited stress-testing through severe, prolonged multi-week price declines
  2. Permissionless market creation means anyone can deploy lending markets with arbitrary collateral — the March 2026 sDOLA donation attack (40K loss) confirmed this vector through oracle manipulation of a user-created market
  3. Vyper smart contract language dependency inherits systemic risk from Curve's broader codebase (2023 compiler exploit precedent)

LLAMMA Failure During Prolonged Crash

Moderate

Trigger: A sustained 40%+ multi-week price decline in ETH or BTC causes LLAMMA soft-liquidation bands to fully convert collateral across major markets, creating cascading bad debt and crvUSD depeg pressure

  1. 1.ETH/BTC enters sustained 40%+ decline over 2-3 weeks, pushing LLAMMA bands through full conversion for majority of borrowers Most borrowers in ETH/BTC markets have collateral fully converted to crvUSD; no collateral recovery possible
  2. 2.Borrowers who expected soft-liquidation to be recoverable discover it behaved like a hard liquidation with extra slippage from repeated conversions User confidence in LLAMMA mechanism collapses; new borrowing dries up
  3. 3.Undercollateralized positions create bad debt in multiple markets simultaneously crvUSD lenders face losses as bad debt absorbs supplied capital; crvUSD depeg pressure builds
  4. 4.crvUSD peg breaks below $0.98 as market loses confidence in Llamalend collateral quality Curve governance must intervene with emergency measures; broader Curve ecosystem credibility is damaged

Risk Profile at a Glance

Mechanism Novelty6/15
Interaction Severity6/20
Oracle Surface4/10
Documentation Gaps2/10
Track Record5/15
Scale Exposure7/10
Regulatory Risk2/10
Vitality Risk5/10
C+

Overall: C+ (37/100)

Lower score = safer

More on Curve Llamalend

Related Lending Explainers