IRewardRecipient
IRewardRecipient
Interface for contracts that receive rewards, implemented by RewardDistributor and recognized by FeeDistributor.
Addresses
Chain | Address |
---|
Functions
transferRewardAmount
Pull a certain amount of reward tokens from the caller.
function transferRewardAmount(uint256 rewardAmount) external
Dev note
approve rewardAmount
tokens before calling
Parameters
Name | Type | Description |
---|---|---|
rewardAmount | uint256 | Amount of rewardsToken to add |