Concentrated Liquidity Market Maker (CLMM)
Last updated
Last updated
CLMM (Concentrated Liquidity Market Maker) is a type of advanced market maker algorithm designed for Dex platforms. It allows liquidity providers to add liquidity in their specified price ranges, which dramatically improves capital efficiency compared with previous market maker models in DeFi.
The most common algorithm adopted by current Dex platforms is AMM, the Automated Market Maker. The AMM follows the classic constant product equation . Assets are distributed evenly over the entire price curve. In the equation, k is a constant value while x and y are the liquidity of two corresponding tokens of the trading pool. All the liquidity added by liquidity providers in AMM is throughout the entire range of (0, ∞). It is simple but it also leads to a deep-rooted problem for AMM platforms, in which most liquidity in AMM is idle in the long term. A huge amount of assets in AMM only delivers a price that is still volatile.
Most traders only utilize the liquidity around the current market price and most liquidity providers’ fee revenue is also generated within the near-market-price range. This means that most users, only need a smaller price range but flexible range settings, instead of always having the full price range. On Hyperlaunch, liquidity providers are able to specify smaller price ranges that they desire and then allocate all their assets within those ranges. Only when the trading price of the pool drops into the range specified by a user, the liquidity added by that particular user will be traded. Having this mechanism means liquidity in each specific range only needs to work for its own range. Assets are therefore more concentrated and capital utilization is more efficient as a result.
A user’s liquidity added in a specific price range is like an open position in a centralized exchange. In HyperLaunch's CLMM pools, a user’s position only needs to contain enough assets X and Y to cover the price movement between the maximum and minimum of this position’s price range. When the price moves out of the price range of a position, this user position will turn into an inactive status. At that time, there will be only one type of asset left in that position. The other asset should have run out and all been exchanged to its paired token. Which asset is left depends on which side the price exits the range from. An inactive position will stop earning fees from users’ transactions. At the same time, those positions in ranges that contain the newest trading price will start working. As the price moves up and down, positions in different ranges work alternately. Aggregated and connected with each other, these positions of different ranges jointly achieve similar trading goals as AMM does, but CLMM executes this with much higher market depth in each range. Besides, liquidity providers are naturally encouraged to add most of their liquidity centered around the current market price in order to earn more transaction fees. Therefore, the liquidity in CLMM will usually exist in a different distribution form.
The concentrated liquidity market maker gives much more flexibility to liquidity providers. LPs can open as many positions as they desire to meet their different needs. They can choose to inject their liquidity within a narrow range to control their liquidity cost to a relatively low level. In addition, they can conduct further actions on their positions according to the market change to maintain the active status of their positions to earn more fees.