For the complete documentation index, see llms.txt. This page is also available as Markdown.

BasicRewardsForwarder

Transfers any received reward tokens to another contract or account.

Process

Functions

notifyRewardAmount()

function notifyRewardAmount (uint256 _rewards) external

Called by the Emissions Controller to trigger the processing of the weekly rewards.

The Emissions Controller has already transferred the MTA to this contract.

Parameter
Type
Description

_rewards

uint256

Units of reward tokens that were distributed to this contract

setEndRecipient()

function setEndRecipient (address _endRecipient) external

Change the endRecipient. Can only be called by mStable governor.

Parameter
Type
Description

_endRecipient

address

The account the reward tokens are sent to

getRewardToken()

function getRewardToken () external returns (contract IERC20)

Gets the RewardsToken

Last updated