MorphoBlueClaim
Last updated
Was this helpful?
Was this helpful?
/// @param to The address to which to send the reward tokens.
/// @param token The address of the token to claim.
/// @param distributor The address of the morpho distributor contract.
/// @param claimable The overall claimable amount of token rewards.
/// @param merkleProof The merkle proof to claim the rewards.
struct Params {
address to;
address token;
address distributor;
uint256 claimable;
bytes32[] merkleProof;
}return bytes32(claimed);emit ActionEvent("MorphoBlueClaim", logData);
logger.logActionDirectEvent("MorphoBlueClaim", logData);
bytes memory logData = abi.encode(params);