In our libary OracleLib.sol, staleCheckLatestRoundData function returns 5 values, of which only 1 is used.
The function returns roundId, answer, startedAt, updatedAt, answeredInRound but only answer
is used in
Gas optimization
Manual code review
Change that the staleCheckLatestRoundData function only returns the answer(price) and make the necessary changes in the affected functions such as:
DSCEnginel.sol/getTokenAmountFromUsd
DSCEnginel.sol/getUsdValue
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.