Increase And Decrease Liquidity

An action-oriented guide to Modifying Liquidity in Uniswap v4 Hooks - Learn the core "request and resolve" pattern for managing positions, from signaling your intent to settling the final token balance.


Note:

Last updated on January 5, 2026

1. Understanding the Uniswap v4 Position Manager
A structural primer to Understanding the Uniswap v4 Position Manager - Uncover its role as the essential intermediary between users and the core's reentrancy lock, and see how it tokenizes liquidity into gas-optimized ERC721 NFTs. Duration: 6min
2. Modify Liquidities
An operational deep-dive to Managing Liquidity with the PositionManager Contract - Explore the core unlock-callback pattern that powers all liquidity modifications and learn why actions like `MINT_POSITION` must be paired with `SETTLE` to resolve token debts. Duration: 4min
3. Mint
A transactional breakdown to Understanding Uniswap v4's Flash Accounting for Liquidity Positions - Explore the "create now, pay later" mechanism that separates position creation from token settlement, and master the actions system used to atomically resolve the resulting debt. Duration: 5min
4. Increase And Decrease Liquidity
An action-oriented guide to Modifying Liquidity in Uniswap v4 Hooks - Learn the core "request and resolve" pattern for managing positions, from signaling your intent to settling the final token balance. Duration: 1min
5. Collect Fees
An operational guide to How to Collect Trading Fees in Uniswap v4 - Learn the innovative "zero liquidity trick" that replaces a dedicated `collect()` function, and master the atomic, two-step action chain to withdraw earnings from the Pool Manager. Duration: 1min
6. Delta Resolving Operations
A transactional deep-dive to Delta-Resolving Operations in Uniswap v4 - Learn how `CLOSE_CURRENCY`, `CLEAR_OR_TAKE`, and `SWEEP` finalize interactions, managing unpredictable deltas, gas-saving dust, and slippage-related overpayments. Duration: 2min
7. Permit2
An evolutionary guide to Decoding Permit2 in the Uniswap v4 Codebase - Trace the journey from the inefficient, multi-transaction `approve` pattern to the streamlined `permit` flow, and understand how Permit2 provides a universal solution for all ERC20 tokens. Duration: 7min
9. Subscriber
A security-focused breakdown to Uniswap v4 Subscribers - Explore the architectural shift from risky custodial reward contracts in v3 to the secure, non-custodial notification system introduced in v4. Duration: 6min
10. Exercise Subscriber
Reading Time: 0min
11. Subscriber Code And Gas Limit
An architectural breakdown to The PositionManager Subscription Mechanism - Uncover the mechanics of real-time position event notifications triggered by liquidity modifications, and delve into the critical `unsubscribe` gas limit. Duration: 2min
12. Application Reposition
Reading Time: 0min

Course Overview

About the course

What you'll learn

Difference between Uniswap v3 and v4

Uniswap v4 PoolManager

Uniswap v4 Hooks

Uniswap v4 PositionManager

Uniswap v4 Universal Router

Uniswap v4 Singleton architecture and flash accounting

Uniswap v4 operations and lifecycle

Uniswap v4 multihopping and quoting

How to build a Uniswap v4 swap router

How to build a smart contract a liquidation bot executes

Course Description

Meet your instructors

Tasuku Nakamura

Tasuku Nakamura

Founder at smartcontract.engineer

Smart contract engineer and educator.

Last updated on November 6, 2025