💿CompV3Borrow

Action that borrows a token from a Compound market. This is a standard DFS action.

Parameters:

  • address market - main Comet proxy contract that is different for each compound market

  • amount256 amount - amount of tokens to borrow

  • address to - address where to send the borrowed tokens to

Return:

  • amount of tokens borrowed

Last updated