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 #1271

Closed

Conversation

rackstar
Copy link
Contributor

@rackstar rackstar commented Oct 25, 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 rackstar self-assigned this Oct 25, 2024
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from 75a24a6 to da2a42c Compare October 25, 2024 11:18
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch 5 times, most recently from b6addbc to 6adec8e Compare October 25, 2024 16:57
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from 6adec8e to b8a50fa Compare October 29, 2024 09:02
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from b8a50fa to c00920e Compare October 30, 2024 16:55
shark0der
shark0der previously approved these changes Oct 31, 2024
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from 62aec15 to c51cd54 Compare November 5, 2024 07:58
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from 4843589 to c1a9a39 Compare November 5, 2024 10:55
@rackstar rackstar force-pushed the feat/price-feed-oracle-cbbtc-usd-support branch from c1a9a39 to 575781b Compare November 5, 2024 13:24
@rackstar rackstar changed the title feat: add ETH conversion for USD aggregatorTypes feat: add USD price feed support for PriceFeedOracle Nov 6, 2024
@rackstar
Copy link
Contributor Author

rackstar commented Nov 6, 2024

closing in favour of: #1275

@rackstar rackstar closed this Nov 6, 2024
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
2 participants