NFTPositionInfo
Encapsulates the logic for getting info about a NFT token ID
Functions
getPositionInfo
Parameters:
Name | Type | Description |
---|---|---|
| contract IDragonswapV2Factory | The address of the DragonswapV2 Factory used in computing the pool address |
| contract INonfungiblePositionManager | The address of the nonfungible position manager to query |
| uint256 | The unique identifier of an DragonswapV2 LP token |
Return Values:
Name | Type | Description |
---|---|---|
| IDragonswapV2Pool | The address of the DragonswapV2 pool |
| int24 | The lower tick of the DragonswapV2 position |
| int24 | The upper tick of the DragonswapV2 position |
| uint128 | The amount of liquidity staked |
Last updated