shotaro
@shotaro
can someone explain to why I shouldn't use infinite "slippage" when withdrawing LP? https://github.com/Uniswap/v3-periphery/blob/0682387198a24c7cd63566a2c58398533860a5d1/contracts/NonfungiblePositionManager.sol#L275 uni v3 sdk uses 50 bips https://github.com/Uniswap/examples/blob/733d586070afe2c8cceb35d557a77eac7a19a656/v3-sdk/modifying-position/src/example/Example.tsx#L115C28-L115C47 "slippage" check is useless. "front running" can't hurt LPs withdrawing (as long as current pool price is correct?)
1 reply
1 recast
1 reaction
shotaro
@shotaro
> LP sandwich attacks you can't profitably sandwich removal of LP right? the only reason it works when adding LP is backrunning trades at a better price with deeper liquidity but when withdrawing LP, there's shallower liquidity and therefor backrunning has a worse price?
0 reply
0 recast
1 reaction