Uniswap V4 Architecture

Explain Uniswap V4 architecture with singleton PoolManager and hook-based customization.

Updated Nov 5, 2025
One-click install
npx skills add https://github.com/cyotee/crane --skill uniswap-v4-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Uniswap V4 Architecture
Source: https://github.com/cyotee/crane/tree/main/.claude/skills/uniswap-v4-architecture
Command: npx skills add https://github.com/cyotee/crane --skill uniswap-v4-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Uniswap V4 Architecture provides a concise, high-level explanation of the architectural shift from V3 to V4, including the singleton PoolManager, hook-based customization, and gas-efficient design.

Core Features & Use Cases

  • Understand the PoolManager singleton and how hooks enable customizable pool behavior.
  • Compare V3 vs V4 differences (pool identity, token handling, fees, and transient storage).
  • Use Case: Quickly brief a team on architecture decisions for a new DEX deployment or integration.

Quick Start

Ask for a concise explanation of the PoolManager singleton and the hooks system.

Frequently Asked Questions about Uniswap V4 Architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the Uniswap V4 singleton PoolManager architecture work?

The Uniswap V4 architecture uses a singleton PoolManager to hold all pool liquidity, reducing deployment gas costs and enabling efficient multi-hop routing through a single contract.

What are Uniswap V4 hooks and how do they customize decentralized exchange pools?

Uniswap V4 hooks are external contracts that execute custom logic at specific pool lifecycle points, enabling dynamic fees, custom oracle implementations, and tailored liquidity management.

What are the main architectural differences between Uniswap V3 and V4?

Uniswap V4 shifts from V3's factory-based pool deployment to a singleton PoolManager, introduces hook-based customization, and utilizes transient storage for gas-efficient token handling.

How does Uniswap V4 use transient storage and ERC6909 tokens?

Uniswap V4 leverages EVM transient storage for flash accounting to reduce gas consumption, while ERC6909 represents multi-token balances within the singleton PoolManager.

Can I use Uniswap V4 architecture concepts for a new decentralized exchange deployment briefing?

Yes, the Uniswap V4 architecture provides concise technical summaries of the PoolManager and hooks system, suitable for briefing teams on architecture decisions for DEX integrations.