To fully master AMMs, you must understand the holy trinity of Slippage, Price Impact, and Minimum Received.
As Astroport's launch approaches (Dec 20 👀), let's take a look at all three so Astrochads everywhere can ape safely.
🧵👇 /n
1/ Imagine you want to swap 100 $LUNA for $UST.
Astroport’s "Breakdown" section gives us an insight into the swap. We expect 4500 $UST in return, but a minimum of 4421 $UST. We also see a Price Impact of 0.002% and a Slippage Tolerance of 0.5%.
Why is that? 🤔
2/ AMMs like Astroport do not update their price as other markets move.
Instead, the price moves as the reserve ratio of the tokens in the liquidity pool changes based on swaps.
Astroport is designed with one overarching goal: enabling massive liquidity for Terra-based tokens.
Here’s how it gets there...
🧵 below
1/ Traders and LPs can seek the best rates because Astroport supports 3 pool types on a single platform (Uniswap v2’s invariant pools, Curve’s stableswap pools and Balancer’s liquidity bootstrapping pools).
2/ Any trader can use Astroport because it integrates with Terra’s leading protocols (eg @mirror_protocol and @anchor_protocol), and Astroport’s code is backwards compatible so traders can easily access Astroport liquidity through other Terra dapps.