Unlike the Optimism and Arbitrum strategies, there is no function in StrategyMainnet
to update the address of the router. This is a problem in the scenario where the Curve protocol updates its router address.
Both Optimism and Arbitrum strategies has a setRouter
[1][2] function to update the router address. However, StrategyMainnet
does not implement such function. In the scenario where the Curve protocol changes its router address, StrategyMainnet
will not be able to update to the new address due to the lack of a function to do so.
Impact: High
Likelihood: Low
Manual Review
As well as the Optimism and Arbitrum strategies, it is recommended to implement a setRouter
function in the Mainnet strategy.
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.