Hey everyone! Welcome to our monthly newsletter where we share updates regarding Liquity and our ecosystem on a regular cadence.
If you’d like these sent directly to your inbox, sign up for the mailing list on our website.
Development Updates
Fixing the out-of-gas errors for borrower operations
After the activation of the redemption mechanism, borrowers trying to open or adjust existing Troves have been facing frequent out-of-gas errors.
It’s a complex issue, so we will describe it in more detail in the future, but here’s the TLDR: Liquity’s smart contract stores Troves in a linked list in order of least collateralized to most collateralized, and when you adjust your Trove it has to figure out where to re-insert it in the list.
The out-of-gas issue arose because we had clusters building up in various places making it difficult for frontends to estimate gas properly. This was because the initial version of the frontend Launch Kit allowed users to specify their collateral and debt (including the Liquidation Reserve and the Borrowing Fee). Paired with a human penchant for “nice” or “round” numbers (e.g. a collateral of 10 ETH and a debt of 10,000 LUSD), this has led to clusters of Troves with the exact same collateral ratio as shown here:
Recently we pushed a frontend fix to the Launch Kit to address this. From now on, when creating/adjusting a Trove, users will enter the amount they want to borrow, rather than the total debt they need to pay back. This creates variance in the total debt, and therefore avoids a Trove from being inserted into a big cluster. We’re currently looking into a longer term solution and we’ll provide more information when it’s ready.
Note that this issue is not “exploitable” by an attacker, since users are free to select a collateral ratio in a lesser “dense” region of the sorted list. It’s also not an issue with the core Liquity protocol, but an issue in gas estimation for transactions.
Migration tool
Bingen has created a migration tool that makes it easy to migrate LQTY balances to a new deployment of Liquity. The migration tool takes a snapshot of all circulating, locked, and staked LQTY tokens and allows to verifiably and seamlessly mirror the balances in the newly deployed system.
Having the migration tool ready enables us to move quickly if immediate action becomes necessary, e.g. in an emergency situation due to a critical bug. Furthermore, we could use it to migrate to a new version as part of a regular update that may become relevant in the future. The PR for the migration tool can be found here and is still subject to code review.
Subgraph
The team has been working to complete our subgraph implementation, adding missing features like support for the frontend tags. The subgraph gives frontends an easy way to access user data and basic stats, including the change history for Troves, Stability deposits and stakes. It is complemented by a middleware library lib-subgraph serving as an interface between frontend and the subgraph itself.
The latest version of our subgraph can be found here, we have also deployed it to The Graph. We expect releasing the final version of the subgraph soon.
Integration Updates
- Zerion integrates Liquity.
- Nexus Mutual adds Liquity support.
- MXC exchange lists LQTY.
- Zapper adds Liquity position tracking.
- Dune Analytics adds Liquity support.
- LUSD / 3Pool added to Curve UI (eligible for CRV rewards) and temporarily earning LQTY rewards.
- Debank adds Liquity position / protocol tracking.
- Wasabix launches waLUSD strategy.
- Pickle Finance launched a UNI ETH / LUSD Jar.
- Poloniex exchange lists LUSD and LQTY.
- Yearn launched a crvLUSD Vault.
Content Updates
- Understanding Liquity’s Redemption Mechanism: In this blog post, I cover LUSD redemptions, how they work, and how they can affect your Trove.
- Understanding Liquity’s Stability Pool: In this blog post, I cover the basics of the Stability Pool, how it works, and some things to keep in mind when depositing.
- Price Oracles in Liquity: In this blog post, Rick (Co-founder and Lead Engineer) covers Liquity’s dual-oracle design, how it works, and how Liquity manages two oracles without governance.
- Liquity — Weekly Wrap Up #3: The first edition of our Weekly Wrap Up series to be posted on Medium. It covers the week of 4/26–5/2.
- DeFi Gamma Leaks ft. Gauntlet and Liquity: Tarun Chitra, Alex Hevans, and Guille Angeris sat down with Rick (Co-founder and Lead Engineer) and Robert (Founder and CEO) to talk about Liquity’s mechanism design, our launch, and future directions.
- Liquity Founder and CEO, Robert Lauko, presented at the Odaily online conference on April 27. You can watch a replay of his talk here — skip to 26:34 of the video.
- Tellor Community Call — 4/27/2021 w/ Liquity: Robert, Rick, and I joined the Tellor Community Call to discuss Liquity’s Tellor integration and answer some community-sourced questions.
- How to Borrow LUSD using Liquity + How to Earn Rewards using Liquity: Derrick, Liquity community member and moderator, wrote two beginner friendly posts describing how to borrow LUSD and how to earn rewards using Liquity.
- Interest-Free Loans: Paul Veradittakit, Partner at Panter Capital, wrote a newsletter unpacking how Liquity can offer such low collateralization ratios and a 0% interest rate without sacrificing the protocol’s systemic resilience to shocks.
- Liquity: A Better Alternative to MakerDAO for Collateralized Loans: Redditor, /u/Connortbh, wrote an excellent post detailing how Liquity works and compares the system to MakerDAO.
- Liquity Network Attracts Over $2.4B in Assets in Two Weeks: The Defiant penned a newsletter piece describing Liquity’s growth since launch and how it works under the hood.
Resources: Website | Twitter | Discord | Github | Reddit | Liquity 中文社區