RewardDistributor

Git Source

Inherits: IRewardDistributor, ReentrancyGuard

State Variables

REWARD_TOKEN

address internal immutable REWARD_TOKEN;

rewards

mapping(address => uint256) public rewards;

Functions

constructor

constructor(address rewardToken);

addRewards

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

claim

function claim() external nonReentrant;