After two years of development and multiple audits, Uniswap v4 is live on Ethereum mainnet. The first 24 hours shattered expectations: $1.2 billion in trading volume, 47 hook contracts deployed, and $820 million in liquidity migrated from v3. The hook system — the headline feature — is already enabling DeFi primitives that were previously impossible on-chain.
What are hooks and why do they matter?
Hooks are smart contracts that can be attached to any Uniswap v4 liquidity pool and execute custom logic at specific points in the swap lifecycle: before/after a swap, before/after liquidity is added or removed. This transforms Uniswap from a fixed AMM into a programmable trading infrastructure layer.
Examples of what hooks enable: fully on-chain limit orders that execute at exact price points; dynamic fee tiers that adjust based on volatility; TWAP oracles baked directly into the pool; MEV capture that returns value to liquidity providers instead of validators.
"Hooks are to Uniswap v4 what App Store was to iPhone. We're not just improving the DEX — we're building a platform for the next generation of DeFi protocols."— Hayden Adams, Uniswap founder
Singleton architecture: the gas revolution
Beyond hooks, v4 introduces a radical architectural change: all pools now live inside a single smart contract. In v3, each pool was a separate contract — meaning multi-hop swaps required multiple external calls and token transfers. In v4, a 3-hop swap costs about the same gas as a single-hop in v2.
Gas cost comparison: Uniswap versions
| Operation | v2 | v3 | v4 | Savings vs v3 |
|---|---|---|---|---|
| Single swap | ~110k gas | ~130k gas | ~10k gas | 92% |
| 3-hop swap | ~320k gas | ~380k gas | ~18k gas | 95% |
| Add liquidity | ~150k gas | ~220k gas | ~40k gas | 82% |
| Flash swap | ~130k gas | ~160k gas | ~8k gas | 95% |
Liquidity migration: v3 to v4
Within 24 hours, $820M moved from v3 to v4 pools. The top migrated pools are ETH/USDC ($312M), ETH/USDT ($198M), and WBTC/ETH ($158M). Uniswap Labs' migration tool handled the process without LPs having to manually remove and re-add positions — a seamless UX that accelerated adoption.
However, v3 is far from dead. Many protocols built on top of v3 infrastructure will take months to migrate. The Uniswap team has stated v3 will remain fully functional and supported.
Market reaction: UNI and the competitive landscape
UNI token gained 0.8% on launch day — a modest move for such a major release. The muted price action suggests the upgrade was already priced in after months of testnet activity and audits. Long-term, v4's fee-generating potential is significantly higher: hooks allow custom fee structures, and the protocol fee switch — if activated by governance — could direct substantial revenue to UNI holders.
Competitors Curve, Balancer, and PancakeSwap have all announced v4-compatible features. The AMM wars enter a new phase focused on programmability rather than fees alone.