An AMM is a pricing function with assets in it: a smart contract that quotes and settles trades by evaluating a curve over its own reserves, so 'the m… First-principles module in Exchanges, Liquidity & DeFi Mechanics, with a mastery quiz.