Uniswap / Uniswap/interface

[Bug] app.uniswap.org doesn't handle (can't quote) non-divisible (decimals = 0) ERC20 tokens

Open
#8,020 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

📱 Interface Affected

Which application are you experiencing issues with?


🧩 App Version

  • Version (if known):
  • Production build
  • Development build

💻 System / Environment Info

Please provide details about your environment:

  • Browser (name + version): Firefox (but not limited to that browser)
  • OS / Platform (e.g. iOS 17, Windows 11, Android 14): Windows 11
  • Device (e.g. iPhone 14 Pro, Pixel 7, MacBook Pro 2023): PC
  • Wallet used (e.g. Uniswap Wallet, MetaMask, Rainbow): N/A
  • Network (e.g. Ethereum Mainnet, Arbitrum, Base, etc.): Ethereum Mainnet

🔁 Steps to Reproduce

  1. Go to https://app.uniswap.org/swap?chain=mainnet&inputCurrency=NATIVE&outputCurrency=0x30ae41d5f9988d359c733232c6c693c0e645c77e

  2. Try to get a quote. It will say "This trade cannot be completed right now" but there is both liquidity and routes. Other frontends manages to do the trades, so this is limited to app.uniswap.org and the recent (late 2025) change.

  3. We can manually verify that liqudity exists here: https://etherscan.io/address/0xebA623e4F5c7735427a9EF491ecEE082DD4bF6CE#readContract#F5


✅ Expected Behavior

I would expect a quote.

❌ Actual Behavior

Error message: "This trade cannot be completed right now"

📸 Screenshots or Screen Recording

Please upload any relevant screenshots or recordings to help us understand the issue better.


🧾 Additional Context

I strongly suspect this is related to the fact that this ERC20 token has decimals = 0 meaning it's tokens are non divisible and it's confusing the quoter. It worked earlier in 2024-2025 but stopped working a few months ago.

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 at the swap entry point in the issue URL and reproduce the quote request with the listed token address on Ethereum Mainnet. Trace the web app's quote flow for an ERC20 with decimals = 0; done means app.uniswap.org returns a quote for the reproduced route instead of "This trade cannot be completed right now".

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.