NonfungiblePositionManager

해당 컨트랙트는 ERC721 대체 불가능한 토큰 인터페이스의 KLAYswap V3 포지션을 wrapping합니다.

Code

Github Link: (Will be updated after official launch)

Address

Events, Read-Only Functions, and State-Changing Functions

Events

IncreaseLiquidity

event IncreaseLiquidity(
    uint256 indexed tokenId, 
    uint128 liquidity, 
    uint256 amount0, 
    uint256 amount1
);

포지션 NFT에 대한 유동성 증가 시 발생 또한 토큰이 발행될 때 방출됩니다.

Parameters:

NameTypeDescription

tokenId

uint256

The ID of the token for which liquidity was increased

liquidity

uint128

The amount by which liquidity for the NFT position was increased

amount0

uint256

The amount of token0 that was paid for the increase in liquidity

amount1

uint256

The amount of token1 that was paid for the increase in liquidity

DecreaseLiquidity

event DecreaseLiquidity(
    uint256 indexed tokenId, 
    uint128 liquidity, 
    uint256 amount0, 
    uint256 amount1
);

포지션 NFT에 대한 유동성 감소 시 발생

Parameters:

NameTypeDescription

tokenId

uint256

The ID of the token for which liquidity was decreased

liquidity

uint128

The amount by which liquidity for the NFT position was decreased

amount0

uint256

The amount of token0 that was accounted for the decrease in liquidity

amount1

uint256

The amount of token1 that was accounted for the decrease in liquidity

Collect

event Collect(
    uint256 indexed tokenId, 
    address recipient,
    uint256 amount0, 
    uint256 amount1,
    uint256 reward
);

포지션 NFT에 대한 토큰이 수집될 때 발생합니다. 보고된 금액은 반올림 동작으로 인해 이체된 금액과 정확히 일치하지 않을 수 있습니다.

Parameters:

NameTypeDescription

tokenId

uint256

포지션 NFT ID

recipient

address

수집된 토큰을 받은 계정의 주소

amount0

uint256

수집된 포지션에 빚진 token0의 양

amount1

uint256

수집된 포지션에 빚진 token1의 양

Last updated