Introduction Last updated: 2024-02-05

A Brief History of Liquidity

For most of the history of cryptocurrencies, assets were only tradable through a centralized broker or directly peer-to-peer. Decentralized exchanges emerged in the late 2010s but were inefficient, centralized, and had poor liquidity. In late 2018, Uniswap V1, the first true Automated Market Maker(AMM), premiered.

Liquidity pools

Uniswap introduced decentralized liquidity pools. "Liquidity providers" or "LPs", could deposit their assets into two-sided liquidity pools to provide liquidity for ERC-20/ETH pairs and earn trading fees. This process was later expanded to ERC-20/ERC-20 pairs on Uniswap V2. Uniswap's architecture kept swaps fast and efficient for traders.

Note

Since then Uniswap's AMM model has become the dominant decentralized exchange model. Numerous forks and variations of Uniswap V2 have also emerged since then.

Incentivizing liquidity providers

Another process that emerged was protocols incentivizing liquidity providers with rewards to increase liquidity in pools. This is known by many names, including yield farming, liquidity mining, or mercenary capital. Liquidity mining was extremely profitable and helped grow DeFi exponentially in 2020.

Conclusion

However, a long-term problem emerged during this growth period. Uniswap was not as efficient as it could be. It lacked capital efficiency. Liquidity could only be provided full-range, meaning that liquidity providers (LPs) had to provide liquidity far outside the ranges of the current price of the assets. All LPs chose the same position. The only variable was how much they put in.

Concentrated Liquidity

A solution to the full-range problem came in March 2021. Uniswap released Uniswap V3. One of the many new features was concentrated liquidity. Uniswap V3 allowed users to choose the range (via ticks) at which they wanted to provide liquidity.

Effects on the market

This relatively simple change had dramatic effects on the market. Liquidity pools became much more efficient. Fees could only be earned by those who provided liquidity within the proper ranges. Although LPs could still offer full-range positions, they became less competitive. The liquidity concentration and range began to adjust in real-time to match the needed liquidity for any pool. A dynamic new market emerged in the world of liquidity.

Algebra Finance

In addition to Uniswap V3, a new generation of decentralized exchanges and concentrated liquidity models were built. Algebra Finance became a major alternative to Uniswap V3 with innovative features like dynamic fees.

Note

Algebra's growing number of supported exchanges used different token models like Solidly and a more blockchain-native approach creating deeper liquidity for their users.

BUSL License expired

Uniswap V3's BUSL License expired on April 1st, 2023. After it expired, established Uniswap V2 forks like PancakeSwap and SushiSwap immediately adopted concentrated liquidity Other non-fork exchanges like Balancer and Kyberswap also embraced concentrated liquidity approaches. Although there were doubts about the profitability and sustainability of concentrated liquidity, Decentralized Exchange Aggregators proved decisive in routing trades to them. Concentrated liquidity now dominates the decentralized trading space.

New Challenges

Concentrated liquidity was a huge change for the liquidity provider, and not all of the changes were positive. Concentrated liquidity pools introduced a new risk to LPs providing liquidity called impermanent loss. Mitigating impermanent loss is challenging, and providing liquidity became significantly more complex and risky for the average user. Analytics, or understanding the performance and profitability of LP positions, were nearly non-existent when concentrated liquidity was deployed. Nor were there standardized measurements for things like impermanent loss. Incentives, famously declared dead by a slew of DeFi thinkers, didn't die, but became a more complex and calculated endeavor. Farmers could be rewarded for more than how much funding they put in but also for how they provided funds. Another issue that popped up was protocols being able to manage their own liquidity pools and their treasuries. If a protocol were to deploy on Uniswap V3 and not manage the liquidity correctly, it could prove disastrous for their health. There was immediately a need to solve these issues.

Liquidity Managers

Concentrated Liquidity Managers (CLMs) or Concentrated Liquidity Market Makers (CLMMs) are protocols that are designed to deal with the new challenges of concentrated liquidity. Different liquidity managers have different priorities. Some focus on one aspect of concentrated liquidity. Some do it all. LCM was created to solve all of the challenges of concentrated liquidity. LCM's vaults provide LPs with the most optimized performance on a variety of supported platforms and blockchains. LCM does this by mitigating impermanent loss and accumulating fees using proper strategies. That performance is viewable on our Analytics. LCM also supports a variety of in-house and 3rd party platforms for protocols to reward incentives to liquidity providers. Finally, LCM offers protocol liquidity and treasury management services to a variety of projects.

Reality Check: Competitive Liquidity

One of the most important yet misunderstood concepts in concentrated liquidity is its inherent competitiveness.

Details

