Uniswap V2
简介
Uniswap V2, launched in May 2020, is the second iteration of the Uniswap protocol, a decentralized trading platform on the Ethereum blockchain. Building upon the success of Uniswap V1, V2 introduces significant improvements and new features, enhancing the capabilities of the automated market maker (AMM) model.
Key Features and Improvements
1. ERC20 / ERC20 Pairs
Unlike V1, which only supported ETH-ERC20 pairs, Uniswap V2 allows direct trading between any ERC20 tokens. This feature eliminates the need to route through ETH for every trade, potentially reducing fees and slippage for users.
2. Price Oracles
Uniswap V2 implements a new price oracle functionality that enables highly decentralized and manipulation-resistant on-chain price feeds. This is achieved by measuring prices when they are expensive to manipulate and accumulating historical data.