What Is the Difference between a Constant Product Market Maker and a Stable Swap Market Maker?
A constant product market maker (e.g. Uniswap) uses the formula x y = k, which works well for volatile assets but leads to high slippage for stable assets.
A stable swap market maker (e.g. Curve) uses a modified formula that is much flatter around the peg.
This allows for significantly lower slippage and better capital efficiency when trading assets that are expected to remain close to a 1:1 ratio, such as stablecoins.