Pool Manager
The singleton contract in Uniswap v4 that manages all pools, liquidity, and swaps in a unified system.
The Pool Manager (PoolManager.sol) is the core singleton contract of Uniswap v4. Unlike previous versions where each token pair required a separate contract deployment, the Pool Manager consolidates all pools into a single contract.
Role in Architecture
It serves as the central hub for:
- Pool State: storing the state of every pool (liquidity, ticks, fees).
- Swapping & Liquidity: handling all swap and liquidity provision logic.
- Hook Integration: managing the lifecycle calls to Hooks.
- Flash Accounting: enforcing the solvency of transactions via certain tracking mechanisms (deltas).
This Singleton Architecture drastically reduces gas costs for pool creation and multi-hop swaps.
Articles Using This Term
Learn more about Pool Manager in these articles:

Uniswap V4 Hooks — Introduction to Hooks — Find the answer to your questions
A comprehensive Q&A on Uniswap v4 Hooks, covering technical implementation, security considerations, and architecture from the Uniswap Hook Incubator Cohort 2.

Uniswap v4 Architecture & Security Analysis: Hooks, Singleton, Flash Accounting
Complete technical analysis of Uniswap v4: hook security, singleton architecture, gas optimization, and developer integration. Learn the security risks and best practices.
Related Terms
Singleton Architecture
A design pattern where all pools are managed within a single unified contract, reducing gas costs.
Hooks
External smart contracts in Uniswap v4 that execute custom logic at specific points in a pool's lifecycle.
Flash Accounting
A gas optimization technique that tracks balance deltas during a transaction and only settles the final net amount.
Need expert guidance on Pool Manager?
Our team at Zealynx has deep expertise in blockchain security and DeFi protocols. Whether you need an audit or consultation, we're here to help.
Get a Quote
