-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Querier for inflation parameters and block rewards #3886
Comments
Would be great if we had the other params too: type Params struct {
MintDenom string `json:"mint_denom"` // type of coin to mint
InflationRateChange sdk.Dec `json:"inflation_rate_change"` // maximum annual change in inflation rate
InflationMax sdk.Dec `json:"inflation_max"` // maximum inflation rate
InflationMin sdk.Dec `json:"inflation_min"` // minimum inflation rate
GoalBonded sdk.Dec `json:"goal_bonded"` // goal of percent bonded atoms
BlocksPerYear uint64 `json:"blocks_per_year"` // expected blocks per year
} |
It would also be nice to return some calculated numbers like |
hmm that will always be the staking denomination, so not sure if it's redundant with the staking params struct. I agree with the rest tho |
effective annualized yield is inflations * ((self bond/ total bond) + commission * delegator bond/total bond) |
It's needed to have querier that gets the state of inflation of the staking token.
Basically these
The text was updated successfully, but these errors were encountered: