Uniswap / Uniswap/interface

Add token ratio in percent to UI on opening position

Open
#2,335 5 comments 0 reactions 1 assignee View on GitHub

@maggievalentine is already working on this.

Since Oct 4, 2021.

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

Description

Is your feature request related to a problem? Please describe.
I am always frustrated when I need to open a new position and trying to find out what token ratio I need.

Describe the solution you'd like
I would like to not only show the absolute token amounts needed for a about-to-be-opened-position, but also the percentage ratio between the two tokens so it is easier for me to calculate.
Even better would be single-sided entering into a position where the tokens get automatically swapped into the correct ratios on position opening.
Same issue is with re-entering old/inactive positions again. I have to duplicate the ranges in another window to enter fake values to get the token ratio...

Describe alternatives you've considered
Right now I enter a "fake" token amount in one field, let the UI fill the other field, then add these two dollar values together, divide by the other etc etc to calculate the percentage of Token A / Token B myself. That is unnecessary in my opinion and creates frustration if you miscalculate or the price moves during calculation etc.

Additional context
image

Any other comments
You guys rock, I love UniswapV3!

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.