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 llama.airforce data to Daowatch #1
Comments
From llama: https://docs.google.com/spreadsheets/d/1P10Z5TUVMY-MeB9pIHFJU_TLIrjtRY7xqjcAdc3guwY/edit#gid=127099604 Also use snapshot api to get vote data and votium api to get bribe data: Votium API: https://api.llama.airforce/bribes |
those 3 API calls + a bit more should get these numbers. |
Votium has asked us not to repeat query their API more than once an hour and only updates every 15 minutes. |
In the end just pull all numeric data from each fo the 3 endpoints listed above and put them in a new gauge One selector should be endpoint The bribes endpoint is structured data that can be broken down by parameters, ask me if you need help. The other 2 just seem like a list of params with values. |
Story: As a daowatch user, I want to be able to calculate the value of badger voting, as well as the value badger can earn by bribing and be able to compare that to the stated votium yeld.
Technical details.
This data is shown on llama.airforce coded by Alnuara from Votium. We need the following information:
we need the most recent $/vlCVX as well as the emissions/bribe on this page
https://llama.airforce/#/votium/overview
and the Convex APR on this page
https://llama.airforce/#/convex/flyer
this data should go into a new gauge called llama. It seems the only required selector is parameter, which should be one of the above.
Llama has an API but it does not provide this data. Will connect @SHAKOTN with Alunara to figure out how he got this data and/or we could scrape it.
not super urgent but would be super slick to have.
The text was updated successfully, but these errors were encountered: