> For the complete documentation index, see [llms.txt](https://docs.jefetoken.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jefetoken.com/jefe-token/jefe-dex-ai-enhanced-trading/dlmm-and-v2-v3-liquidity-architecture.md).

# DLMM & V2, V3 Liquidity Architecture

**DLMM – Dynamic Liquidity Market Maker**

The DLMM is a high frequency, order book-style liquidity model designed for active markets and professional traders.

* How It Works: Liquidity is placed in discrete price bins, similar to limit orders on a traditional exchange. Each bin represents a narrow price range, and liquidity providers can concentrate capital exactly where they expect the most trading activity.
* Key Benefits:
  * Ultra-Low Slippage: Deep liquidity at every price level, even during volatile moves.
  * Active LP Control: Providers can adjust bins in real time to follow the market, maximizing fee capture.
  * Zero Impermanent Loss (in theory): Because bins are isolated, a price move out of one bin simply deactivates it without affecting other positions.
* Use Case: Ideal for major crypto pairs (BTC/USD, ETH/USD) and high-volume stock perps where tight spreads and deep order books are essential.

**V2 Liquidity – Constant Product AMM**

V2 Liquidity is the classic automated market maker model, using the constant product formula (x \* y = k). It provides a simple, always-available liquidity base for all listed assets.

* How It Works: Liquidity is pooled across the entire price range (0 to ∞). Trades execute against this pool, with price determined by the ratio of assets.
* Key Benefits:
  * Always-On Liquidity: No need to manage ranges; LPs deposit and forget.
  * Simplicity: Easy for new users and smaller LPs to participate.
  * Bootstrapping New Markets: Perfect for launching new pairs or lower-volume stock perps where concentrated strategies are less efficient.

Use Case: Serves as the foundational liquidity layer for all markets, ensuring that every asset has a tradable pool regardless of volatility or volume.

**V3 Concentrated Liquidity – Range-Bound AMM**

V3 Concentrated Liquidity is an advanced AMM model that allows LPs to concentrate their capital within custom price ranges, dramatically improving capital efficiency.

* How It Works: LPs select a minimum and maximum price for their liquidity. Their capital is only active when the market trades within that range. Multiple positions can be stacked to create complex strategies.
* Key Benefits:
  * Capital Efficiency: LPs can achieve the same fee generation with significantly less capital compared to V2.
  * Custom Strategies: Supports limit-order-like placements, hedging, and volatility-based provisioning.
  * Higher LP Returns: Concentrated positions earn a larger share of fees when the price is within range.
* Use Case: Ideal for range-bound markets, stablecoin pairs, and stock perps with predictable trading ranges. Also used by the AI agent to dynamically allocate liquidity based on its probabilistic scenarios.
