DeFi Saver
Search…
UniWithdrawV3
Action that decreases the amount of liquidity in a position and accounts it to tokens owed in to the position, and then collects up to a maximum amount of tokens owed to a specific position to the recipient. This is a standard DFS action.
User needs to approve DSProxy to manage NFT

Parameters:

  • uint256 tokenId - The ID of the token for which liquidity is being increased.
  • uint128 liquidity - The amount by which liquidity will be decreased.
  • uint256 amount0Min - The minimum amount of token0 that should be accounted for the burned liquidity.
  • uint256 amount1Min - The minimum amount of token1 that should be accounted for the burned liquidity.
  • uint256 deadline - The time by which the transaction must be included to effect the change.
  • address recipient - The account that should receive the tokens.
  • uint128 amount0Max - The maximum amount of token0 to collect.
  • uint128 amount1Max - The maximum amount of token1 to collect.
Use uint128.max for amount0Max or amount1Max in order to pull all tokens owed
Last modified 6mo ago
Copy link