DeFi Saver
Search…
AaveWithdraw
Action that withdraws tokens from the specified Aave V2 market. This is a standard DFS action.
If amount is uint256.max the whole balance of the deposited asset will be the new amount value

Parameters:

  • address market - Address provider for the specific market.
  • address tokenAddr - The address of the token being withdrawn.
  • uint256 amount - Amount of tokens to be withdrawn (send type(uint).max for the whole amount).
  • address to - Address to which the withdrawn tokens will be sent.
Last modified 8mo ago
Copy link