DeFi Saver
Search…
UniSupplyV3
Action that increases liquidity to a 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:

  • uint256 tokenId - The ID of the token for which liquidity is being increased.
  • 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.
  • 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).
  • address token0 - The contract address of the first used token.
  • address token1 - The contract address of the second used token.
Use uint256.max for amount0Desired and amount1Desired to supply your whole balance
Last modified 6mo ago
Copy link