Uniswap V2 Core: Decentralized exchange smart contracts
Core smart contracts for Uniswap V2 AMM protocol handling liquidity pools, token swaps, and fee collection.
Learn more about Uniswap V2 Core
Uniswap V2 Core is a collection of Ethereum smart contracts that implement an automated market maker (AMM) protocol for decentralized token trading. The system uses a constant product formula (x * y = k) to determine exchange rates and maintains liquidity through user-contributed token pairs stored in smart contract pools. The contracts are written in Solidity and include factory contracts for creating new trading pairs, pair contracts for managing individual liquidity pools, and ERC20 token implementations for liquidity provider tokens. The protocol is commonly used for decentralized token swapping, liquidity provision, and as infrastructure for other DeFi applications.
Constant Product AMM
Implements the x * y = k automated market maker formula for price discovery and liquidity management. This mathematical model ensures continuous liquidity availability for token swaps.
Factory Pattern Architecture
Uses a factory contract system to programmatically deploy new trading pair contracts. This allows for permissionless creation of markets for any ERC20 token pair.
LP Token System
Issues ERC20 liquidity provider tokens that represent proportional ownership in liquidity pools. These tokens can be transferred, traded, or used as collateral in other protocols.
See how people are using Uniswap V2 Core
Related Repositories
Discover similar tools and frameworks used by developers
go-libp2p
A modular peer-to-peer networking stack for Go applications, providing transport protocols and network services.
Solady
Collection of gas-optimized Solidity smart contract implementations for Ethereum development.
Polkadot SDK
Complete development kit for building blockchains and parachains on the Polkadot network ecosystem.
AvalancheGo
Go-based node implementation for the Avalanche blockchain network with high throughput transaction processing.
Aave V3 Core
Smart contracts for Aave Protocol V3, a decentralized liquidity market for lending and borrowing cryptocurrencies.