The StrategyMainnet.sol
contract uses a router for using Curve. However, there is no way to set a new router in case of a need.
In the other contracts StrategyArb.sol
and StrategyOp.sol
there is the following function that lets the management set a new router in case there is a need to change the router:
However, in the StrategyMainnet.sol
there is no such function.
This issue could potentially make the contract stale. Curve could release a new router, or potentially the current one might have an undiscovered exploit. Also, if the protocol would like to improve their protocol by updating features, this is one aspect that could halt improvement.
Impact - HIGH
Likelihood - LOW
Yes, if there is a situation where the protocol will need to set a new router but can't, could lead to loss of funds or a deployment of a new contract. However, it is very unlikely for that to happen, which is why this issue is a low severity.
Manual Review
Consider implementing a setRouter
function similar to the other 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.