Skip to main content

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

ChainAddress

Functions

updateReward

function updateReward(address account) external

IRewardRecipient

Interface for contracts that receive rewards, implemented by RewardDistributor and recognized by FeeDistributor.

Addresses

ChainAddress

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

NameTypeDescription
rewardAmountuint256Amount of rewardsToken to add