Uniswap versions: what changed between v2, v3 and the current line
Every major version of Uniswap changed the economics of providing liquidity, not just the code. v2 made tokens tradable. v3 made liquidity efficient. v4 made pools programmable. If you have been away for a cycle, the differences are worth knowing before you deposit.
v2: the constant product baseline
v2 introduced the design most people picture when they hear "DEX": a pool holding two tokens, priced by the constant product rule, where any trade moves the price along the curve.
Its properties:
- Any ERC-20 can pair with any other, no permission needed
- Liquidity is deposited as a fungible position, spread across the whole price range
- Fees accrue to all LPs pro-rata, so every holder earns the same rate
The weakness is capital efficiency: liquidity sits across an infinite price range, so most of it is idle most of the time.
v3: concentrated liquidity
v3 let LPs choose a price range and a fee tier. Concentrating liquidity near the current price means less capital supports more volume, and fees concentrate where the trading happens.
The trade is work. Positions go out of range and earn nothing until you rebalance. Out-of-range liquidity is dead weight, so v3 shifted yield from passive holders to active managers. Fee tiers, like 0.05%, 0.30% and 1%, also let the market pick which pools are cheap to trade.
v4 and hooks
v4 consolidated pools into a singleton contract and added hooks: small contracts that run at lifecycle points, before a swap, after a swap, or when liquidity changes.
Hooks turned the pool from a fixed machine into a platform. Dynamic fees that widen during volatility, auto-rebalancing positions, limit orders, auction mechanisms: all of it is now expressible as a hook instead of a new protocol version.
The migration story
Versions coexist rather than replace. v2 pools still run. v3 positions are NFTs that can be migrated or left alone. v4 pools are deployments identified by hook address, so "the" Uniswap is really a family of them.
For an LP, the practical question is not which version is newest. It is which version's pool gives you the fee income for the amount of attention the position deserves.
The takeaway
v2 traded any token pair passively. v3 made you pay for efficiency with management. v4 made the pool itself programmable. Each version moved work from the protocol to the liquidity provider, and the yield differences between them are the price of that work.