
Just like the Apple conference known as the "Feast of Technologists", Uniswap, a high-profile star project in the DeFi field, has also recently released a new version of its plan. Different from the classic V1 and V2 versions, Uniswap's latest V3 version introduces several new features: liquidity aggregation, multi-level fee rates, and upgrade of oracle machines.
secondary title
1. Is Uniswap V3 an order book model?
After the release of Uniswap V3, many opinion leaders in the DeFi community regarded it as a thin order gradient model, because Uniswap V3 introduced the "Range Orders" function, allowing liquidity providers (LP) Deposit digital assets in a custom price range below the current price.
However, if Uniswap V3 is regarded as a degeneration of the order book model based on this alone, it would be too underestimating the innovation of Uniswap V3. In fact, if we carefully study the design concept of Unsiwap V3,It can be found that Uniswap V3 is not an order book model at all --- Uniswap V3 introduces a "price scale" (tick) for AMM, LP can place assets in different price ranges according to market conditions, and this does not change the automatic market maker at all (AMM) mode of operation!
In traditional order book transactions, whether it is a bidding system or a market maker system, both parties need to place orders (including price and target quantity) on the order book.Trade with price as a signal. Among them, in the bidding system, matching is required to buy and sell assets at the price that is most beneficial to both parties to the transaction; similarly, in the market maker system, market makers are required to quote the buying and selling prices in advance, and investors can only place orders after seeing the quotations. Transaction entrustment.From the above, we can see that in the order book, liquidity providers all actively provide quotations, and the market trades according to the principle of "price priority", thus realizing the price discovery function.
Figure 1. Schematic diagram of the order book under the bidding system
But in Uniswap V3, LPs did not take the initiative to provide quotations at all, they just placed liquidity in different price ranges! The transaction price on Uniswap V3 is the same as Uniswap V2. It is still driven by liquidity (adding asset x or asset y to the contract) rather than order instructions. The transaction price is determined by the ratio of the two assets in the asset pool, so it is still There is no price discovery feature.
More vividly, if the liquidity design in Uniswap V2 is compared to a water tank, the liquidity provided at all price points is the same; then the design principle of Uniswap V3 is more like installing a card slot in a water tank , LP can place liquidity in the "slots" of different price ranges according to the market price, as shown in the figure below.
Therefore, Unsiwap V3 did not degenerate into an order book model, it just introduced a "price scale" and became a wolf in sheep's clothing. As for the Range Orders function, the words in the Uniswap V3 white paper are more accurate:secondary title
2. Has the capital efficiency of Uniswap V3 really improved?
A major feature of Uniswap V3 is to improve capital efficiency through "liquidity aggregation". In the definition of economics, the measurement of capital efficiency can be achieved by the following formula:
Capital Utilization = Revenue / Assets
On Uniswap, assets are the liquidity placed by LPs on Uniswap, and the income comes from transaction fees. Among them, the transaction fee is related to the number of transactions, the average transaction amount and the fee rate. Without considering asset price changes and LP entry/exit, within a certain period of time, the capital utilization rate can be expressed by the following formula:
It can be seen from formula (1) that if you want to increase the capital utilization rate on AMM, you must either increase the transaction amount or handling fee, or reduce the asset value in the asset pool.
So how does Uniswap V3 improve capital utilization? A case is given on the Uniswap official website:
Both Alice and Bob want to provide liquidity in Uniswap v3's ETH/DAI pool. Each of them has $1 million. In the case of reaching the same liquidity depth, Uniswap V2 needs to deposit 500,000 DAI and 333.33 ETH (a total value of 1 million US dollars); while in Uniswap V3’s $1,500-$1,750 price range, only 91,751 DAI and 61.17 ETH need to be deposited ETH (total value ~$183,500), thereby improving capital efficiency.
It can be seen from the above that the key to Uniswap V3’s increase in capital utilization is to reduce the total value of the capital pool.
However, when we read the above cases, we can always vaguely feel that something is wrong. Does Uniswap V3 really improve the capital utilization of AMM?
The most obvious case: Assume that the transaction fees of Uniswap V2 and Uniswap V3 are both 1,000 DAI for a period of time. Similarly, all LPs on the platform provide liquidity worth 100,000 for Uniswap V2 and Uniswap V3, then according to According to formula (1), the capital utilization rate of Uniswap V2 and Uniswap V3 is the same.
It can be seen from the above that judging the capital efficiency of Uniswap V3 involves issues of position and perspective.
From an individual point of view, if an individual concentrates his liquidity within a certain price range, his personal capital utilization rate can be improved; however, the overall capital efficiency of the market has not been improved.
In addition, Uniswap V3 only considers the individual in terms of capital efficiency optimization design, while ignoring the impact of other people in the market on the individual, which is called externality in economics.
What are externalities? Still take the case on the Uniswap V3 official website as an example: the designers believe that under the V3 version, if a person has $1 million in liquidity, he only needs to deposit 91,751 DAI and 61.17 ETH (a total value of about $183,500). But the actual situation is that in the case of a total liquidity of 1 million US dollars in the market, if people believe that the future price will only change in the price range of $1,500-$1,750, then starting from a rational decision, each LP will put his Liquidity is placed in the price range of $1,500-$1,750, therefore, Unsiwap V3 will still be deposited with a total value of $1 million in liquidity. At this time, there is no essential difference between Uniswap V2 and Uniswap V3, and the capital efficiency is still the same.
More importantly, Uniswap V3 will raise fairness issues.In Uniswap V2, all LPs are equal in status, and the handling fees obtained are equally distributed. However, Uniswap V3 aggregates liquidity through the setting of "Range Order" to improve capital efficiency. At the same time, Uniswap V3 stipulates that when the market price is within the specified price range, LP can obtain transaction fees; and when the market price moves outside the price range, this part of liquidity will no longer earn transaction fees.
This virtually introduces a liquidity competition mechanism for Uniswap V3—organized and professional LPs will adjust the price range in which they store liquidity in real time according to changes in market prices in order to obtain greater benefits; and Ordinary LPs are difficult to adjust in time, so their capital efficiency and fee sharing are relatively lower.
Therefore, on the whole, the "liquidity aggregation" that Uniswap V3 attaches the most importance to has not fundamentally improved the overall capital utilization of the platform. On the contrary, the resulting liquidity competition will also cause fairness issues and the gas loss caused by LP adjustment positions, which is not worth the candle.