Inherits: IEarnerRateModel
Author: M^0 Labs
The interval over which there's confidence cash flow to earners will not exceed cash flows from minters.
The percent (in basis points) of the earner rate that will be effectively used.
100% in basis points.
The name of parameter in TTG that defines the max earner rate.
The scaling of rates in for exponent math.
The scaling of _EXP_SCALED_ONE
for wad maths operations.
The M Token contract address.
The Minter Gateway contract address.
The TTG Registrar contract address.
Constructs the EarnerRateModel contract.
Parameters
minterGateway_
address
The address of the Minter Gateway contract.
Returns the current yearly rate in BPS. This value does not account for the compounding interest.
The max rate in basis points.
Returns the safe earner rate.
Parameters
totalActiveOwedM_
uint240
totalEarningSupply_
uint240
minterRate_
uint32
Returns
<none>
uint32
The safe earner rate.