RevenueSplitBuyBack

Uses 50% of protocol revenue to buy MTA rewards for stakers and 50% to mStable Treasury.

Process

Functions

notifyRedistributionAmount()

function notifyRedistributionAmount (address _mAsset, uint256 _amount) external

Simply transfers the mAsset from the sender to here

buyBackRewards()

function buyBackRewards (address[] mAssets, uint256[] minBassetsAmount, uint256[] minRewardsAmounts, bytes[] uniswapPaths) external

Buys reward tokens, eg MTA, using mAssets like mUSD or mBTC from protocol governance fees.

donateRewards()

function donateRewards () external

Donates purchased rewards, eg MTA, to staking contracts via the Emissions Controller.

addStakingContract()

function addStakingContract (uint16 _stakingDialId) external

Adds a new staking contract that will receive MTA rewards

Last updated