The strategy contracts lack implementation of the emergencyWithdraw()
function which is meant to allow management to manually withdraw funds from yield sources after a strategy shutdown. This reduces the ability to handle emergency situations where funds need to be quickly retrieved from the underlying protocols.
The function should be implemented to allow privileged users to withdraw a specified amount of funds in emergency scenarios, following the standard pattern from the base strategy contract.
Implement the emergencyWithdraw()
function in all strategy contracts, with appropriate access controls and safety checks. The function should accept an amount parameter and allow management to withdraw funds specifically from the yield source after the strategy has been shut down.
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.