Decentralized finance (DeFi) continues to evolve quickly. After automated market makers (AMMs) transformed how tokens can be swapped on blockchains, concentrated liquidity market makers (CLMMs) improved capital‑efficiency by letting liquidity providers focus their capital on specific price ranges. The next logical step adds programmable automation on top of concentrated liquidity. In this guide the term Programmable Liquidity Autonomous Market Maker (PLAMM) is used to describe liquidity protocols that allow LPs to concentrate liquidity and program the behaviour of their positions – such as dynamically adjusting ranges, distributing incentives or automating risk‑management.
Before diving into PLAMMs it is worth recapping liquidity pools. A liquidity pool is a crowd‑sourced collection of tokens governed by a smart contract. In a decentralized exchange (DEX) the pool serves as a digital repository of tokens that traders swap against. Liquidity providers (LPs) deposit token pairs into a pool and earn a share of the trading fees; their tokens remain available to buyers and sellers. AMMs automate pricing by adjusting token ratios based on a formula, but distributing liquidity evenly across all prices leads to slippage and low capital efficiency.
PLAMM is a term used here to describe AMM protocols that combine concentrated liquidity with programmable automation. Like CLMMs, a PLAMM allows an LP to select a price range for their tokens rather than spreading liquidity across an infinite spectrum. However, PLAMMs go further by enabling smart‑contract logic to adjust ranges, rebalance positions or execute strategies automatically. The concept draws inspiration from existing programmable liquidity protocols:
Balancer: An AMM that lets users create programmable liquidity. Balancer pools can hold more than two assets at arbitrary weights and use a constant mean formula instead of the usual constant product formula. Because pool parameters (weights and fees) are controlled by smart contracts, other protocols can build on top of Balancer and treat it as a programmable liquidity layer.
iZUMi Finance’s LiquidBox: This multi‑chain protocol provides liquidity as a service (LaaS). LiquidBox offers programmable liquidity mining tools on Uniswap v3 LP NFTs, enabling projects to distribute incentives precisely within certain price ranges and to optimize liquidity distribution. Its design demonstrates how smart contracts can manage incentive programmes while LPs concentrate their capital.
Cetus Protocol: A DEX on the Sui blockchain that uses a CLMM model for higher fee earnings. Cetus offers a Super Aggregator that routes trades across liquidity sources, permissionless pool creation, and developer SDKs. LPs can automate strategies using the Cetus Vault, which manages and rebalances positions—an example of programmable liquidity built on top of a CLMM.
These examples highlight that programmable liquidity is not a single protocol but a design pattern: concentrated liquidity plus smart‑contract logic for automation and customization.
In a PLAMM, LPs still select a price range for their tokens just as in CLMMs. Within that range, the smart contract uses ticks—discrete price intervals—to calculate liquidity distribution. When prices move outside the range the LP’s tokens stop earning fees and can even incur impermanent loss. What makes a PLAMM unique is that the range and fee parameters can be programmatically adjusted. For example:
A liquidity provider could schedule their range to follow a moving average or rebalance based on volatility.
Incentive programmes could automatically redirect rewards to LPs in specific price bands. iZUMi’s LiquidBox distributes incentives within selected ranges and uses auto‑rebased modules to attract more liquidity while controlling token emission rates.
Dynamic fees can react to market conditions. In Balancer smart pools, the fee is part of the pool’s parameters and can be changed by the controlling contract, allowing adaptive fee structures that respond to volatility.
PLAMMs inherit the advantages of CLMMs and add new capabilities:
Better capital efficiency – Concentrating liquidity into a chosen price band increases the probability that an LP’s capital is used. Programmable logic can further optimize deployment by widening ranges during high volatility and narrowing them when prices are stable.
Mitigation of impermanent loss (IL) – Selecting and adjusting ranges enables LPs to manage risk more actively. Automation reduces the need to constantly monitor markets and can react faster when prices leave the chosen band.
Custom fee and incentive structures – Smart contracts can allocate fees and incentives precisely. LiquidBox, for instance, allows protocols to distribute mining rewards within defined price ranges.
Programmable strategies and vaults – Automated rebalancing and hedging strategies make concentrated liquidity less time‑intensive. Cetus Vaults manages and rebalances LP positions so users can automate their strategies.
Composability – By exposing programmable parameters, PLAMMs become building blocks for DeFi. Balancer’s programmable liquidity lets other protocols plug into its pools and build custom trading or yield products.
CLMMs differ from constant product AMMs because they let LPs concentrate their liquidity into a selected price range rather than spreading it across the full price spectrum. PLAMMs extend CLMMs by adding programmable functionality. In a standard CLMM, adjusting ranges or fees requires manual action; in a PLAMM, those parameters can be updated automatically by smart contracts. Thus, PLAMMs can implement dynamic liquidity strategies, algorithmic rebalancing, or incentive distribution at the protocol level.
The following five examples show how different DeFi protocols employ programmable liquidity and concentrated liquidity. They illustrate how the PLAMM concept manifests in practice.
Platform | Key programmable liquidity features | Proof |
---|---|---|
Balancer | Balancer’s AMM uses a constant‑mean formula and allows pools with more than two assets and variable weights, making liquidity programmable. Pool parameters (weights and fees) are controlled by smart contracts, letting protocols build custom smart pools and adapt fees based on market conditions. | Balancer pools allow users to create programmable liquidity and have adaptive fee structures. |
iZUMi Finance (LiquidBox & iZiSwap) | LiquidBox provides programmable liquidity as a service on Uniswap v3 LP NFTs and enables protocols to distribute incentives precisely within selected price ranges. It solves the “pool 2” dilemma by combining structured incentives and auto‑rebasing modules to attract liquidity. iZiSwap builds on the concentrated liquidity model and implements a discretized‑liquidity AMM (DL‑AMM) that offers 5,000× greater capital efficiency than traditional AMMs. | LiquidBox offers programmable liquidity mining tools and is deployed on multiple L2 chains. It distributes incentives in certain price ranges. |
Cetus Protocol | Cetus is a DEX on Sui that uses a CLMM model and provides a Super Aggregator to route trades across liquidity sources. It supports permissionless pool creation and a developer SDK for integrating swaps. Cetus Vaults automate and rebalance LP positions, letting users implement strategies without constant intervention. | Cetus’s CLMM enables LPs to allocate liquidity to specific price ranges, and the Cetus Vault automates strategies. |
Concentrated and programmable liquidity behave differently for stable and volatile tokens. In a stablecoin pair, price movements are smaller and ticks within a chosen range are closer together. This makes it easier for LPs to supply liquidity precisely and manage risk. For volatile assets, price ticks are spaced farther apart, and fees are higher to compensate for risk. Programmable logic can, for example, widen the range automatically when volatility increases or implement stop‑loss actions when prices leave a band.
Multiple positions – PLAMMs, like CLMMs, let LPs open multiple positions at different price ranges. Programmable strategies can manage these positions concurrently.
Active management vs automation – Concentrated liquidity requires monitoring because prices move out of the range. PLAMMs can automate rebalancing, but users should still understand the underlying mechanics and risks. iZUMi Finance notes that active participation reduces impermanent loss.
Cost of execution – On chains like Solana, execution fees are lower, and scalability issues are minimal. Programmable strategies may require frequent adjustments, so fee costs should be considered.
Risk of impermanent loss – Concentrated liquidity is not a “set and forget” strategy; studies found that liquidity providers on Uniswap v3 sometimes lost more money than if they had simply held their assets. Another study shows that active users can generate more revenue using concentrated liquidity than by holding. Automation can help mitigate IL but cannot eliminate it entirely.
HODLing means holding tokens regardless of price fluctuations. CLMM data showed that many liquidity providers earned less than if they had simply held their tokens. However, active management and optimized strategies can outperform a passive approach. PLAMMs enable such strategies to be automated, making it more feasible for retail users to engage in active liquidity provision without continuously watching markets. Even so, providing liquidity introduces additional risks—prices leaving the range, smart‑contract risk, and unforeseen market events—so users should carefully weigh the benefits against the simplicity of hodling.
DeFi innovation continues to march forward. Programmable Liquidity Autonomous Market Makers (PLAMMs) extend the concentrated liquidity ideas of Uniswap v3 and other CLMMs by adding smart‑contract automation. They allow liquidity providers to tailor, automate, and even delegate their strategies. Protocols like Balancer, iZUMi Finance, Cetus, Uniswap, and Orca Whirlpools illustrate how programmable liquidity can improve capital efficiency, customize fee and incentive structures, and open new possibilities for composable finance. At the same time, they demand an understanding of active liquidity management, risk, and network fees. As DeFi matures, programmable liquidity is likely to become an essential tool for both traders and protocols striving to build more efficient and autonomous financial systems.
Uniswap v3 introduced concentrated liquidity in May 2021. Liquidity providers can select price ranges, and up to 85 % of volume on Uniswap has been driven by concentrated liquidity. Uniswap v3’s expired licence has allowed other protocols to build programmable layers on top of its CLMM, as seen with LiquidBox and Cetus. |
The article notes that concentrated liquidity accounted for a large share of Uniswap v3 volume and set a precedent for others. |
Orca Whirlpools on Solana | Orca’s Whirlpools feature (launched March 2022) aims to reduce slippage by concentrating liquidity within certain price ranges. The protocol later added automated rebalancing and improved rewards through its Orcanauts Beta programme, illustrating how concentrated liquidity on Solana can be enhanced via programmatic features. | Orca launched Whirlpools to concentrate liquidity and generate higher fees. |
Support dialog