MToken.currentIndex

MToken.currentIndex() MToken.currentIndex()

  • Calculates and returns current value of earnerIndexearnerIndex earnerIndexnow=fn(earnerIndexearnerIndexLastUpdatedTimestamp,nowāˆ’earnerIndexLastUpdatedTimestamp)earnerIndex_{now}=fn( earnerIndex_{earnerIndexLastUpdatedTimestamp}, now - earnerIndexLastUpdatedTimestamp) E.g., earnerIndexnow=earnerIndexearnerIndexLastUpdatedlTimestampāˆ—eearnerRateāˆ—(nowāˆ’earnerIndexLastUpdatedTimestamp)earnerIndex_{now} =earnerIndex_{earnerIndexLastUpdatedlTimestamp} * e^{earnerRate * (now - earnerIndexLastUpdatedTimestamp)}

Last updated

Copyright 2024 M^0 Foundation