jxbyte

u/jxbyte



r/ethdev•

I'm trying to remove liquidity on sushi and do swaps on uniswap, but sometimes the slippage needs to be quite a lot higher, (I think in the case of low liquidity?). Without simply trial and error of throwing out txns and increasing the slippage tolerance on reverts, is there a good way to run simulations to calculate the appropriate slippage? The relevant functions are removeLiquidity and swapExactTokensForTokens .

24





You've reached the end of this feed.