NonfungibleTokenPositionDescriptor

Describes NFT token positions Produces a string containing the data URI for a JSON metadata string

Variables

address WNativeToken immutable

Functions

constructor

constructor(address) public

NameTypeDescription

_WNativeToken

address

tokenURI

tokenURI(contract INonfungiblePositionManager,uint256) view external

Produces the URI describing a particular token ID for a position manager

NameTypeDescription

positionManager

contract INonfungiblePositionManager

The position manager for which to describe the token

tokenId

uint256

The ID of the token for which to produce a description, which may not be valid

Returns:

NameTypeDescription

[0]

string

flipRatio

flipRatio(address,address,uint256) view public

NameTypeDescription

token0

address

token1

address

chainId

uint256

Returns:

NameTypeDescription

[0]

bool

tokenRatioPriority

tokenRatioPriority(address,uint256) view public

NameTypeDescription

token

address

chainId

uint256

Returns:

NameTypeDescription

[0]

int256