LibUsdOracle.getTokenPrice()
uses 0 lookback
for WSTETH
.
getUsdPrice()
uses the same lookback
for WETH
and WSTETH
oracles which looks like an intended behavior.
But getTokenPrice()
uses 0 for WSTETH
oracle and it might return a wrong price.
getTokenPrice()
might return a wrong price for WSTETH
as it uses 0 lookback
.
Manual Review
Recommend using normal lookback
for WSTETH
oracle.
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.