DeFi Saver
Action that borrows a token a from the specified Aave V2 market. This is a standard DFS action.


  • address market - Address provider for specific market.
  • address tokenAddr - The address of the token being borrowed.
  • uint256 amount - Amount of tokens being borrowed.
  • uint256 rateMode - Send 1 for stable and 2 for variable borrow rate.
  • address to - Address to which the borrowed tokens are sent to.
  • address onBehalf - Address for which the tokens are being borrowed, defaults to proxy.
Last modified 8mo ago
Copy link