What is slippage?

❓ If my trade is routed through another pool, is that n% slippage for the entire trade, or is it applied to each hop?

It’s applied to the entire trade.

Example:

I swap 1000 UDSC for SUSHI, with a projected cost of $3.031 per SUSHI.

Untitled

The exchange rate shows that we would receive: 329.9 SUSHI tokens.The minimum received shows: 328.259 which is 99.5025% of 329.9. This means a maximum of 0.4974% slippage will be taken into account before a transaction revert occurs.

What is Price Impact?

In a traditional order-book model, you might have an asset that trades at $10. However, if a buyer with a large enough order comes, he/she may take up all offers to buy the asset at $10, $11 & $12. This will cause the average buying price on that asset to fall somewhere in between the range of $10 to $12 for that particular individual.

With an AMM (Automated Market Maker), the value of an asset is directly related to the balance of tokens in the pool. This balance is shifted during the swap, thus the final execution price will always fall somewhere in between.