Small trades with bad pool gives bad price new auto router
@willpote is already working on this.
Since Jan 18, 2022.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
Not sure if it's happening on other pools, however the New fees.WTF token 0xA68Dd8cB83097765263AdAD881Af6eeD479c4a33, has had some poor pool setups. The main Pool is WETH/WTF V2 uniswap. Someone created a USDC/WTF pool on V2 which now has a bad price. With ExactInput Below ~200 fees.wtf Tokens the UI gives a bad price from that pool, this pool has very little of each token. https://etherscan.io/address/0x4aca003534d06efd3f7a4ae62070e105b68124a3 (USDC/WTF pool).
Steps to Reproduce
- Go to app.uniswap.org
- Select WTF token as input
- Select USDC token as output
- enter 260 or less WTF tokens
...
Expected Behavior
Best route would be via WETH/WTF pool then WETH/USDC pool.
Additional Context


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.