IRewardDistributor
IRewardDistributor
Interface for contracts that allocate rewards to users based on their balances over time of a collateral token. Implemented by RewardDistributor and recognized by DomFiPerp.
Addresses
Chain | Address |
---|
Functions
updateReward
function updateReward(address account) external
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 |