Protocols / CDP
Liquity V1 (LUSD, Stability Pool)
Immutable borrowing protocol on Ethereum. Lock ETH as trove collateral, borrow LUSD with no interest (a one-time borrowing fee applies), and repay to free the collateral. Stability Pool depositors earn liquidated ETH and LQTY rewards.
On-chainEVM6 contractsWebsite · Docs
get_protocol({ "protocol": "liquity-v1" })Risks an agent should know
- The contracts are immutable. No admin can pause them or fix a bug after deployment.
- A trove is liquidated when its collateral ratio falls below 110 percent. Keep a margin and watch the ETH price.
- While the whole system is below 150 percent collateral, recovery mode blocks some actions and changes the withdrawal rule.
- Any LUSD holder can redeem against your trove at face value. A redemption closes or shrinks your trove and you receive ETH at the oracle price.
- Each trove carries 200 LUSD of gas compensation as part of its debt, and closing the trove removes it. Minimum net debt is 1800 LUSD.
- The ETH price comes from an oracle. Oracle problems affect opening, adjusting, and liquidating troves.
- Stability Pool depositors absorb liquidation losses in LUSD and receive the liquidated ETH in return.
- Withdrawing LUSD from the Stability Pool with a non-zero amount reverts while an under-collateralized trove is waiting for liquidation.
What an agent can do
| open-trove | Lock ETH and borrow LUSD send ETH as value to BorrowerOperations.openTrove(maxFee, LUSDAmount, upperHint, lowerHint); LUSDAmount must be at least 1800 LUSD and the 200 LUSD gas compensation is added to the debt on top; no approval needed |
| repay | Repay LUSD debt BorrowerOperations.repayLUSD(amount, upperHint, lowerHint); the caller needs the LUSD in its wallet; no approval needed |
| adjust-collateral | Add or remove ETH collateral addColl with ETH value to add, or withdrawColl(amount, upperHint, lowerHint) to remove; the trove must stay above 110 percent |
| close-trove | Repay everything and get the ETH back hold LUSD for the debt minus 200 LUSD, then call BorrowerOperations.closeTrove(); not possible in recovery mode |
| stability-deposit | Earn ETH from liquidations StabilityPool.provideToSP(amount, zeroAddress) after holding LUSD; no approval needed |
| claim-stability-gains | Claim ETH and LQTY gains from the Stability Pool StabilityPool.withdrawFromSP(0) for a depositor |
| stake-lqty | Stake LQTY to earn fee income LQTYStaking.stake(amount); LQTYStaking.unstake(0) claims gains |
| redeem-lusd | Swap LUSD for ETH at face value get hints from HintHelpers.getRedemptionHints(amount, price, maxIterations), then TroveManager.redeemCollateral(...) |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| BorrowerOperations (trove entry point) router | 0x24179CD81c9e782A4096035f7eC97fB8B783e007 source | writeopenTrove(uint256,uint256,address,address) writeadjustTrove(uint256,uint256,uint256,bool,address,address) writeaddColl(address,address) writewithdrawColl(uint256,address,address) writewithdrawLUSD(uint256,uint256,address,address) writerepayLUSD(uint256,address,address) writecloseTrove() writeclaimCollateral() | Full ABI |
| TroveManager other | 0xA39739EF8b0231DbFA0DcdA07d7e29faAbCf4bb2 source | writeliquidate(address) writeredeemCollateral(uint256,address,address,address,uint256,uint256,uint256) readgetEntireDebtAndColl(address) readgetTroveStatus(address) readgetCurrentICR(address,uint256) readgetTroveOwnersCount() | Full ABI |
| StabilityPool pool | 0x66017D22b0f8556afDd19FC67041899Eb65a21bb source | writeprovideToSP(uint256,address) writewithdrawFromSP(uint256) writewithdrawETHGainToTrove(address,address) readgetDepositorETHGain(address) readgetDepositorLQTYGain(address) readgetCompoundedLUSDDeposit(address) readgetTotalLUSDDeposits() | Full ABI |
| LUSD token token | 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0 source | readbalanceOf(address) writetransfer(address,uint256) writeapprove(address,uint256) | Full ABI |
| LQTYStaking staking | 0x4f9Fbb3f1E99B56e0Fe2892e623Ed36A76Fc605d source | writestake(uint256) writeunstake(uint256) readgetPendingETHGain(address) readgetPendingLUSDGain(address) readstakes(address) | Full ABI |
| HintHelpers other | 0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 source | readgetApproxHint(uint256,uint256,uint256) readgetRedemptionHints(uint256,uint256,uint256) | Full ABI |
Notes
Ethereum mainnet only. Addresses come from the official deployment file in the liquity/dev repo (packages/lib-ethers/deployments/default/mainnet.json). The file also lists other contracts that are not listed here (ActivePool, DefaultPool, SortedTroves, PriceFeed, CollSurplusPool, CommunityIssuance, LockupContractFactory, Unipool, the LQTY token, MultiTroveGetter). Verified ABIs for the contracts above came from Sourcify (chain 1). Liquity V2 is a separate protocol with its own registry entry.
Sources
- https://raw.githubusercontent.com/liquity/dev/main/packages/lib-ethers/deployments/default/mainnet.json
- https://raw.githubusercontent.com/liquity/dev/main/README.md
- https://sourcify.dev/server/v2/contract/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007?fields=abi
- https://sourcify.dev/server/v2/contract/1/0xA39739EF8b0231DbFA0DcdA07d7e29faAbCf4bb2?fields=abi
- https://sourcify.dev/server/v2/contract/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb?fields=sources
- https://sourcify.dev/server/v2/contract/1/0x5f98805A4E8be255a32880FDeC7F6728C6568bA0?fields=abi
- https://sourcify.dev/server/v2/contract/1/0x4f9Fbb3f1E99B56e0Fe2892e623Ed36A76Fc605d?fields=abi
- https://sourcify.dev/server/v2/contract/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0?fields=abi
- https://sourcify.dev/server/v2/contract/1/0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D?fields=sources
- https://api.llama.fi/protocol/liquity-v1
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.