Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

added supra oracle example #44

Merged
merged 3 commits into from
May 7, 2023
Merged

added supra oracle example #44

merged 3 commits into from
May 7, 2023

Conversation

0xxlegolas
Copy link
Contributor

Proposed changes

  • Added supra oracle price feed contract

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or Enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA by posting "I have read the CLA Document and I hereby sign the CLA" in the comment
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

  • Please leave the issue numbers or links related to this PR here.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you proposed and what alternatives you have considered, etc.

}

function getPrice() external view returns (int) {
(int price /* uint timestamp */, ) = sValueFeed.checkPrice("btc_usdt");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we externalize btc_usdt ? And also we can provide https://supraoracles.com/docs/get-started/market-pairs#klaytn-chain and https://supraoracles.com/docs/get-started/networks as references from where the values are taken

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will add

@0xxlegolas 0xxlegolas merged commit 3c90cee into main May 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants