😎 Summer Sale Exclusive - Up to 50% off AI-powered stock picks by InvestingProCLAIM SALE

Uniswap (UNI) Releases New Code Draft, Here's What Changed

Published 2023-06-13, 12:00 p/m
© Reuters.  Uniswap (UNI) Releases New Code Draft, Here's What Changed
UNIs/USD
-

U.Today - In an official, Uniswap introduces its vision for Uniswap v4, which it believes will impact how liquidity is created and how tokens are traded on-chain.

In line with this, it released the v4 draft code so that it can be built in public with open feedback and meaningful community contributions.

The conceived Uniswap v4 is expected to even usher in greater possibilities beyond Uniswap v3, released about two years ago.

According to it, v3 marked a watershed moment for on-chain liquidity and DeFi, with significant growth for the ecosystem.

It says that, currently, the Uniswap protocol is the largest decentralized exchange protocol, processing over $1.5 trillion in trading volume.

This is because Uniswap v3 took an opinionated approach to liquidity provision, balancing a complex trade-off space. The Uniswap team says that its vision with Uniswap v4 is to allow anyone to make trade-off decisions through the introduction of "hooks."

Hooks refer to contracts that run at different points in a pool action's lifecycle. Pools can make the same tradeoffs as v3, or they can add entirely new functionality.

V4 to reduce pool creation gas costs by 99%

Uniswap v4 will also boast unique features as it will allow pools that natively support dynamic fees, add on-chain limit orders or act as a time-weighted average market maker (TWAMM) to spread out large orders over time.

V3-enshrined oracles rather allow builders to integrate real-time, on-chain pricing data, but at the expense of some increased costs for swappers. As stated in the blog post, early estimates show that v4 reduces pool creation gas costs by 99%.

Another is that in Uniswap v3, a new contract is deployed for every pool, making creating pools and performing multi-pool swaps more costly. In v4, all pools would be held in one singleton contract, which will offer important gas savings because swaps will no longer need to transfer tokens between pools held in different contracts.

This article was originally published on U.Today

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.