CompV3Claim
Last updated
/// @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;
}return bytes32(compClaimed);emit ActionEvent("CompV3Claim", logData);
logger.logActionDirectEvent("CompV3Claim", logData);
bytes memory logData = abi.encode(params);