IRewardDistributor

Git Source

Functions

addRewards

function addRewards(address[] calldata users, uint256[] calldata amounts) external;

claim

function claim() external;

Events

AddedRewards

event AddedRewards(address indexed rewardProvider, address indexed user, uint256 amount);

Claimed

event Claimed(address indexed user, uint256 amount);

Errors

RewardDistributor__InvalidArrayLength

error RewardDistributor__InvalidArrayLength();

RewardDistributor__NoRewards

error RewardDistributor__NoRewards();