Both the StrategyArb.sol
and StrategyOp.sol
contracts have a setRouter
function to potentially change swap routers if they turn out vulnerable/paused/not working correctly. StrategyMainnet.sol
doesn't have such a function and it always relies on the Curve
router working correctly.
Any potential issues with the Curve
router will directly harm the operations of the protocol on mainnet and there won't be a way to set another DEX to swap.
Manual review
Consider adding a a setRouter
function in StrategyMainnet
to ensure that no outsiders issues will effect the contract.
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.