Protocol Variables Used For Interest Accruals

Name

Definition

MinterGatewayindexMinterGateway \\ index

The current value of global protocol index used for calculations of activeOwedMminteractiveOwedM_{minter}

MinterGatewayindext1=fn(indext0,minterRate,t1t0)MinterGateway\, index_{t1} = fn (index_{t0}, minterRate, t1 - t0)

MinterGatewayindexLatestUpdateTimestampMinterGateway\\ indexLatestUpdateTimestamp

The last timestamp at which indexindex was updated and stored

MTokenindexMToken\, index

The current value of the global MTokenindexMToken\,index used for calculations of balanceOfearnerbalanceOf_{earner}

MToken  indext1=fn(indext0,earnerRate,t1t0)MToken\; index_{t1} =fn(index_{t0} , earnerRate, t1 - t0)

MTokenindexLatestUpdateTimestampMToken\,indexLatestUpdateTimestamp

The last timestamp at whichMToken  indexMToken\;index was updated and stored

principalOfActiveOwedMminterprincipalOfActiveOwedM_{minter}

The principal value of M adjusted to indextindex_{t}, where tt is the timestamp of minting action:

principalOfActiveOwedMminter,t=mintAmount/indextprincipalOfActiveOwedM_{minter}, t=mintAmount/index_{t}

totalPrincipalOfActiveOwedMtotalPrincipalOfActiveOwedM

The total value of principalOfActiveOwedMprincipalOfActiveOwedM across all mintersminters

principalOfEarningSupplyEarnerprincipalOfEarningSupply_{Earner}

The principal value of M that earns yield for earnerearner

totalPrincipalOfEarningSupplytotalPrincipalOfEarningSupply

The total principal value of M that earns yield for all

earnersearners

Last updated

Copyright 2024 M^0 Foundation