DeFi Saver
Search…
UniMintV3
Action that mints an NFT representing Uniswap V3 liquidity provider position. This is a standard DFS action.
User needs to approve DSProxy to pull tokens to provide liquidity to the position

Parameters:

  • address token0 - The contract address of the first used token.
  • address token1 - The contract address of the second used token.
  • uint24 fee - The fee associated with the pool.
  • int24 tickLower - The lower end of the tick range for the position.
  • int24 tickUpper - The higher end of the tick range for the position.
  • uint256 amount0Desired - The desired amount of token0 to be spent.
  • uint256 amount1Desired - The desired amount of token1 to be spent.
  • uint256 amount0Min - The minimum amount of token0 to spend, which serves as a slippage check.
  • uint256 amount1Min - The minimum amount of token1 to spend, which serves as a slippage check.
  • address recipient- The account that receives NFT ownership.
  • uint256 deadline - The time by which the transaction must be included to effect the change.
  • address from - Address from which tokens will be pulled(must be approved).
Use uint256.max for amount0Desired and amount1Desired to supply your whole balance
Last modified 6mo ago
Copy link