Uniswap / Uniswap/interface

Add calculator that will show users liquidity corresponding to amount of LP tokens

Open
#1,325 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

improvement p2
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.
Many users stake their LP tokens. In that case app can't show them liquidity they have in pool. I think a simple calculator where they can input amount of tokens and it would show them value of their liquidity would be great feature.

Describe the solution you'd like
On "Pool" screen add "LP token value calculator". There user can input amount of LP tokens and it would display them how much of liquidity that corresponds to.

Feedback on the idea welcome.

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 locating the Pool screen and the existing LP-token or liquidity displays. Define how an entered LP-token amount maps to pool liquidity, then verify that the calculator displays the corresponding value for staked tokens.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.