core-v2 icon indicating copy to clipboard operation
core-v2 copied to clipboard

CompositeETHPriceFeed support for WBTC

Open yaronvel opened this issue 2 years ago • 1 comments

We plan to suggest the community to use a WBTC price oracle that compose BTC/USD and WBTC/BTC prices. This is very much in favour to how the current stETH price is implemented.

On first look it seems that the code could be used as is, but a review is needed, and one might consider to change the variable names in order to make it more generic.

yaronvel avatar Nov 25 '22 09:11 yaronvel

Sounds reasonable, it would not increase gas costs dramatically and would create additional protection in case of depeg.

0xmikko avatar Nov 25 '22 09:11 0xmikko

Merged into main and deployed

Van0k avatar Jan 16 '23 06:01 Van0k