8000 Band oracle by DrPresident · Pull Request #29 · securesecrets/shade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Band oracle #29

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

Merged
merged 5 commits into from
Aug 4, 2021
Merged

Band oracle #29

merged 5 commits into from
Aug 4, 2021

Conversation

DrPresident
Copy link
Collaborator
@DrPresident DrPresident commented Aug 4, 2021

Live on testnet at secret1vzx2rmkc62purkd3lpyalvu3es28c9p8ay23c7
Example Query

{"get_price": { "symbol": "SCRT"}}

Returns the Band "get_reference_data" response assuming USDT, rate is * 10^18

{
  "rate": "1070000000000000000",
  "last_updated_base": 1628050781,
  "last_updated_quote": 3377610
}

Queries for SHD have a hardcoded value

Still need to deploy the mint contract changes and do some integration testing, will hold merging until that is complete

@DrPresident DrPresident self-assigned this Aug 4, 2021
@DrPresident DrPresident added the oracle New feature or request for the oracle contract label Aug 4, 2021
@DrPresident DrPresident linked an issue Aug 4, 2021 that may be closed by this pull request
4 tasks
@FloppyDisck FloppyDisck merged commit 340dada into dev Aug 4, 2021
@FloppyDisck FloppyDisck deleted the band-oracle branch August 4, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oracle New feature or request for the oracle contract
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Band Oracle
2 participants
0