The Uniswap V3 implementation does not impose any authorization based control on its NonfungiblePositionManager::increaseLiquidity function, causing the NonfungiblePositionManager implementation of Pearl Finance V2 to be potentially incompatible with the Uniswap V3 ecosystem.
We advise the Pearl Finance team to carefully consider this restriction and the impact it may have with their partners and the projects they wish to integrate with.
The isAuthorizedForToken check has been implemented to prevent unauthorized liquidity additions while an NFT is staked in the gauge. Only the owner of the NFT has the privilege to increase the liquidity.
NPM-01M: Potential Uniswap V3 Ecosystem Incompatibility
Description:
The Uniswap V3 implementation does not impose any authorization based control on its
NonfungiblePositionManager::increaseLiquidity
function, causing theNonfungiblePositionManager
implementation of Pearl Finance V2 to be potentially incompatible with the Uniswap V3 ecosystem.Example:
Recommendation:
We advise the Pearl Finance team to carefully consider this restriction and the impact it may have with their partners and the projects they wish to integrate with.