Nearly all DeFi lending today is overcollateralized, where protocols rely on "hard liquidations" to remain solvent when the value of the collateral declines.
2/
While the design protects protocols from bad debt, it forces borrowers to realize losses as collateral cannot be recovered post-liquidation, even if the value recovers.
Curve set out to improve this, derisking the process for the protocol and improving borrower UX.
3/
Insert LLAMMA, the lending-liquidating AMM algorithm.
By replacing a traditional lending pool with an AMM, Curve introduces "soft liquidation" that 𝐠𝐫𝐚𝐝𝐮𝐚𝐥𝐥𝐲 liquidates collateral over a 𝐩𝐫𝐢𝐜𝐞 𝐫𝐚𝐧𝐠𝐞 instead of a sudden liquidation at a specific price.
4/
To open a loan, borrowers deposit collateral into a LLAMMA and receive debt in Curve’s stablecoin, crvUSD.
The collateral is spread across a user-specific set of “bands," creating the “liquidation range.”
The # of bands controls the spread of collateral across the range.
5/
Loan A has fewer bands, so it has a more dense range that begins at a lower ETH price (1675) than Loan B (1750).
Also, the lower bound of Loan A’s range (1575) is at a higher ETH price than that of Loan B (1550), meaning it will reach full soft liquidation before Loan B.
6/
The price offered by a LLAMMA pool does not strictly rely on the balance of the assets in the pool. An oracle price influences the AMM price.
For example, if the oracle price increases/decreases by 1%, then the LLAMMA price will increase/decrease by 𝐚𝐭 𝐥𝐞𝐚𝐬𝐭 1%.
7/
The design creates arbitrage opportunities to incentivize third parties to interact with the pool, which in turn operates the soft liquidation process.
The use of an oracle is required, and the protocol currently leverages a Chainlink-based solution... for now 😉
8/
To remain solvent during collateral price declines, LLAMMA pools need to soft liquidate collateral for crvUSD.
The LLAMMA price decreases more rapidly than the oracle price, so Curve’s lending pool sells collateral for less than the current market price.
9/
Arbitrageurs can buy collateral from the LLAMMA with crvUSD and sell it on the market, capturing the spread between the market price and the LLAMMA price.
The arb transaction converts the collateral into crvUSD, soft liquidating borrowers with collateral in the active band.
10/
When the price of the collateral later increases, LLAMMA deliquidates borrowers by incentivizing arbitrageurs to sell collateral back into the pool.
As the oracle price increases, the LLAMMA price increases at a faster rate, so LLAMMA buys collateral above the market price.
11/
Arbitrageurs now buy collateral from the market and sell it to the LLAMMA pool, capturing the spread between the LLAMMA price and the market price.
The arb transaction converts the LLAMMA’s crvUSD back into collateral, returning capital to borrowers.
12/
The animation below walks through the lifecycle of the soft liquidation process for a crvUSD loan against ETH collateral.
13/
While arbitrageurs play a critical role in maintaining the health of the protocol, each transaction erodes borrower collateral.
In other words, borrowers must pay a small price for the potential ability to recover their collateral after being soft liquidated.
Blockworks Research subscribers have access to the full report that explains how LLAMMA functions in significantly more detail.
A stablecoin is only as useful as its ability to remain pegged to its target price. Curve uses “stability pools” and “peg keepers” to maintain the crvUSD peg.
crvUSD is backed by the assets in LLAMMA pools, but it's pegged to $1.00 by a basket of fiat stablecoins.
1/ Liquid Staking Tokens (LSTs) have emerged as a powerful instrument within DeFi, allowing users to access the yields associated with staking while simultaneously leveraging the liquidity of their assets.
Since Shapella, LSTs have seen 17% growth, with Frax leading the pack.
2/ With the increase in trust and growth of LST supply, there is also an increase in the number of use cases of LSTs within DeFi.
We have identified five major use cases:
- Leverage farming
- Liquidity providing
- LST baskets
- Stablecoin collateral
- Interest rate derivatives
From both a trader and token holder perspective, the future for @Kwenta_io looks very promising
1. Fee switch on! ~$300k revenue the first 2 months. 2. Advanced order types + cross margin. 3. More assets and increased OI caps. 4. Juicy trading rewards.
Kwenta is a frontend for @synthetix_io Perps V2 on Optimism. Until recently, all fees and trader PnL were delivered back to SNX stakers, driving no value to the KWENTA token or protocol.
SIP-2002, approved in Feb, created a fee rebate mechanism for Perps V2 frontends.
2/
As of May 6th, Kwenta now receives a share of all fees it generates.
The retroactive payments totaled 78,000 and 55,000 SNX for March and April; at current market prices, this is worth almost $300,000.
It seems like the market has an appetite for MEV protection.
MEV Blocker, MEV Protect, and MEV Boost are all MEV protection solutions that have been released in the past month.
All these solutions work a little differently, but we’ll focus on MEV Blocker 🧵
1/ MEV Blocker was launched by Cowswap in collaboration with Beaver Build and Agnostic Relayer.
It works by mixing in fake transactions with actual user transactions, so searchers don’t know which transaction they should sandwich, and thus, nobody gets sandwiched.
2/ Yesterday, MEV Blocker protected ~5% of all transactions on Ethereum.
There hasn’t been a huge amount of refunds, in fact there has only been 13 refunds to date with a total of 0.775 ETH refunded according to this dashboard. dune.com/beetle/mev-blo…
1/ Interchain DeFi growth has been slow compared to other ecosystems.
Historically, ATOM staking rewards have been over 15% APR, and OSMO over 20% APR, setting a high baseline yield that DeFi protocols must compete with to incentivize users to provide liquidity.
2/ This is where liquid staking comes in.
The ability to secure the network while also partaking in DeFi gives PoS assets money-like properties and unlocks liquidity for a healthier DeFi ecosystem.