It's very important for liquidity providers and protocols to understand that they are now in a competitive space. Nobody, no matter how skilled at management, is always profitable. Pools can be oversaturated with liquidity for the amount of volume, which leads to poor fee performance for the LPs, even in ideal conditions. High volatility can make even the best-managed pools take losses. A group of users who gets incentives have a huge advantage over those who don't have them. Full-range positions and sustained four-figure APRs are simply not going to happen much anymore. Regardless of whether you're a new solo liquidity provider, a seasoned farmer who rode the DeFi Summer wave, or a traditional finance market maker, everyone now has to adjust to concentrated liquidity's pros and cons.

What is LCM?

LCM is a concentrated liquidity provision algorithm that generates compelling returns with simple and painless user experience. Users deposit a single token and earn passive returns while the algorithm actively accumulates preferred token and earns fees.

Algorithm Design

Purpose
Archetypal States
Utilizing token composition and volatility, the rebalancing strategy classifies the vault into five distinct states:

1.Optimal State
2.Excessive Inventory State
3.Insufficient Inventory State
4.Elevated Volatility State
5.Exceptional Volatility State
Each state triggers specific allocation adjustments and token concentration allocations within the rebalancing strategy.

Optimal State

This represents the optimal condition that the rebalancing strategy endeavors to maintain for an extended duration. It denotes a scenario where the price fluctuates within the designated range of concentrated liquidity, facilitating efficient accumulation of deposit tokens via concentrated trading fees. Within a healthy state, the allocation and concentration of tokens are as follows
Optimal State

Excessive Inventory State

This condition (and the associated provision of concentrated liquidity) is activated in response to an excess of deposit tokens. In the over inventory state, the rebalancing strategy adjusts the vault's positioning to prioritize the sale of deposit tokens, aiming to restore it to a optimal state. As depicted, a slight increase in the paired token spot FX prompts the concentrated position to sell a significantly larger quantity of the deposit token compared to a similar movement in the spot FX in the opposite direction.
Excessive Inventory

Insufficient Inventory State

This condition (along with the associated provision of concentrated liquidity) arises when there is an insufficient amount of deposit tokens. In the under inventory state, the rebalancing strategy adjusts the vault's positioning to prioritize the purchase of deposit tokens, aiming to restore it to a healthy state. As demonstrated, a slight decrease in the paired token spot FX prompts the concentrated position to buy a significantly larger quantity of the deposit token compared to a similar movement in the spot FX in the opposite direction.
Insufficient Inventory

Exceptional Volatility State

Variances among rapid 5-minute and gradual 60-minute TWAPs, alongside disparities between the present price and swift TWAP, will serve as indicators for detecting such fluctuations in price. By default, a 6% variance activates the high volatility state. Within this state, liquidity will be dispersed across the entire spectrum for both tokens.

Extreme Volatility State

Discrepancies between rapid and gradual TWAPs, along with variations between the current price and rapid TWAP, will be employed for identifying these price fluctuations. By default, a 25% deviation initiates the extreme volatility state. Within this state, the strategy will enter a lockout phase, halting any additional deposits into the vault. It's essential to note that during this period, the vault remains unbalanced, requiring human intervention to evaluate the circumstances and determine the appropriate timing and method for rebalancing.

Automating with Chainlink

Automated Solutions

In order to enhance the capability for liquidity providers to establish robust on-chain liquidity, LCM sought an efficient solution to scale their rebalance functionality. Automating with Chainlink introduces a decentralized service designed specifically for handling tasks on behalf of smart contracts. This system utilizes decentralized, highly reliable, and economically incentivized automation nodes to activate smart contracts precisely when they need to execute critical on-chain functions. These functions typically occur at regular intervals (e.g., daily at a specific time) or in response to external events (e.g., when an asset reaches a predefined price).

Key Attributes of Chainlink Automation

1. Decentralized, Reliable, and Efficient Automation — Chainlink Automation ensures swift transaction identification and confirmation, even in periods of network congestion, utilizing Chainlink’s proven transaction manager. 2. Cost-Effective, Time-Tested Infrastructure — Leveraging Chainlink Automation allows us to cut in-house automation infrastructure expenses, decrease DevOps resource allocation, and enhance overall speed and efficiency. 3. Facilitates Rapid Scaling — Chainlink Automation provides the capability for faster scaling, circumventing the challenges associated with constructing and maintaining the infrastructure necessary for reliable automation across multiple chains. 4. Unleashes New Possibilities — Through smart contract automation, we can explore novel use cases and unlock functionalities that would have otherwise been unattainable.

The future

With the emergence of Uniswap V4, Algebra V2, Balancer V2, and other advancements, concentrated liquidity becomes a permanent fixture. LCM remains committed to backing compatible blockchains and exchanges while enhancing strategies for retail LPs. Further enhancements are planned for LCM's analytics suite and vault contract design.