balanced-network-interface icon indicating copy to clipboard operation
balanced-network-interface copied to clipboard

Add slippage param when supplying liquidity

Open hetfly opened this issue 10 months ago • 3 comments

hetfly avatar Apr 12 '24 08:04 hetfly

@hetfly is this still a valid issue?

FezBox avatar Jun 19 '24 22:06 FezBox

@FezBox yes, but not a priority imo. There was a new feature added while providing liquidity to protect users. Now it defaults to 2%, in the future we could add an UI input to edit the default slippage.

hetfly avatar Jun 20 '24 09:06 hetfly

when providing liquidity we want t he user to be able to specify maximum slippage

FezBox avatar Jul 29 '24 08:07 FezBox

Here's how I thought we could handle this:

lp-slippage

(Makes it easy to add in the transfer fee(s) once we take this cross-chain)

The slippage tooltip should say:

If the price slips by more than this, your liquidity transaction will fail.

parrot9design avatar Oct 24 '24 04:10 parrot9design