Open snreynolds opened 1 month ago
Decided to provide getters instead of extsload
+ library helpers because
partially closed with https://github.com/Uniswap/v4-periphery/pull/270 where a getter was added to access liquidity
still need a view function for fee growth, which will be useful for integrators and clients
Component
Position Manager
Describe the suggested feature and problem it solves.
This library should use StateLibrary.sol but be specific to querying information about a tokenId's position and should abstract away most under-the-hood logic (like the
tokenId
is used as a salt)WRT this issue, we should maybe consider implementing the mapping from
tokenId => positionId
so this lookup is easier.Also consider adding view functions for calculating fee growth of a specific position.
Describe the desired implementation.
No response
Describe alternatives.
No response
Additional context.
No response