Claim rewards of token type from a comet instance to a target address.
Action ID
0xf8470345
SDK Action
const compoundV3ClaimAction = new dfs.actions.compoundV3.CompoundV3ClaimAction(
market,
onBehalfOf,
to,
shouldAccrue
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param market Main Comet proxy contract that is different for each compound market
/// @param onBehalf The owner to claim for, defaults to user's wallet
/// @param to The address to receive the rewards
/// @param shouldAccrue If true, the protocol will account for the rewards owed to the account as of the current block before transferring
struct Params {
address market;
address onBehalf;
address to;
bool shouldAccrue;
}