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

Add circulating supply endpoint for OGV #628

Closed
micahalcorn opened this issue Jul 27, 2022 · 0 comments
Closed

Add circulating supply endpoint for OGV #628

micahalcorn opened this issue Jul 27, 2022 · 0 comments
Assignees
Labels
enhancement P1 Large amount of significant user impact, a meaningful feature is broken python
Milestone

Comments

@micahalcorn
Copy link
Member

OGV version of this:

@app.route("/circulating-ogn", strict_slashes=False)
@app.route("/<lang_code>/circulating-ogn", strict_slashes=False)
def circulating_ogn():
data = token_stats.get_ogn_stats()
return make_response(str(data["ogn_supply_stats"]["circulating_supply"]), 200)

Here is what the calculation should look like:
https://docs.google.com/spreadsheets/d/1ITSOrCrkFfn71eM6M-BmlpGV6t8hMV2csqp_pyVeji4/edit#gid=1182634713

@micahalcorn micahalcorn added enhancement python P1 Large amount of significant user impact, a meaningful feature is broken labels Jul 27, 2022
@micahalcorn micahalcorn added this to the Sprint 31 milestone Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement P1 Large amount of significant user impact, a meaningful feature is broken python
Projects
Status: Done
Development

No branches or pull requests

2 participants