Uniswap V2


Uniswap is one of the largest decentralized exchanges that allows anyone to trade crypto assets and provide liquidity to earn trading fees. Uniswap v2 allows users to buy and sell ERC-20 tokens using an automated market maker (AMM) model and liquidity pools.

Risk Rating
Protocol Code Quality
Protocol Maturity
Protocol Design
What we like
The team at Uniswap transformed the concept of a decentralized exchange (DEX) into one of the most game changing DeFi building blocks created thus far.
What we like less
The developer team still has a lot of control on the protocol's future through back-door switches and difficult governance thresholds.
What it means for you
Uniswap is the most popular DEX in DeFi, and provides an amazing opportunity for you to generate yield through market making given the high volumes at low risk.
Key Metrics
  • TVL: $1.2B (Rank #14)
  • TVL Ranking by Dexes: #4
  • Blockchain: Ethereum
  • Chain TVL
    • Ethereum: $1.17B
Risk Assessment
Protocol Code Quality
  • Code reviewed by at least one experienced auditor; ConsenSys Diligence audited in January 2019
  • Public team promotes accountability
  • No documented protocol hacks since launch
Protocol Maturity
  • Core protocol launched in 2018; maturity over two years minimizes technical risk as smart contracts are amongst the most battle-tested
  • Top 5% by total value locked reduces risk
  • Decentralized governance increases transparency
  • Low voting power concentration reduces risk
Protocol Design
  • No concerns identified
  • Uniswap is one of the most copied protocols in DeFi as it pioneered the concept of automated market makers (AMMs), as well as the concept of concentrated liquidity (Uni V3) that lets you choose your own price range to provide liquidity
Things to know about Uniswap V2

How Uniswap V2 works

Uniswap enables the creation of liquidity pools to swap one token for another. Investors can provide liquidity in pools directly from their wallets and earn yield on swaps. All interactions with Uniswap are fully transparent as they are on-chain. It is based on the Automated Market Maker (AMM) model which uses a constant product curve (x * y = k) to determine the exchange rate based on the ratio between the two assets, the trade size and the amount of liquidity within the pool. The liquidity pools charge a fee on every trade. The latest version (Uniswap V3) offers users the ability to select the lower and upper price ranges where they wish to provide liquidity on a specific pool (a.k.a. concentrated liquidity).

How Uniswap V2 makes money

Uniswap makes money via protocol fees that can be optionally turned on by UNI holders through a community governance proposal. Whenever a liquidity pool is created, protocol fees are set to 0 by default. Uniswap could then receive a fraction of these transaction fees. Currently, the protocol does not charge protocol fees and all fees are earned by liquidity providers.

How you make money on Uniswap V2

In order to incentivize users to create trading markets on their platform, Uniswap must pay these users who are providing liquidity into these pools in the form of swap fees. Uniswap currently distributes all of the swap fees earned for each pool directly to the liquidity providers that is proportional to the amount they deposited. For Uniswap V2, there is a 0.3% fee for swapping tokens that is fully allocated to liquidity providers.

Uniswap V2 Pools