NexusMutual / smart-contracts

GNU General Public License v3.0
170 stars 62 forks source link

feat: add USD price feed support for PriceFeedOracle #1271

Closed rackstar closed 2 weeks ago

rackstar commented 1 month ago

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

Checklist

rackstar commented 2 weeks ago

closing in favour of: https://github.com/NexusMutual/smart-contracts/pull/1275