Uniswap / Uniswap/interface

XSGD/USDC pool set price range bugged

Open
#3,749 0 comments 0 reactions 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

Bug Description
The current price: of USDC per XSGD is not tallied properly and we are unable to add funds into the liquidity pool.

Steps to Reproduce

  1. Go to https://app.uniswap.org/#/add/0x70e8dE73cE538DA2bEEd35d14187F6959a8ecA96/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/500?chain=mainnet

  2. Error of the price range can be found

Expected Behavior
The current Price of USDC per XSGD would be something similar to the rates shown in the pool page
https://info.uniswap.org/#/pools/0x6279653c28f138c8b31b8a0f6f8cd2c58e8c1705

Additional Context

image

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 price-range error at the linked Uniswap add-liquidity URL, then compare the displayed rate with the linked pool page. Trace the interface's price-range calculation and determine why XSGD/USDC is not using the pool rate. Done means the current price is displayed correctly and liquidity can be added.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.