StrategyMainnet
is missing setRouter function.
router
is used to swap tokens when necessary in the flow of the contract. StrategyOp
and StrategyArb
do have a setRouter
function to update the address of the router in case the current one is compromised or for any other reason. However, the StrategyMainnet
contract does not implement such a function. This is even more an issue since the contract uses CurveRouter
, which is not an upgradeable contract
This can lead to unexpected behavior and the inconsitency of the contract.
Manual review.
Add a setRouter
function to StrategyMainnet
to update router
as done in the StrategyOp
and StrategyArb
contracts.
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.