In the _freeFunds
function of all three smart contracts (StrategyArb.sol
, StrategyMainnet.sol
, StrategyOp.sol
), a local variable totalAvailabe
is introduced with a typo. While this does not impact functionality, it may reduce code readability and maintainability.
The _freeFunds
function includes a typo in the declaration of the local variable totalAvailabe
(misspelled as "Availabe" instead of "Available"). This variable is used three times within the function, making the typo more prominent and increasing the likelihood of confusion or future errors.
Affected Code:
This typo has the following implications:
Reduced Readability: The typo might make the code harder to read and understand.
Credibility Concerns: Such errors can lower confidence in the code's quality, especially during audits.
Potential for Future Errors: Misunderstandings or additional errors might be introduced during subsequent updates or maintenance.
Manual inspection.
Update the variable name from totalAvailabe
to totalAvailable
to improve code readability and adhere to best practices.
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.