When I use, for example, the Uniswap front-end to do a swap and I select my desired slippage, where is Uniswap calculating the minAmountOut
variable that goes into the swap and takes into account this slippage?
The rule is, to what I understand, that this calculation should never happen onchain in order to avoid MEV attacks.
Is Uniswap doing this calculation in the front-end offchain?