Uniswap is the most traded decentralized exchange in the world, consistently processing over $1 billion in daily volume across its deployments. Created by Hayden Adams and launched on Ethereum in November 2018, Uniswap pioneered the automated market maker (AMM) model and has undergone three major iterations, each introducing fundamental innovations in how decentralized liquidity is structured.
Uniswap v1 and v2: The xy=k Foundation
The original Uniswap used a constant product formula: x × y = k, where x and y are the reserves of two tokens and k is a constant. Any trade that preserves this product is valid. This elegantly simple formula allows anyone to trade any ERC-20 token against ETH (v1) or any ERC-20 against any other ERC-20 (v2) without an order book, without counterparties, and without permission.
Liquidity providers in v1 and v2 deposit equal values of both tokens into a pool and receive LP tokens representing their share. They earn fees (0.3%) proportional to their share of every trade. The tradeoff: capital is spread uniformly across the entire price range from zero to infinity — most of it unused at any given moment.
Uniswap v3: Concentrated Liquidity
Uniswap v3, launched in May 2021, introduced concentrated liquidity — the most significant innovation in AMM design since the original xy=k formula. LPs can now specify a price range within which their liquidity is active. A USDC/ETH LP who believes ETH will trade between $1,800 and $2,200 can concentrate their entire liquidity in that range rather than spreading it across all possible prices.
The result: capital efficiency up to 4,000× compared to v2 for stable pairs, and typically 10–100× for volatile pairs when ranges are set thoughtfully. Fee tiers of 0.01%, 0.05%, 0.3%, and 1% accommodate different asset types.
Multiple fee tiers for the same pair now coexist. USDC/USDT primarily trades in the 0.01% pool (stablecoin pairs need minimal fees). ETH/USDC trades mostly in 0.05%. ETH/MEME tokens use 1%.
Uniswap v4: Hooks
Uniswap v4 (launched 2024) introduced "hooks" — external smart contracts that can be attached to any pool to customize its behavior. Hooks execute at defined lifecycle points: before/after swaps, before/after liquidity changes. This enables on-chain limit orders, dynamic fees that adjust to volatility, time-weighted average market maker logic, and custom liquidity mining — all built on top of Uniswap's battle-tested core.
UNI Token and Governance
UNI was airdropped to all historical Uniswap users in September 2020, one of DeFi's most celebrated airdrops. UNI holders govern protocol parameters including fee switch activation (a governance vote could direct a portion of swap fees to the DAO treasury), new feature deployments, and grants from the $1B+ UNI treasury.
The fee switch has been a contentious governance debate for years. Activating it would pay UNI holders a cut of swap fees, but might also make Uniswap less attractive to LPs by reducing their yield.
Arbitrage on Uniswap
Uniswap's price is set by the pool's token ratio, updated only when trades occur. Between large trades, price can drift from CEX reference prices. Arbitrageurs (including MEV bots) continuously correct these discrepancies, earning the difference. During periods of high volatility, price gaps of 0.5–2% between Uniswap and Binance occur frequently, enabling profitable arbitrage.
Cross-DEX arbitrage between Uniswap v3 and Curve is common for stablecoin pairs. When USDC/USDT drifts 0.01% on Uniswap v3 (0.01% fee pool), arbitrageurs route through Curve's 0.01% fee stableswap to correct it. Competition among searchers compresses these opportunities to fractions of a basis point.
