DeFi Saver
Search…
CompClaim
Action that claims COMP token rewards for the user. This is a standard DFS action.
If COMP is claimed for an address that is not the user's DSProxy, the COMP tokens will go directly to that address, regardless what the to address is.

Parameters:

  • address cTokenSupply - Array of cTokens which _from supplied and has earned rewards (not mappable).
  • address cTokenBorrow - Array of cTokens which _from supplied and has earned rewards (not mappable).
  • address from - Address for which the COMP tokens are being claimed for.
  • address to - Address to which the COMP tokens are sent to (if from is proxy).
Last modified 8mo ago
Copy link