The router address is hardcoded and initialized in constructor with StrategyMainnet::_initStrategy
function. There is no way to update the router, but this functionality is intended by the developer, as it is implemented both in StrategyArb.sol
and StrategyOp.sol
with the setRouter
function.
The management is unable to update the router address.
Manual review
Add the following function to StrategyMainnet.sol
:
Be aware that safeApprove
is deprecated. Consider using safeIncreaseAllowance
as it was stated in the LightChaser's report.
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.