Uniswap V3 Core: Automated market maker contracts
Core smart contracts for the Uniswap V3 decentralized exchange protocol on Ethereum.
Learn more about Uniswap V3 Core
Uniswap V3 Core is a collection of smart contracts that implement the core functionality of the Uniswap V3 automated market maker protocol. The contracts handle liquidity pool creation, token swapping, and concentrated liquidity management through a factory pattern and individual pool contracts. The implementation uses advanced mathematical algorithms for price calculation and fee distribution across different price ranges. These contracts serve as the foundation for decentralized token trading and liquidity provision on Ethereum.
Concentrated Liquidity
Allows liquidity providers to specify price ranges for their capital, increasing capital efficiency compared to uniform distribution models.
Multiple Fee Tiers
Supports different fee structures for trading pairs, enabling optimized pricing for various asset types and volatility levels.
Factory Architecture
Uses a factory contract pattern to deploy and manage individual pool contracts, ensuring consistent implementation across all trading pairs.
import {
abi as FACTORY_ABI,
bytecode as FACTORY_BYTECODE,
} from '@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json'
// Deploy the factory contract
const factory = await ethers.getContractFactory(FACTORY_ABI, FACTORY_BYTECODE);
const deployedFactory = await factory.deploy();
await deployedFactory.deployed();
console.log('Uniswap V3 Factory deployed to:', deployedFactory.address);Related Repositories
Discover similar tools and frameworks used by developers
Uniswap v4 Core
Core smart contracts for Uniswap v4's extensible and customizable automated market maker pools.
Aave V3 Core
Smart contracts for Aave Protocol V3, a decentralized liquidity market for lending and borrowing cryptocurrencies.
Wormhole
Reference implementation of the Wormhole protocol for cross-chain blockchain interoperability and asset transfers.
Agave
Blockchain validator software designed for fast, secure, and scalable decentralized applications and marketplaces.
AvalancheGo
Go-based node implementation for the Avalanche blockchain network with high throughput transaction processing.
Related Reading
Guides and comparisons from the Greptile content library
The 7 Best AI Coding Tools for Complex Codebases
The best AI coding tools for complex codebases, ranked on accuracy, suggestion quality, and full-codebase context. See which ones you can actually trust.
Best AI Code Review Tools for GitLab
Enterprise-grade AI code review tools for GitLab teams. In-depth comparison of accuracy, security, and integration features to accelerate your merge request workflows.
How to ACTUALLY Think About Code Reviews: The 3-Layer Checklist
A code review checklist and best practices organized around three layers — Mechanical, Structural, and Narrative — that help any team improve code quality without slowing reviews down.
9 Best Pull Request Automation Tools [2026]
Nine pull request automation tools compared on features, use cases, pricing, and user feedback, so you can work out which one closes the gap between how fast your team writes code and how fast it can review it.