Learn the Difference Between UniswapV2 Core and Periphery Contracts in 1 Minute

Sabit
Auditor Brainpower
Published in
1 min readJan 24, 2024

--

Learn the Difference Between UniswapV2 Core and Periphery Contracts in 1 Minute
Photo by Possessed Photography on Unsplash

UniswapV2 has two arms of contracts — core and periphery.

Core Contracts:

  • UniswapV2Pair — Implements the liquidity pool and constant product AMM swapping logic for a pair of tokens.
  • UniswapV2Factory — Deploys UniswapV2Pair contracts and keeps a record of all pairs.

--

--