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

[teeracle] support multiple sources and multiple trading pairs per source #25

Closed
brenzi opened this issue Dec 2, 2021 · 0 comments · Fixed by #26
Closed

[teeracle] support multiple sources and multiple trading pairs per source #25

brenzi opened this issue Dec 2, 2021 · 0 comments · Fixed by #26
Assignees

Comments

@brenzi
Copy link
Contributor

brenzi commented Dec 2, 2021

sources:

  • coingecko.com
  • coinmarketcap.com

trading pairs

We may want a map for this where we can look up a trading pair and get all the values from different sources. I'd suggest to use string keys for this, like TEER/USD or compare with how polkadex did that

with respect to #24, we will want to specify which MRENCLAVE is allowed to operate which source. but then we assume those MRENCLAVES are allowed to write all trading pairs for that source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants