Developer Docs
  • Introduction
  • Meta Vaults
    • USDC 3Pool Convex Meta Vault
      • 3Pool Convex Meta Vault
      • Meta Vault of Convex 3Crv Vaults
      • Convex 3Crv Vaults
    • General ERC-4626 Vault Interface
    • Liquidator
  • Ethereum Mainnet
    • mAssets
    • imAssets (SAVE)
    • Feeder Pools
    • Vaults
      • BoostedSavingsVault
      • BoostedSavingsVault V2
      • BoostedDualVault
    • Shared Addresses
    • Governance
      • stkMTA
      • stkBPT
      • Quest Manager
    • Save Wrapper
  • Emissions Controller
    • EmissionsController
    • Polygon Integration
      • Bridge Forwarder
      • L2 Bridge Recipient
      • L2 Emissions Controller
      • Disperse Forwarder
    • RevenueSplitBuyBack
    • BasicRewardsForwarder
    • VotiumBribeForwarder
  • Polygon
    • mUSD
    • imUSD
    • Feeder Pool
    • Vaults
    • Save Wrapper
    • Shared Addresses
  • Security
    • Multisig Admin Rights
    • Security Audits
      • Hacken Vault Security Audit
    • Bug Bounty
Powered by GitBook
On this page
  • Process
  • Functions
  • notifyRewardAmount()
  • setEndRecipient()
  • getRewardToken()

Was this helpful?

  1. Emissions Controller

BasicRewardsForwarder

Transfers any received reward tokens to another contract or account.

PreviousRevenueSplitBuyBackNextVotiumBribeForwarder

Last updated 3 years ago

Was this helpful?

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