At the end of 2018, Uniswap came out of nowhere. Uniswap didn't use the order book like other DEXs of the same period, but instead adopted the automated market maker (AMM) model to combat a series of problems, including slow transaction confirmation, caused by the network performance of Ethereum.
While Uniswap has proven the possibilities of AMM in practice, the performance trade-offs have also caused many problems, such as inevitable slippage and impermanent losses, criticism of capital inefficiencies, occasional sandwich attacks, and poor user experience with a single swap order type.
In May 2020, Uniswap v2 was introduced, adding a new token-token swap to v1 and making it harder to manipulate prices. This seemed more like a patch on v1 than an optimization of the AMM model. So a year later, in May of 2021, the Uniswap team launched Uniswap v3, introducing the familiar concentrated liquidity solution.
Specifically, in v1 and v2, when an LP provides liquidity to a liquidity pool, the liquidity will be allocated across all price bands of (0, ∞). Most assets will only trade within a certain price range, so a large portion of the liquidity is never used, making it quite inefficient in terms of capital. In contrast, v3's concentrated liquidity solution allows LPs to choose the price range in which to provide liquidity, and LPs are only rewarded with fees if the assets are traded within the chosen price range. This increases the capital efficiency of AMMs to an unprecedented level. In contrast, slippage, and impermanent losses have been somewhat mitigated.
While Uniswap v3 solved AMM's capital efficiency problem at the moment, there are still a number of other issues that need to be addressed. 2 years have passed since Uniswap v3 went live, and it is reasonable to wonder if the Uniswap team is working on Uniswap v4. While we look forward to Uniswap v4, we also take this opportunity to see what innovations have emerged from AMM in the past 2 years.
In May 2022, iZUMi Finance launched its DEX, iZiSwap, proposing a new AMM model, Discretized-Liquidity-AMM (hereinafter referred to as DLAMM).

Specifically, DLAMM is based on the Constant Product AMM, which discrete a continuous price curve into a finite number of price points. Other than these points, the price of a trading pair does not take any other value during the fluctuation. Liquidity providers can only provide liquidity at these points, and traders can only trade at points.

In DLAMM, the market price will only be at a discreted price point and only the liquidity pool at the market price point will contain two types of tokens. The liquidity pool above the market price point will only contain one token and the liquidity pool below the market price will only contain the other. Trade at any price point directly affects the proportion of the liquidity pool at that price point, but the trade price remains constant until the liquidity at that price point runs out, and the market price will move to the adjacent price point and continue to repeat the process.
Through careful study, we can find that the underlying logic of the DLAMM model is in fact very similar to the order book model, which we believe is one of the future trends of DEX. Uniswap's introduction of the AMM model was the result of a trade-off between the performance of Ethereum at that time and the convenience of the service for traders. But it also brought various problems. As the infrastructure develops and iterates, the flaws of the AMM model will be gradually optimized, and DEX will gradually move closer to the order book model. In November 2022, Trader Joe v2 was launched, in which Trader Joe also uses the AMM model similar to DLAMM.
The main advantages of the DLAMM model compared to the current DEX are as follows:



Since its launch in May 2022, iZiSwap has gone through 1 year of development practice and DLAMM has stood the test of traders. At the same time, iZiSwap is constantly being updated to provide a better trading experience for its users. These user-friendly innovations have indeed been seen by users, especially since the launch of zkSync Era, which has seen iZiSwap's TVL rise rapidly to over $100 million.

We believe that innovation based on AMM will not stop. When will the era of Uniswap v4 come? Will it bring us more surprises? It's hard to say, but iZiSwap has already laid another solid foundation on the road to AMM innovation, making the future of AMM even more desirable.