Action that supplies a token to a Compound market. This is a standard DFS action.

User needs to approve the DSProxyto pull the tokens (tokenAddr)

If amount is uint256.max the whole proxy balance will be used.


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

  • address tokenAddr - address of the token we are supplying

  • amount256 amount - amount to supply

  • address from - address where we are pulling the tokens from


  • amount of tokens supplied

Last updated