Submitted by bin2chen
LP has only one way to retrieve token, first decreaseLiquidity(), then retrieve through the collectLiquidity() method.
collectLiquidity() only has one parameter, tokenId.
So LP can only transfer the retrieved token to himself: msg.sender.
This leads to a problem. If LP enters the blacklist of a certain token, such as the USDC blacklist,
Because the recipient cannot be specified (lps[] cannot be transferred), this will cause another token not to be retrieved, such as WETH.
Refer to NonfungiblePositionManager.collect() and UniswapV3Pool.collect(), both can specify recipient to avoid this problem.
collectLiquidity() cannot specify the recipient, causing LP to enter the blacklist of a certain token, and both tokens cannot be retrieved.
wukong-particle (Particle) commented:
0xleastwood (Judge) commented:
wukong-particle (Particle) acknowledged and commented:
