Uniswap V1 was like the “baby AMM,” the original proof-of-concept that showed automated liquidity pools on Ethereum could really work. At its heart, the architecture is built around three types of contracts:
This is the “government registry” — it creates new exchanges and keeps track of which exchange belongs to which token. Only one exchange per token is ever allowed so liquidity doesn’t fragment more than it already does. Think of it like the registrar’s office stamping an official license saying, “TokenX now has an exchange at address Y.”
This is where the magic happens. Each ERC‑20 token has its own exchange contract that pairs it only with ETH. The exchange has all the functions to:
x * y = k
In other words, this contract is the engine of the AMM formula, but remember—it only speaks ETH ↔ Token, not Token ↔ Token directly.When you add liquidity, you get back an ERC‑20 representing your share of the pool. In V1 these LP tokens weren’t widely transferable—more like receipts than tradable assets, meant to record ownership and later burn on withdrawal.
If you were using V1 as a trader or developer, here’s what happened step by step: