Hello
I am currently testing the Uniswap fork DEX V2 and I was wondering how the slippage is calculated.
Let say I have two tokens and the entered amount and I can also pass the minimum amount for buying or selling tokens.
Does it mean if I add for example a slippage of 5% I subtract the 5% of the amount from the entered amount and pass it into minimumAmount?