Just like in any other decentralized trading platform, when a trader submits a swap, typically he will also set a slippage tolerance parameter, to account for the potential difference in price between submission and execution. For example, a tolerance of 0.5% means that the trader is willing to accept up to 0.5% less tokenAmoutOut for final execution compared to the tokenAmoutOut estimated at submission time.