Automated market makers price trades with code instead of order books. Learn constant-product curves, slippage mechanics and liquidity roles deeply.