Official Interpretation of UniswapX and How Does UniswapX Work

UniswapX Official Interpretation & Functionality

Author: Uniswap blog; Translator: LianGuai0xxz

Since the launch of the first version of the Uniswap protocol in 2018, on-chain transactions have grown explosively, with support for millions of users, hundreds of use cases, and $1.5 trillion in trading volume on Uniswap alone.

To further develop on-chain transactions and improve self-custodial swaps, Uniswap is pleased to announce the launch of a new permissionless, open-source (GPL), Dutch auction-based protocol for trading across AMMs and other liquidity sources.

On July 17, 2023, we introduced an optional test version of the UniswapX protocol on the Uniswap Labs interface, which is applicable to the Ethereum mainnet and will be expanded to other chains and Uniswap wallets in the future.

UniswapX is optional in the settings

UniswapX will improve swaps in multiple ways:

  • Get better prices through aggregated liquidity sources

  • Gasless swaps

  • Prevent MEV (Miner Extracted Value)

  • No cost for failed transactions

  • In the coming months, UniswapX will expand to gasless cross-chain swaps.

Aggregation at the next level

On-chain routing is an increasingly important and complex problem. Innovations in on-chain transactions have led to explosive growth in liquidity pools. New fee tiers, new L2 solutions, and more on-chain protocols will result in fragmented liquidity.

In the future, it is expected that thousands of custom pools will be designed and built on Uniswap v4, making routing more challenging. However, as liquidity sources grow, providing competitive prices requires manual integration and extensive ongoing maintenance and work.

UniswapX aims to address this problem by outsourcing routing complexity to third-party fillers (note: anyone can become a third-party filler for UniswapX swaps), who then compete using AMM pools or their own private inventory of on-chain liquidity to complete swaps.

With UniswapX, swappers will be able to use the Uniswap interface without worrying about getting the best prices, and transactions will always be transparently recorded and settled on-chain. All orders are supported by the Uniswap smart order router, which forces Swap Fillers to compete with Uniswap v1, v2, v3, and future v4.

Understanding how UniswapX works in one graph

Gasless Swaps – No cost for failed transactions

With UniswapX, the swapper signs a unique off-chain order, which is then submitted on-chain by the filler who pays the gas on behalf of the swapper. Because the swapper does not need to pay for gas, they do not need the native network token of the chain (such as ETH, MATIC) to trade or pay any fees for failed transactions. The filler includes the gas fee in the swap price but can lower transaction costs by competing for the best price through batching multiple orders.

In certain cases, users still need to pay gas, such as the initial token approval for Permit2. In addition, native network tokens need to be packaged when sold, which consumes gas fees.

MEV Protection

MEV is one of the biggest problems faced by on-chain exchanges today, leading to worse prices for traders.

With UniswapX, MEV that could have been captured through arbitrage trades is returned to traders by increasing the price. UniswapX also helps users avoid more explicit forms of MEV extraction: orders executed using the filler inventory cannot be sandwiched in the middle, and the filler is incentivized to use private transaction relays when routing orders to on-chain liquidity venues.

Future: UniswapX’s Move Towards Cross-Chain

A cross-chain version of UniswapX will be launched later in 2023, combining exchange and bridging into a seamless operation. With cross-chain UniswapX, traders will be able to swap between chains in a matter of seconds. Traders will also have the option to receive assets on the target chain, rather than specific bridge tokens.

Illustration of cross-chain transactions on UniswapX, Source: UniswapX Whitepaper

Launching UniswapX on the Uniswap Labs Interface

UniswapX brings the ideas and models of DeFi and digital markets into a new system, built on the same principles of security, self-custody, and community that have made Uniswap a trusted brand in DeFi.

UniswapX is an immutable smart contract that is fully permissionless. No one, including Uniswap Labs, can modify or pause the contract. The earliest fillers are on standby to ensure proper auction start prices and fast order execution, and the Filler network is expected to rapidly expand with user adoption.

In line with Uniswap’s commitment to security, the code has undergone extensive testing and auditing by ABDK and offers bug bounties. Traders always maintain self-custody of their funds. Assets are only transferred out of their accounts once orders are executed and they receive trading profits.

Like the Uniswap protocol, UniswapX includes a protocol fee switch that can only be activated by Uniswap governance (Uniswap Labs does not participate in this process).

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Blockchain

Simultaneously addressing the pressing issues of DEX and CEX, the company received a $ 40 million investment from Sequoia and Intel

Starkware, an Israeli startup, believes that it can solve two of the most pressing issues in crypto trading-the inher...

Blockchain

Research Report | Blockchain Economics Panorama and Future: Exchange Compliance

Author: BlockVC industry research team Source: BlockVC Editor's Note: The original title is "Postal Chain E...

Opinion

Unveiling the FTX Empire's 'Second-in-Command' The Glorious and Falling Journey of Chinese Genius Programmer Gary Wang

What has Gary Wang gone through, from being a close friend of SBF to becoming the COO of FTX and a key witness?

Blockchain

Can the combination of decentralized derivative exchanges and account abstraction open up the next incremental entry point?

How much will the target audience expand if decentralized contract exchanges can be logged in using Google accounts?

Blockchain

We sorted out 40 "running road" cryptocurrency exchanges, all of which share these common routines

Article | Interchain Pulse · Liangshan Huarong On February 23, the ZG exchange was exposed as suspected to be ru...

Blockchain

Life After the Collapse of Sanjian Capital: Surfing, Meditation, and World Travel for the Founders

When their hedge fund failed, the entire industry collapsed. The resulting crisis drained the savings of millions of ...