What it offers
- transfer: Transfer crvUSD tokens
- approve: Approve crvUSD token spender
Notes
- LLAMMA provides soft liquidations - collateral gradually converted to crvUSD during price drops
- Soft liquidation = collateral is progressively swapped rather than instant liquidation
- Borrowing happens through Curve lending controllers (per-market contracts)
- Supported collateral includes ETH, wstETH, sfrxETH, tBTC, wBTC
- crvUSD has a peg keeper mechanism to maintain $1 peg via Curve pools
Its names in a program
On Ethereum,Crvusd is a namespace: its contracts need no import.
Deployments
ABI
CrvUSDERC20ABI
import CrvUSDERC20ABI from "./protocols/crvusd/CrvUSDERC20ABI.json"; Speaks for: crvusd.
balanceOf(address account) view returns (uint256)approve(address spender, uint256 amount) returns (bool)transfer(address to, uint256 amount) returns (bool)
Next steps
- Protocols: the other protocols, by what they do.
- Protocols and tokens: calling a contract by its namespace, or through its ABI.
- Glossary: the words these pages use, in plain terms.
