interbtc-ui icon indicating copy to clipboard operation
interbtc-ui copied to clipboard

1-click: LP solution

Open nud3l opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. When users want to LP into a pool, this usually requires several subsequent actions and makes a bad UX. If the user then wants to stake their tokens into a farm or use them as collateral in the money market or vault, this process becomes even more cumbersome.

Describe the solution you'd like Provide a 1-click solution in the UI (see stellaswap example). This should batch the following transactions into one:

  1. Swap 50% of the desired value from token A into token B
  2. Deposit token A & token B into the pool
  3. (Optional) Deposit the LP tokens into the farm/MM/vault

Ideally this should also work with withdrawals in the reverse order.

Describe alternatives you've considered None

Additional context Links/Example: https://app.stellaswap.com/exchange/zap

nud3l avatar Jan 04 '23 09:01 nud3l