interbtc-ui
interbtc-ui copied to clipboard
1-click: LP solution
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:
- Swap 50% of the desired value from token A into token B
- Deposit token A & token B into the pool
- (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