function limitPositions(uint256 tokenId) external view returns (struct ILimitOrderManager.LimitPosition position, address token0, address token1)
view external
Name | Type | Description |
---|---|---|
Returns:
Name | Type | Description |
---|---|---|
function decreaseLimitOrder(uint256 tokenId, uint128 liquidity) external payable
payable external
Name | Type | Description |
---|---|---|
function collectLimitOrder(uint256 tokenId, address recipient) external payable returns (uint256 amount0, uint256 amount1)
payable external
Name | Type | Description |
---|---|---|
Returns:
function addLimitOrder(struct ILimitOrderManager.addLimitOrderParams params) external payable returns (uint256 tokenId)
payable external
Returns:
function burn(uint256 tokenId) external payable
payable external
Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens must be collected first.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
tokenId
uint256
position
struct ILimitOrderManager.LimitPosition
token0
address
token1
address
tokenId
uint256
liquidity
uint128
tokenId
uint256
recipient
address
amount0
uint256
amount1
uint256
params
struct ILimitOrderManager.addLimitOrderParams
tokenId
uint256
tokenId
uint256
The ID of the token that is being burned