Function getTokenPrice
have inconsistent data fetches of WETH and WSTETH could lead to various potential risks.
The getWstethUsdPrice
function uses a hardcoded 0
for the lookback parameter instead of the lookback
argument passed to the getTokenPrice
function.
Potential for inconsistency in the data used for price calculations, could lead to inaccurate results. This could be problematic in scenarios where precise and up-to-date price information is critical. Inaccurate data processing and the risk of relying on outdated or inconsistent data for decision could lead to various issues especially in scenarios where it is important for current and future decision making.
Manual Review
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.