ChainlinkUtil
library does not allow having a cross-oracle configuration and will not be able to work with a set of collateral types, defined in the Scope, as they don’t have direct USD-denominated price feeds.
wstETH
WEETH
All these don’t have USD price feed and can be verified there - https://docs.chain.link/data-feeds/price-feeds/addresses?network=arbitrum&page=1.
Usage of these collateral types will not be possible since they have only ETH price feeds
Knowing that, Zaros perpetual will fail to configure the oracle for these two tokens since price is got directly and functionality to handle wstETH → ETH → USD conversion is missing:
Collateral types mentioned in the scope of this audit will not be available since they don’t have USD price feeds
Manual Review
getPrice
should be extended to support price aggregation from 2 oracles, otherwise these collateral types will not be able to be used.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.