What Is Uniswap? The Uniswap Whitepaper, Explained
The Uniswap whitepaper, first published by Hayden Adams in November 2018, described a radical alternative to centralized crypto trading. Before Uniswap, trading cryptocurrencies required a middleman: a centralized exchange that held your funds, matched your orders with another user's, and charged a fee. The Uniswap whitepaper replaced this with a smart contract and a formula. Instead of matching buyers and sellers, Uniswap uses liquidity pools — shared pools of two tokens that anyone can deposit into and anyone can trade against. The price adjusts automatically based on the ratio of tokens in the pool. Uniswap launched on Ethereum mainnet in November 2018 and is the largest decentralized exchange by volume.
The Problem It Solves
Centralized exchanges carry custodial risk: the exchange holds your funds, and if it is hacked, goes bankrupt, or freezes withdrawals, you lose access. The FTX collapse in 2022 demonstrated this risk at scale.
Before automated market makers (AMMs) like Uniswap, decentralized exchanges attempted to replicate the centralized order book model on-chain. The result was slow, expensive, and illiquid — block times on Ethereum mean matching individual buy and sell orders takes seconds, making on-chain order books uncompetitive with centralized alternatives.
Uniswap solved this by eliminating the order book entirely, replacing it with a constant-product formula (x × y = k) that prices trades algorithmically based on pool reserves.
How It Works
A Uniswap liquidity pool holds two tokens — say, ETH and USDC. The pool is governed by the rule: the product of the two token quantities must remain constant after any trade. If you buy ETH from the pool, you add USDC and remove ETH; the ratio changes, making ETH more expensive for the next buyer. The more you trade relative to pool size, the worse your price — this is called "slippage."
Anyone can provide liquidity by depositing equal values of both tokens. In return, liquidity providers earn a share of the 0.3% trading fee on every swap through that pool.
UNI is Uniswap's governance token, originally minted with a total supply of 1,000,000,000 tokens. In December 2025, governance approved the "UNIfication" proposal, which activated the long-debated fee switch and burned 100 million UNI — reducing the maximum supply to 900,000,000. The protocol now collects a 0.05% fee on swaps (with 0.25% going to liquidity providers), and a February 2026 governance vote extended this fee structure to eight additional Layer 2 chains.
Uniswap v3 introduced concentrated liquidity — providers choose specific price ranges — and v4, which launched on Ethereum mainnet in January 2025, introduced a "hooks" system for custom pool logic. Hooks let developers attach code that runs before or after swaps, enabling dynamic fees, on-chain limit orders, and MEV redistribution. Over 2,500 hook-enabled pools have been created since launch.
Why It Matters
Uniswap created the automated market maker model that now underlies most DeFi trading across every major blockchain. It demonstrated that financial services could be provided by open-source smart contracts rather than licensed entities — eliminating counterparty risk while enabling any two tokens to be traded immediately without a permissioned listing process.
See also:
- Ethereum smart contract platform where Uniswap was born and where most of its trading volume occurs
- Aave decentralized lending protocol sharing the trustless DeFi philosophy with complementary use cases
- Chainlink decentralized oracle network providing price data that complements Uniswap's on-chain TWAP pricing
Continue reading with Pro
Tokenomics breakdown, risk factors, competitive landscape, and advanced technical analysis.
$9/mo after 7 days · Cancel anytime
Categories: DEX, DeFi, AMM, Smart Contract Industries: Finance Description: Uniswap is a decentralized exchange (DEX) on Ethereum using an automated market maker (AMM) model to enable permissionless token swaps without order books or centralized custody.
--- Uniswap — Uniswap v3 [redefines liquidity provision](https://chainclar…
Uniswap is the protocol that established the automated market maker as the foundational primitive for decentralized finance. By replacing order books with algorithmic pricing via liquidity pools, it enabled instant, permissionless token swaps with no custodial risk and no listing requirements. Created by Hayden Adams and launched in November 2018, it has processed trillions of dollars in cumulative trading volume.
Uniswap's significance extends beyond its own platform: the constant-product AMM formula it popularized has been replicated by hundreds of protocols across every major blockchain.
Disclosure: This section is based on Uniswap's whitepapers and public technical documentation.
- Author: Hayden Adams (v1); Hayden Adams, Noah Zinsmeister, Dan Robinson (v2 and v3)
- Type: Technical whitepaper
- Tone: Technical, concise
- Publication date: v1: November 2018; v2: March 2020; v3: March 2021; v4: June 2023 (whitepaper), January 2025 (mainnet launch)
Description: What Does Uniswap Do?
Uniswap provides a permissionless decentralized exchange where any two ERC-20 tokens can be traded directly through automated liquidity pools. The protocol holds no custody of user funds; all trading and liquidity provision occurs through audited smart contracts. No centralized entity controls which tokens can be listed or what fees are charged.
The protocol charges a fee on each swap (0.05%, 0.3%, or 1% depending on pool tier). Since the December 2025 UNIfication proposal, these fees are split: liquidity providers receive the majority (e.g., 0.25% on the standard 0.3% tier), and 0.05% goes to the protocol for UNI token burns. Before UNIfication, 100% of fees went to LPs.
Problem: Why Uniswap Was Developed
On-chain order books were the first approach to decentralized trading, but Ethereum's block time (12-15 seconds) made them unworkable: order matching requires sub-second execution, which is impossible when every action requires an on-chain transaction. This left users dependent on centralized exchanges for practical trading while sacrificing self-custody.
Uniswap's constant-product AMM solved this by making trade execution atomic: a single Ethereum transaction defines the trade, with price determined algorithmically by pool composition. No counterparty needs to be found; the pool is always the counterparty.
Use Cases
- Token swaps: Any ERC-20 token with a liquidity pool can be traded instantly without an account, KYC, or withdrawal process
- Liquidity provision: Token holders earn trading fees by depositing token pairs; v3's concentrated liquidity enables capital-efficient range-based positions
- Protocol treasury management: DAOs use Uniswap to swap between governance tokens and stablecoins for operational needs
- Price discovery: Uniswap's Time-Weighted Average Price (TWAP) oracle provides manipulation-resistant on-chain price data consumed by many DeFi protocols
- New token launches: Projects list new tokens permissionlessly by creating a Uniswap pool with initial liquidity; this replaces the CEX listing process entirely
How Does Uniswap Work? Core Mechanics from the Uniswap Whitepaper
The constant-product formula governs pricing: for a pool holding x tokens of A and y tokens of B, every trade must satisfy x × y = k, where k is a constant. Buying A from the pool removes A and adds B; the ratio shifts, making A more expensive for subsequent buyers. Slippage — the price impact of a trade — increases with trade size relative to pool depth.
Liquidity providers deposit equal dollar values of both tokens and receive LP (liquidity provider) tokens representing their pool share. When they withdraw, they receive the current token ratio plus accumulated fees — which may differ from their deposit ratio if the pool price has shifted. This deviation is called impermanent loss.
Uniswap v3 introduced concentrated liquidity: providers specify a price range for their liquidity. Capital deployed in the active price range earns fees; capital outside the range earns nothing. This dramatically improves capital efficiency for providers who accurately predict the trading range, but creates active management requirements.
Uniswap v4, which launched on Ethereum mainnet on January 31, 2025, introduced "hooks" — arbitrary code that can be called before/after pool operations — enabling custom pool logic (dynamic fees, on-chain limit orders, custom liquidity curves) without forking the protocol. Since launch, developers have created over 2,500 hook-enabled pools. The v4 architecture consolidates all pools into a single "PoolManager" contract (the singleton design), which significantly reduces gas costs for multi-hop swaps. Hooks are particularly relevant for Layer 2 deployments, where lower gas costs make complex hook logic economically viable — enabling use cases like MEV redistribution back to liquidity providers and automated portfolio rebalancing that would be prohibitively expensive on mainnet.
Technical Details
Uniswap is deployed on Ethereum mainnet and multiple L2s (Arbitrum, Optimism, Polygon, Base, and eight additional chains added via the February 2026 governance vote) through governance-approved deployments. v1 through v3 each pool is a separate smart contract; v4 (launched January 31, 2025) consolidates all pools into a single "PoolManager" contract (the singleton design), delivering significant gas savings — particularly for multi-hop swaps that previously required transfers between separate pool contracts.
The TWAP oracle mechanism records cumulative price-times at each block; any external consumer can compute the average price over any historical window without trusting a third party. This makes Uniswap price data useful as a manipulation-resistant reference for other smart contracts, though it is less suitable for low-liquidity or low-volume pairs.
Uniswap Tokenomics
UNI was minted with a total supply of 1,000,000,000 tokens in September 2020. In December 2025, the UNIfication governance proposal burned 100 million UNI, reducing the maximum supply to 900,000,000.
UNI Allocation at Launch
| Recipient | Share | Tokens | Vesting |
|---|---|---|---|
| Community (airdrop + treasury + grants) | 60.00% | 600,000,000 | Airdrop immediate; treasury under governance |
| Team and future employees | 21.51% | 215,100,000 | 4-year linear, 1-year cliff |
| Investors | 17.80% | 178,000,000 | 4-year linear, 1-year cliff |
| Advisors | 0.69% | 6,900,000 | 4-year linear, 1-year cliff |
All team, investor, and advisor vesting concluded in September 2024. Approximately 430 million UNI remains in the community treasury under governance control. No additional UNI can be minted — the supply is permanently fixed (now at 900M post-burn).
Fee Switch (Now Active)
For years, 100% of swap fees went to liquidity providers, and the protocol itself earned nothing. The built-in "fee switch" — a mechanism to redirect part of LP fees to the protocol — was debated in governance from 2021 to 2025 but blocked by regulatory concerns about creating a securities classification risk.
In December 2025, the UNIfication proposal passed with 99.9% support (125 million UNI in favor). It activated the fee switch on Ethereum mainnet: LPs now receive 0.25% per swap (down from 0.30%), and 0.05% goes to the protocol for UNI token burns. The proposal also eliminated the separate 0.15% front-end fee Uniswap Labs had charged through its interface since 2023, and consolidated the Uniswap Foundation's operations into Uniswap Labs. Governance created an annual growth budget of 20 million UNI (distributed quarterly) starting January 2026.
In February 2026, a follow-up governance vote extended the fee switch to eight additional Layer 2 chains, making protocol fee collection the default for all new pools across the Uniswap deployment footprint.
Key Uniswap Characteristics
- Decentralization: Fully permissionless; no listing authority; governance by UNI holders
- Anonymity: Standard pseudonymous addresses; no KYC required
- Security: Multiple audits per version; the constant-product formula is simple and well-understood, reducing bug surface; v4 hooks introduce new complexity
- Transparency: All pool states and trades are publicly verifiable on-chain
- Immutability: Core AMM contracts are immutable once deployed; upgrades require new contract deployments
- Scalability: Multi-chain deployment; v4 gas optimizations reduce per-swap cost
- Supply control: Fixed 900M UNI supply (post-100M burn); no inflation; no additional minting possible
- Interoperability: Multi-chain deployment; Uniswap v4's Universal Router enables multi-hop, multi-chain swaps in single transactions
Glossary
- Key Terms: automated market maker (AMM), constant-product formula (x × y = k), liquidity pool, liquidity provider (LP), slippage, impermanent loss, concentrated liquidity, TWAP oracle, fee switch, hooks, price range, LP token
- Other Terms: swap, tick, PoolManager, Universal Router, governance, protocol fee, ERC-20, flash swap, multi-hop
Disclosure: This section uses external knowledge.
What the Uniswap Whitepaper Says — and How It Evolved
Uniswap's v1 whitepaper was deliberately minimal — a proof of concept demonstrating that the constant-product formula could create a functional decentralized exchange. Subsequent versions (v2, v3, v4) added progressively more complex mechanisms. The v3 whitepaper's concentrated liquidity model was a significant theoretical contribution to AMM design; subsequent protocols (Curve v2, Balancer v2) incorporated comparable mechanisms.
The constant-product formula's primary limitation — that capital is deployed across the entire price range from 0 to infinity — was the problem v3's concentrated liquidity directly addresses. However, v3's capital efficiency gains come with impermanent loss complexity that has proven challenging for passive retail liquidity providers.
What Uniswap Is Like
Non-crypto:
- Currency exchange kiosk at an airport: The kiosk holds reserves of multiple currencies and quotes prices based on its current inventory — no need to find another traveler willing to trade; you trade against the kiosk's pool
- Open commodity market: Any pair of tokens can be listed without permission, analogous to how commodity markets enable trading of any standardized good without a central authority approving new listings
Crypto:
- PancakeSwap: BNB Chain's primary AMM, which cloned Uniswap v2's codebase and incentivized adoption through CAKE token rewards
- Curve Finance: Specialized AMM for stable-asset swaps (stablecoins, wrapped tokens) using a different formula optimized for low-slippage stable-to-stable trading
Critical Analysis
Uniswap's core vulnerability is impermanent loss: liquidity providers can lose value relative to simply holding the two tokens if prices diverge significantly. v3's concentrated liquidity amplifies this risk — providers in a tight range suffer greater impermanent loss than v2 providers if the price exits their range. This has discouraged passive retail liquidity provision and concentrated LP activity among sophisticated market makers and algorithms.
The fee switch was activated in December 2025, directing protocol fees to UNI burns rather than direct distribution to holders — a structure designed to reduce securities classification risk. Whether this burn-based mechanism (as opposed to direct fee distribution) provides sufficient legal differentiation remains an open question as regulatory frameworks for DeFi governance tokens continue to evolve. The activation also reduced LP fee share from 0.30% to 0.25%, which could push marginal liquidity to competitors if the fee reduction becomes significant enough to affect LP returns.
FAQs
Q: What is impermanent loss? A: Impermanent loss occurs when the price of tokens in a liquidity pool changes after deposit. Because the AMM automatically rebalances the pool to maintain the constant product, the liquidity provider ends up holding more of the depreciating token and less of the appreciating one versus simply holding both. The loss is "impermanent" because it reverses if prices return to the original ratio, but becomes permanent if the provider withdraws at a different price point.
Q: What makes Uniswap v3 more capital efficient than v2? A: In v2, every liquidity provider's capital is spread across the full price range (0 to infinity). In practice, the vast majority of trading happens in a narrow price range, meaning most liquidity is idle. v3 lets providers concentrate capital in specific price ranges, meaning less capital can support the same trading volume within those ranges — improving fee-earning efficiency for in-range capital.
Q: What are Uniswap v4 hooks? A: Hooks are smart contracts that can be called before or after specific pool operations (swaps, liquidity changes). This allows developers to build custom AMM logic — dynamic fees, on-chain limit orders, MEV capture, custom oracle logic — directly into pools without forking Uniswap. It transforms Uniswap from a single product into a platform for AMM experimentation.
Q: How does the TWAP oracle resist manipulation? A: The Time-Weighted Average Price oracle computes the average price over a specified historical window (e.g., 30 minutes). Manipulating it requires maintaining an artificial price throughout the entire window, which requires sustained large trades against the pool — expensive for the attacker and detectable by monitoring. Unlike spot price reads, TWAP is resistant to single-block flash loan manipulation.
Q: Has the Uniswap fee switch been activated? A: Yes. In December 2025, governance passed the UNIfication proposal with 99.9% support, activating the fee switch on Ethereum mainnet. The protocol now collects 0.05% per swap (LPs receive 0.25%, down from 0.30%), with protocol fees directed to UNI token burns. In February 2026, a follow-up vote extended the fee switch to eight additional Layer 2 chains. The same proposal also burned 100 million UNI and eliminated the separate front-end fee Uniswap Labs had charged through its web interface.
Takeaways
- The constant-product formula (x × y = k) is elegant: it requires no order matching, always provides liquidity at some price, and adjusts automatically to market pressure through slippage
- Impermanent loss is the core cost of passive liquidity provision; it is not unique to Uniswap but is amplified by v3's concentrated liquidity model in volatile market conditions
- v4 hooks transform Uniswap from a fixed-logic AMM into an extensible platform; this is architecturally significant for DeFi composability but also introduces smart contract complexity risk for hook-integrated pools
- UNI's fee switch was activated in December 2025 after years of governance debate; the protocol now collects 0.05% per swap directed to UNI burns, transforming UNI from a pure governance token into a deflationary asset with protocol revenue backing
- Uniswap's 900M fixed supply (post-100M burn) means no dilution; ongoing protocol fee revenue funds further burns, creating a deflationary dynamic tied to trading volume
What's next? For a deeper understanding of AMM mechanics, compare Uniswap's constant-product formula with Curve Finance's stableswap formula, which optimizes for minimal slippage between pegged assets. For the full picture on how UNI voting works, the UNIfication decision, and who actually controls the protocol, see our Uniswap Governance explainer. To see how Uniswap fits into the broader DeFi stack — lending, aggregators, liquid staking — read our DeFi protocols guide.
Last updated: June 10, 2026. This page reflects the December 2025 UNIfication proposal (fee switch activation + 100M UNI burn), v4 mainnet launch (January 2025), and the February 2026 multi-chain fee expansion vote.
Explore The Competition
- 1inch Network DEX aggregator that routes trades across Uniswap and other liquidity sources for best-price execution
- Curve Finance specialized AMM for stablecoin and pegged-asset swaps with a formula optimized for minimal slippage between similar-priced assets
- PancakeSwap Uniswap-model AMM deployed on BNB Chain with CAKE token incentives
- Balancer multi-token weighted pool AMM enabling custom token ratios beyond Uniswap's 50/50 model
See Other Notable Projects
- Chainlink decentralized oracle network providing price data used alongside Uniswap TWAP in DeFi protocols
- Aave decentralized lending protocol complementing Uniswap by enabling leveraged trading and yield on the same assets
- Ethereum smart contract platform whose EVM enables Uniswap's permissionless contract execution
Deep Dive analysis
Keep exploring:
Related explanations
You just read Uniswap
Here’s what’s related:
MidnightNIGHTMidnight (MDT) is a cryptocurrency . Users are able to generate MDT through the process of mining. Midnight has a current supply of 1,451,629. The last known price of Midnight is 0.00011339 USD and is up 0.15 over the last 24 hours.
LayerZeroZROLayerZero [enables seamless cross-chain transactions and state transitions](https://chainclarity.io/layerzero).
BaseETH🔷 Layer 2Base is Coinbase's Ethereum L2 built on the OP Stack. It offers sub-cent fees, EVM compatibility, and direct on-ramps from Coinbase, making it one of the fastest-growing L2 networks.



