### Decrease Liquidity Once a user has a position created by the NonfungiblePositionManager, if they decide to decrease liquidity, they will call the function `decreaseLiquidity`. ```javascript decreaseLiquidity ``` This function will be called on the NonfungiblePositionManager. Next, the NonfungiblePositionManager will call the function `burn` on the UniswapV3Pool contract. ```javascript burn ``` When the function `burn` is called on UniswapV3Pool, it decreases liquidity, but doesn't transfer the tokens. When the user calls the `decreaseLiquidity` function, which calls the `burn` function, no token is transferred over to the user. To actually transfer the tokens, the user will call another function called `collect`. ```javascript collect ```
Once a user has a position created by the NonfungiblePositionManager, if they decide to decrease liquidity, they will call the function decreaseLiquidity.
This function will be called on the NonfungiblePositionManager. Next, the NonfungiblePositionManager will call the function burn on the UniswapV3Pool contract.
When the function burn is called on UniswapV3Pool, it decreases liquidity, but doesn't transfer the tokens. When the user calls the decreaseLiquidity function, which calls the burn function, no token is transferred over to the user. To actually transfer the tokens, the user will call another function called collect.
A detailed explanation of the decrease liquidity function in Uniswap V3. The lesson covers the two main functions involved in the decrease liquidity process: 'decreaseLiquidity' and 'burn'. The video walks through each function, detailing how the process works and how tokens are transferred.
Previous lesson
Previous
Next lesson
Next
Course Overview
About the course
Concentrated liquidity and derive its equations
Uniswap V3 math
How to calculate the spot price of tokens
Single and multi position swapping
Factory contract architecture
How to calculate liquidity requirements
Uniswap V3 fee algorithm
Flash loans
TWAP price oracle
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Blockchain Financial Analyst
$100,000 - $150,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on August 11, 2025
Duration: 4min
Duration: 36min
Duration: 25min
Duration: 23min
Duration: 1h 43min
Duration: 11min
Duration: 1h 04min
Duration: 12min
Duration: 52min
Duration: 42min
Duration: 10min
Duration: 8min
Course Overview
About the course
Concentrated liquidity and derive its equations
Uniswap V3 math
How to calculate the spot price of tokens
Single and multi position swapping
Factory contract architecture
How to calculate liquidity requirements
Uniswap V3 fee algorithm
Flash loans
TWAP price oracle
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Blockchain Financial Analyst
$100,000 - $150,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on August 11, 2025