Uniswap / Uniswap/interface

Remove liquidity: allow to specify amount of tokens + make collect fees optional

Open
#1,881 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design 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.

IMO slider allowing to withdraw 0…100% of liquidity should not be the only way to specify desired amounts of tokens withdrawn. On the contrary, it should be the alternative method, while the default should be specifying exact amount of one of the tokens.

Additionally, it's worth considering making collect be optional (if it's possible).

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

No files, tests, or entry points are named. Start by tracing the TypeScript remove-liquidity flow and how the collect-fees transaction is built; done means users can enter an exact token amount, retain the percentage slider as an alternative, and optionally omit fee collection.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.