Protocols / Lending
Curve LlamaLend
Isolated lending markets from Curve. Lenders deposit crvUSD into a market vault to earn interest. Borrowers post a collateral token and borrow crvUSD in a loan that is liquidated gradually across bands. Anyone can read each market's loans and health.
On-chainEVM6 contractsWebsite · Docs
get_protocol({ "protocol": "curve-llamalend" })Risks an agent should know
- Loans are liquidated when health drops below 0. Soft liquidation across bands can start before a hard liquidation, so check health after price moves.
- Each market has its own collateral token, oracle and N range. A bad collateral price can cause losses only in that market, but depositors in the market share that loss.
- Lender withdrawals depend on unborrowed crvUSD. When utilization is high, redeem may return less than maxRedeem suggests or be unavailable until borrowers repay.
- Market rates follow the monetary policy of each market and can change with utilization.
- Curve governance and market admins can change fees and some market parameters. Read the market's controller before depositing.
What an agent can do
| lend | Deposit crvUSD into a market vault to earn the lending APR approve crvUSD to the vault, then vault.deposit(amount) |
| unlend | Withdraw crvUSD from a market vault check maxRedeem(owner), then vault.redeem(shares) or vault.withdraw(assets); withdrawals depend on unborrowed liquidity |
| borrow | Open a loan with collateral and borrow crvUSD approve the collateral token to the controller, then controller.create_loan(collateralAmount, debtAmount, N); check health and max_borrowable first |
| borrow-more | Borrow more on an existing loan controller.borrow_more(0, debtAmount) or with extra collateral controller.borrow_more(collateralAmount, debtAmount) after approving collateral |
| repay | Repay crvUSD on a loan approve crvUSD to the controller, then controller.repay(amount); repaying the full debt closes the loan |
| check-position | Read a loan's health and debt controller.health(user, true), controller.debt(user), controller.user_state(user) |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| OneWayLendingFactory (Ethereum) factory | 0xeA6876DDE9e3467564acBeE1Ed5bac88783205E0 source | readmarket_count() readvaults(uint256) readcontrollers(uint256) readcollateral_tokens(uint256) readborrowed_tokens(uint256) readnames(uint256) | Full ABI |
| Vault (WETH-long market, example) vault · proxy | 0x5AE28c9197a4a6570216fC7e53E7e0221D7A0FEF source | writedeposit(uint256) writeredeem(uint256) writewithdraw(uint256) readmaxRedeem(address) readlend_apr() readborrow_apr() readtotalAssets() writeapprove(address,uint256) | Full ABI |
| Controller (WETH-long market, example) pool | 0xaade9230AA9161880E13a38C83400d3D1995267b source | writecreate_loan(uint256,uint256,uint256) writeadd_collateral(uint256) writeremove_collateral(uint256) writeborrow_more(uint256,uint256) writerepay(uint256) readhealth(address,bool) readdebt(address) readloan_exists(address) +3 more via get_protocol | Full ABI |
arbitrum · chain id 42161
optimism · chain id 10
fraxtal · chain id 252
Notes
Factory addresses come from the official curve-lending-js repo (src/constants/aliases.ts, ONE_WAY factory per chain). The Ethereum factory was checked on Sourcify. The Arbitrum and Optimism factories were checked on Sourcify, and the Fraxtal factory has code on chain but no verified ABI on Sourcify. The WETH-long market on Ethereum (vault 0x5AE2 and controller 0xaade) is an example read from the Ethereum factory at index 1 (vaults(1) and controllers(1)); the factory holds 48 markets on Ethereum, so enumerate with market_count, vaults and controllers for others. The controller ABI was checked against the live Sourcify-verified controller. The vault ABI comes from the curve-lending-js Vault ABI file; the vault is an EIP1167 minimal proxy, so its functions were not checked on Sourcify. Curve Lend on Sonic (factory 0x30d1859dad5a52ae03b6e259d1b48c4b12933993 in the same aliases file) is not listed here because DefiLlama does not list Sonic for this protocol.
Sources
- https://raw.githubusercontent.com/curvefi/curve-lending-js/master/src/constants/aliases.ts
- https://raw.githubusercontent.com/curvefi/curve-lending-js/master/src/constants/abis/OneWayLendingFactoryABI.json
- https://raw.githubusercontent.com/curvefi/curve-lending-js/master/src/constants/abis/Vault.json
- https://raw.githubusercontent.com/curvefi/curve-lending-js/master/src/constants/abis/Controller.json
- https://github.com/curvefi/curve-lending-js
- https://sourcify.dev/server/v2/contract/1/0xeA6876DDE9e3467564acBeE1Ed5bac88783205E0?fields=abi
- https://sourcify.dev/server/v2/contract/1/0xaade9230AA9161880E13a38C83400d3D1995267b?fields=abi
- https://sourcify.dev/server/v2/contract/42161/0xcaEC110C784c9DF37240a8Ce096D352A75922DeA?fields=abi
- https://sourcify.dev/server/v2/contract/10/0x5EA8f3D674C70b020586933A0a5b250734798BeF?fields=abi
- https://curve.finance/lend
- https://docs.curve.finance
- https://api.llama.fi/protocol/curve-llamalend
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.