📘 UNISWAP V2


1. 🎯 Motivation: Why V2?

V1 was genius, but quirky:

The mission of V2 was simple: make swaps more direct, composable, and secure while keeping the elegance of AMMs.


2. 🏗️ Key Architectural Changes

🔹 Direct ERC20 ↔ ERC20 Pairs

💡 This was the single biggest fix to V1 inefficiency.


🔹 Price Oracles (Time-Weighted Average Price, TWAP)