Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to Support Mint Module Queries for Inflation Tracking #141

Open
zsystm opened this issue Sep 23, 2024 · 0 comments
Open

Request to Support Mint Module Queries for Inflation Tracking #141

zsystm opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zsystm
Copy link
Contributor

zsystm commented Sep 23, 2024

Description and context

As a developer and one of the validators in the Story protocol, I would like to request the addition of mint module queries, similar to those provided by the Cosmos SDK mint queries. These queries offer valuable insights into the inflation rate and token minting details, which are crucial for transparency and community engagement in any blockchain ecosystem.

Currently supported queries by Story:

func (s *Server) registerHandle() {
s.initAuthRoute()
s.initBankRoute()
s.initComeBFTRoute()
s.initDistributionRoute()
s.initEvmStakingRoute()
s.initSlashingRoute()
s.initStakingRoute()
s.initUpgradeRoute()
}

The inclusion of mint-related queries will enhance the protocol's transparency and empower users to gain deeper insights into the economic model of the Story blockchain.

Suggested solution

The suggested solution is to implement the following mint module queries:

  1. Params: This query should return the parameters of the mint module.
  2. Inflation: This query should provide the current inflation rate from the mint module.
  3. AnnualProvisions: This query should return the annual provisions as calculated by the mint module.

Definition of done

  • Implement the requested queries (Params, Inflation, AnnualProvisions) in the mint module.
  • The new functionality should be merged, deployed, and included in a release.
@zsystm zsystm added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant