Uniswap / Uniswap/interface

[ Uniswap V3 Arbitrum ] USDC routing issue on the interface

Open
#7,646 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Hello,

We have a pool on Arbitrum, on Uniswap V3 : 0xc09254d1be9c3b7335021873546ba480383981d9 .
It's REUNI / USDT.

There are other pools with very low liquidity, less than $100, such as REUNI / USDC.

Because of this, your interface is unable to find the best possible route.

Let me explain :

  • If a user wishes to exchange 100 USDC for REUNI, your interface will suggest going through the very low liquidity pool, leading to a loss of 50-80%.
  • On the other hand, for any other tokens, USDC.e, USDT, etc., the interface understands that it is necessary to route through the pool with the most liquidity.

Here are two images to illustrate the problem.

Wrong routing
bad
Correct routing
good

Solution :

  • Optimize transaction routing by selecting by default the pool with the most liquidity, and/or offering several routes.

Some of our users, who wish to purchase with USDC, do not understand this recurring problem for several months.

Regards,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported USDC-to-REUNI swap on Arbitrum using pool 0xc09254d1be9c3b7335021873546ba480383981d9 and compare its route with the displayed USDT, USDC.e, and other-token routes. Done means the interface no longer selects the low-liquidity REUNI/USDC pool when the higher-liquidity REUNI/USDT route is better, or clearly offers the relevant alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.