DeFiFoundrySolidity
16,653 OP
View results
Submission Details
Severity: low
Invalid

No Implementation for _emergencyWithdraw()

Summary

_emergencyWithdraw() is one of the functions for a strategist to override that will allow management to manually withdraw deployed funds from the yield source if a strategy is shutdown. By not implementing this function when a strategy is shut down due to performance, there is no way to manually withdraw deployed funds.

Vulnerability Details

Non implementation of _emergencyWithdraw() from the BaseStrategy

function _emergencyWithdraw(uint256 _amount) internal virtual {}

Impact

There is no way to manually withdraw deployed funds if there is a strategy shutdown

Tools Used

Manual Review

Recommendations

Implement _emergencyWithdraw()

Updates

Appeal created

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.