๐ Uniswap Technical Analysis Series #2: Awakening of Dormant Capital
Hello, I am BQ Developer. @BQ_Developer
In the last episode, we discussed creating a 24-hour automated exchange using the x*y=k formula, and this time we will look at a new dilemma faced by Uniswap.
๐ค A New Problem Created by a Perfect Solution
Uniswap V2 was the epitome of simplicity. It solved everything with just the x*y=k formula.
However, this simplicity hid a fatal inefficiency.
Let's say ETH is trading at $3,000. Most trades will occur between $2,900 and $3,100. But V2 allocates capital equally across all price ranges from $1 to $1 million.
Even if there is $100 million in the ETH/USDC pool, the actual money used in the trading range is less than $1 million. The remaining $99 million is just lying dormant.
Why is this a problem?
From the trader's perspective, slippage increases. The liquidity in the actual trading range is thin. From the LP's perspective, capital efficiency decreases. Most of the capital is not earning fees.
โ๏ธ V3's Choice: Concentrated Liquidity
The Uniswap team chose a fundamental redesign.
They allowed LPs to directly choose the price range they wanted. If they set it to provide liquidity only between $2,800 and $3,200, they could create 100 times deeper liquidity in that range with the same capital.
Mathematically, this is an astonishing improvement. Capital efficiency has increased by dozens or even hundreds of times.
However, the ripple effects of this change went beyond simple efficiency improvements.
๐ฏ The Cost of Efficiency
In V2, LPs were investors. They just had to put in money and wait.
In V3, LPs had to become traders.
What happens if the price goes outside the set range? The position becomes useless. They can't earn fees and are left holding only one token. They have to wait for it to come back into the range or adjust their position at a loss.
An even more significant change was the market structure itself.
Professional market makers entered in droves. They monitor the market 24/7, adjust ranges algorithmically, and employ complex hedging strategies. Regular LPs cannot compete with them.
In V2, everyone equally shared the fees, but in V3, experts take most of the fees.
๐ญ The Value of Simplicity
What V3 has shown is the fundamental dilemma of DeFi.
Pursuing efficiency brings complexity. Complexity creates barriers to entry, and barriers to entry lead to centralization.
The inefficiency of V2 was, in fact, the cost of democratic accessibility. Anyone could participate, and everyone earned fairly. It was inefficient, but it was closer to the ideal of decentralization.
V3 has created better tools. But only a few can use those tools effectively.
Was this a wrong choice?
I don't think so. Isn't efficiency essential for DeFi to grow? However, we now know that every improvement comes at a cost.
โ๏ธ In the next episode
While V3 solved the capital efficiency problem, developers have started to demand new things. "Isn't it possible to create an AMM suited to each situation?"
In the next article, we will discuss how V4 responded to this demand!
---
Your likes and shares are love ๐ฅฐ
#BQDeveloper #Uniswap #V3 #CostOfEfficiency

๐ Uniswap Technical Analysis Series #1: Exchanges Made by Mathematics
Hello, this is BQ Developer. @BQ_Developer
Every time I use Uniswap, I feel amazed.
How is it possible to have an exchange that runs 24 hours a day without a single person?
Starting today, we'll take a look at what technical choices Uniswap made this "impossible" possible.
First, let's take a look at why the Uniswap team created an exchange with a single mathematical formula instead of a traditional order book.
๐ค How to create an exchange on Ethereum?
When Hayden Adams first conceived Uniswap in 2018,
The most natural approach would have been to move traditional exchanges to blockchain.
But soon you will run into a fundamental problem.
To raise an order on Ethereum, you need to pay a gas fee, and you also have to pay a gas fee when you modify or cancel an order.
When the market moves fast, you have to keep adjusting orders, and if you pay $20-30 each time, who will do marketing?
What's even more fatal is that real-time order matching is not possible in an environment where blocks are created every 15 seconds.
Traditional exchanges process orders in milliseconds, which is structurally impossible on blockchain.
โ๏ธ Automatic exchange made of two buckets of water
Uniswap's answer was simple. I got rid of the order altogether.
Instead, imagine two connected water reservoirs. One is full of ETH and the other is full of USDC.
Trading is like scooping liquid from one bucket of water (taking ETH) and pouring the corresponding amount into the other (putting in USDC).
The key here is that the relative water level of the two water reservoirs determines the price.
The more ETH you take, the lower the water level in the ETH bucket, and the price of ETH, which has become relatively scarce, will automatically rise.
All of this process is controlled by a simple mathematical formula called x * y = k. x is the amount of ETH, y is the amount of USDC, and k is the product that must remain constant.
If you take one side, you have to put more of the other side to keep the product constant.
๐ง A system that works without a person
The most elegant thing about this design is its full automation.
Traditional exchanges require market makers to constantly adjust their quotes, but Uniswap doesn't have to.
The price is automatically adjusted whenever a trade occurs, and you can trade at any price from zero to infinity.
When the price of ETH rises in the external market, arbitrageurs buy relatively cheap ETH on Uniswap, and the price of the pool automatically matches the market price.
No human intervention is required in all of this.
๐ญ The reality of trade-offs
Of course, this elegant solution also has a price.
The biggest problem is slippage. The larger the trade, the more exponentially the price can move, leading to a more unfavorable price than expected.
In addition, most of the liquidity in the pool is actually lying dormant at extreme price points, making capital less efficient.
But even taking these limitations into account, I think what Uniswap has created is a great achievement.
It replaced the complex financial system with a simple mathematical formula and created a global exchange that runs 24 hours a day.
โ๏ธ In the next part,
I created an exchange with x*y=k, but when I actually used it, I saw a fatal problem.
It was that 90% of the money in the pool was sleeping in an extreme price range that no one spended.
How did Uniswap V3 solve this problem?
---
Your likes and shares are ๐ฅฐ love
#BQ๊ฐ๋ฐ์ #์ ๋์ค์ #AMM #DeFi

4.82K
7
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.