💿CompV3Claim
Action that claims reward token for a given market on behalf of someone. This is a standard DFS action.
If the onBehalf
address is 0x0, they default to the address of the DSProxy which called the action.
Parameters:
address market
- main Comet proxy contract that is different for each compound marketaddress onBehalf
- The owner to claim for, defaults to proxyaddress to
- address where to send the claimed tokens tobool shouldAccrue
- if claim action should calculate latest rewards for the block when the transaction is sent (suggestion : always set to true)
Return:
amount of tokens claimed
Last updated