Skip to main content

Nonfungible Position Manager

createCallParameters#

Returns calldata for creating a pool on-chain using an instance of Uniswap's NonfungiblePositionManager contract: https://github.com/Uniswap/v3-periphery/blob/main/contracts/NonfungiblePositionManager.sol

createCallParameters(
pool: Pool! # An off-chain representation of the pool to create on-chain
): MethodParameters!

addCallParameters#

Returns calldata for minting or adding liquidity to a pool on-chain using an instance of Uniswap's NonfungiblePositionManager contract: https://github.com/Uniswap/v3-periphery/blob/main/contracts/NonfungiblePositionManager.sol. Optionally creates the pool if it doesn't exist.

addCallParameters(
position: Position! # Liquidity position to add to pool
options: AddLiquidityOptions! # Required transaction configuration
): MethodParameters!

collectCallParameters#

Returns calldata for collecting liquidity provider rewards using an instance of Uniswap's NonfungiblePositionManager contract: https://github.com/Uniswap/v3-periphery/blob/main/contracts/NonfungiblePositionManager.sol

collectCallParameters(
options: CollectOptions! # Required transaction configuration
): MethodParameters!

removeCallParameters#

Returns calldata for completely or partially exiting a liquidity position using an instance of Uniswap's NonfungiblePositionManager contract: https://github.com/Uniswap/v3-periphery/blob/main/contracts/NonfungiblePositionManager.sol

removeCallParameters(
position: Position! # The position to exit
options: RemoveLiquidityOptions! # Additional information necessary for generating the calldata
): MethodParameters!

safeTransferFromParameters#

Returns calldata for safely transferring an NFT using an instance of Uniswap's NonfungiblePositionManager contract: https://github.com/Uniswap/v3-periphery/blob/main/contracts/NonfungiblePositionManager.sol

safeTransferFromParameters(
options: SafeTransferOptions! # Required transaction configuration
): MethodParameters!