Concentrated Liquidity | Uniswap (2024)

Introduction

The defining idea of Uniswap v3 is concentrated liquidity: liquidity that is allocated within a custom price range.In earlier versions, liquidity was distributed uniformly along the price curve between 0 and infinity.

The previously uniform distribution allowed trading across the entire price interval (0, ∞) without any loss of liquidity. However, in many pools, the majority of the liquidity was never used.

Consider stablecoin pairs, where the relative price of the two assets stays relatively constant. The liquidity outside the typical price range of a stablecoin pair is rarely touched. For example, the v2 DAI/USDC pair utilizes ~0.50% of the total available capital for trading between $0.99 and $1.01, the price range in which LPs would expect to see the most volume - and consequently earn the most fees.

With v3, liquidity providers may concentrate their capital to smaller price intervals than (0, ∞). In a stablecoin/stablecoin pair, for example, an LP may choose to allocate capital solely to the 0.99 - 1.01 range. As a result, traders are offered deeper liquidity around the mid-price, and LPs earn more trading fees with their capital. We call liquidity concentrated to a finite interval a position. LPs may have many different positions per pool, creating individualized price curves that reflect the preferences of each LP.

Active Liquidity

As the price of an asset rises or falls, it may exit the price bounds that LPs have set in a position. When the price exits a position's interval, the position's liquidity is no longer active and no longer earns fees.

As price moves in one direction, LPs gain more of the one asset as swappers demand the other, until their entire liquidity consists of only one asset. (In v2, we don't typically see this behavior because LPs rarely reach the upper or lower bound of the price of two assets, i.e., 0 and ∞). If the price ever reenters the interval, the liquidity becomes active again, and in-range LPs begin earning fees once more.

Importantly, LPs are free to create as many positions as they see fit, each with its own price interval. Concentrated liquidity serves as a mechanism to let the market decide what a sensible distribution of liquidity is, as rational LPs are incentivize to concentrate their liquidity while ensuring that their liquidity remains active.

Ticks

To achieve concentrated liquidity, the once continuous spectrum of price space has been partitioned with ticks.

Ticks are the boundaries between discrete areas in price space. Ticks are spaced such that an increase or decrease of 1 tick represents a 0.01% increase or decrease in price at any point in price space.

Ticks function as boundaries for liquidity positions. When a position is created, the provider must choose the lower and upper tick that will represent their position's borders.

As the spot price changes during swapping, the pool contract will continuously exchange the outbound asset for the inbound, progressively using all the liquidity available within the current tick interval1 until the next tick is reached. At this point, the contract switches to a new tick and activates any dormant liquidity within a position that has a boundary at the newly active tick.

While each pool has the same number of underlying ticks, in practice only a portion of them are able to serve as active ticks. Due to the nature of the v3 smart contracts, tick spacing is directly correlated to the swap fee. Lower fee tiers allow closer potentially active ticks, and higher fees allow a relatively wider spacing of potential active ticks.

While inactive ticks have no impact on transaction cost during swaps, crossing an active tick does increase the cost of the transaction in which it is crossed, as the tick crossing will activate the liquidity within any new positions using the given tick as a border.

In areas where capital efficiency is paramount, such as stable coin pairs, narrower tick spacing increases the granularity of liquidity provisioning and will likely lower price impact when swapping - the result being significantly improved prices for stable coin swaps.

For more information on fee levels and their correlation to tick spacing, see the whitepaper.

  1. Tick interval refers to the area of price space between two nearest active ticks
Concentrated Liquidity | Uniswap (2024)
Top Articles
Post Office RD Interest Rates | Grow Your Savings
Post Office RD Calculator
What Are Romance Scams and How to Avoid Them
Satyaprem Ki Katha review: Kartik Aaryan, Kiara Advani shine in this pure love story on a sensitive subject
Trabestis En Beaumont
Ingles Weekly Ad Lilburn Ga
St Als Elm Clinic
Costco The Dalles Or
Lost Ark Thar Rapport Unlock
Nyuonsite
Ella Eats
Palace Pizza Joplin
Tracking Your Shipments with Maher Terminal
Who called you from 6466062860 (+16466062860) ?
Mills and Main Street Tour
Craigslist Farm And Garden Cincinnati Ohio
Simplify: r^4+r^3-7r^2-r+6=0 Tiger Algebra Solver
Lcwc 911 Live Incident List Live Status
Leccion 4 Lesson Test
Morristown Daily Record Obituary
Katie Sigmond Hot Pics
Tu Pulga Online Utah
Tripadvisor Napa Restaurants
Dragger Games For The Brain
Panolian Batesville Ms Obituaries 2022
A Man Called Otto Showtimes Near Cinemark University Mall
Drift Hunters - Play Unblocked Game Online
Myql Loan Login
Water Temperature Robert Moses
Jackie Knust Wendel
Webworx Call Management
Watertown Ford Quick Lane
The Clapping Song Lyrics by Belle Stars
950 Sqft 2 BHK Villa for sale in Devi Redhills Sirinium | Red Hills, Chennai | Property ID - 15334774
Craigslist Free Puppy
Six Flags Employee Pay Stubs
Worlds Hardest Game Tyrone
Gold Nugget at the Golden Nugget
5 Tips To Throw A Fun Halloween Party For Adults
Colorado Parks And Wildlife Reissue List
St Anthony Hospital Crown Point Visiting Hours
10 Rarest and Most Valuable Milk Glass Pieces: Value Guide
Engr 2300 Osu
Updates on removal of DePaul encampment | Press Releases | News | Newsroom
Bekah Birdsall Measurements
Flappy Bird Cool Math Games
Yosemite Sam Hood Ornament
Used Auto Parts in Houston 77013 | LKQ Pick Your Part
Download Twitter Video (X), Photo, GIF - Twitter Downloader
Yoshidakins
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 5832

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.