Closed
Conversation
Return to direct query Update Community Pool Query Correct query for community pool Removed unused keeper Update expected_keepers.go
Contributor
|
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
Contributor
|
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
Add Supply Endpoints to the mint module to make querying Osmosis supply metrics onchain easier.
/burned_supply - a named way to query the uosmo in the null address
/total_supply - minted uosmo, minus burned supply. This will overwrite until the Superfluid Offsets are removed as it uses minted uosmo, not the offset supply.
/restricted_supply - uosmo in addresses owned by known entities (Developer Vesting, Developer Vested, Community Pool, Restricted Addresses are any addresses in restricted_addresses which may be foundation or investor addresses.
/circulating_supply - minted uosmo minus burned supply, minus restricted supply. This is equivalent to the public float and is the current methodology used by Coingecko and CMC for circulating supply.
Modify the /inflation endpoint to be based on emissions into the new /circulating_supply instead of the uosmo with offsets minus burn. This still contains dev vesting unlocks despite them not adding to the tracked circulating supply as it tracks unlocks rather than increase in circulating supply.
Testing
I have tested most outputs on Edgenet, except for initializing restricted supply through an upgrade and verifying the address balances for those.
Documentation and Release Note
Unreleasedsection ofCHANGELOG.md?Where is the change documented?
x/{module}/README.md)