DeFi Saver
Search…
UniswapWithdraw
Action that removes liquidity from a Uniswap pool. This is a standard DFS action.
User needs to approve DSProxy to pull UNIV2 pooled tokens.

Parameters:

  • address tokenA - The contract address of the first used token.
  • address tokenB - The contract address of the second used token.
  • uint256 liquidity - The amount of liquidity tokens being withdrawn.
  • address to - Address to which the underlying tokens are being transferred.
  • address from - Address from which the LP tokens are being pulled from.
  • uint256 amountAMin - The minimum amount of tokenA that must be received for the transaction not to revert.
  • uint256 amountBMin - The minimum amount of tokenB that must be received for the transaction not to revert.
  • uint256 deadline - Unix timestamp after which the transaction will revert.
Last modified 8mo ago
Copy link