You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in V4-periphery, PositionInfo represents an identifier for the NFT position. I think it would be helpful is there was more distinction between a raw Uniswap Position, and the tokenized ERC721 Position, so when you're interacting with the PoolManager and PositionManager, these concepts are not so difficult to keep track of.
Component
No response
Describe the suggested feature and problem it solves.
getPositionInfo
returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128)
https://github.com/Uniswap/v4-core/blob/main/src/libraries/StateLibrary.sol#L230
but in V4-periphery,
PositionInfo
represents an identifier for the NFT position. I think it would be helpful is there was more distinction between a raw UniswapPosition
, and the tokenized ERC721Position
, so when you're interacting with thePoolManager
andPositionManager
, these concepts are not so difficult to keep track of.https://github.com/Uniswap/v4-periphery/blob/ad04c9f24a170accf5ea1b2836bbafd514537ca6/src/interfaces/IPositionManager.sol#L67C5-L67C81
Describe the desired implementation.
Some adjustment to the naming convention would be helpful to make it easier to remember this distinction.
Describe alternatives.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: