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

feat: add USD price feed support for PriceFeedOracle #1275

Merged

Conversation

rackstar
Copy link
Contributor

@rackstar rackstar commented Nov 6, 2024

Description

Closes #1260

These changes adds support for USD-based price feeds to be converted to ETH rate in PriceFeedOracle.

Context:

We want to onboard cbBTC as a new Pool asset but currently cbBTC does not have an ETH price feed only cbBTC-USD priceFeed. These PriceFeedOracle changes are required so that we can onboard cbBTC as a coverAsset.

Testing

  • unit tests
  • fork tests

Checklist

  • Performed a self-review of my own code
  • Made corresponding changes to the documentation

rackstar and others added 30 commits October 29, 2024 11:02
* add assets getter natspec comments
* convert natspec commets to triple slash
@rackstar rackstar merged commit e028e7c into release-candidate Nov 8, 2024
10 checks passed
@rackstar rackstar deleted the audit/price-feed-oracle-usd-price-feed-support branch November 8, 2024 11:44
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 this pull request may close these issues.

Upgrade PriceFeedOracle - cbBTC/USD support
3 participants