You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Add getInflationRate endpoint for both Dynamic reward and reward modules.
The rate should be number of token scheduled to be generated / year.
The number of token scheduled to be generated should consider
current reward bracket
365 days for a year
block time
Req
{}
Res
{
tokenID: string,
rate: number,
}
Acceptance Criteria
Add unit tests for each brackets of the reward
Additional Information
We have consider to make the inflation rate more accurate, but this information is only used as supplemental information for user, and it will not be accurate information because reward changes based on the protocol violation. Therefore, it only consider current bracket for the estimation
The text was updated successfully, but these errors were encountered:
Description
Add
getInflationRate
endpoint for bothDynamic reward
andreward
modules.The rate should be
number of token scheduled to be generated / year
.The number of token scheduled to be generated should consider
Req
Res
Acceptance Criteria
Additional Information
The text was updated successfully, but these errors were encountered: