Balances from https://info.uniswap.org/#/pools are different to their respective block explorer balances
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
Hello, I've noticed that the token and ETH balances of pools shown by https://info.uniswap.org/#/pools/ are very different to the actual balances shown on etherscan.io. This is not an issue with the v2 pool website, which correctly shows the pool balances matching etherscan.io.
Steps to Reproduce
-
Go to any v3 pool, in this case the UNI/ETH 0.3% fee pool: https://info.uniswap.org/#/pools/0x1d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801. The balances as of March 6th, 2022 are shown on the pool website to be:
UNI: 2.06m
ETH: 2.18k -
Now click the link leading to the pool's etherscan page, in this case the UNI/ETH 0.3% pool is at https://etherscan.io/address/0x1d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801. The balances on etherscan from the same time show:
UNI: 1.89m
ETH: 817 -
For comparison, here are the v2 UNI/ETH pool and etherscan pages showing matching balances:
Pool: https://v2.info.uniswap.org/pair/0xd3d2e2692501a5c9ca623199d38826e513033a17
etherscan: https://etherscan.io/address/0xd3d2e2692501a5c9ca623199d38826e513033a17
I have tried this with ~10 currencies, and all of the balances are different between the pool page and the respective etherscan page, by differing degrees.
Expected Behavior
I expected the balances to be the same between the Uniswap v3 Pool website and the pool's page on etherscan.io. There may be a reason for this difference, but I have not been able to find it.
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.
Research direction
Start with the reported UNI/ETH 0.3% v3 pool page and compare its UNI and ETH balances with the linked Etherscan address at the same block or time. Use the v2 pool and Etherscan pages as a comparison because they reportedly match. Done means v3 pool balances agree with the corresponding block explorer balances across the reported pools.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100