You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In WithdrawQueue contract, PausableUpgradable is inherited to provide pausing capabilities to the administrator on users' withdrawals and claims. But it is not implemented in withdraw() and claim() function:
function withdraw(uint256 _amount, address _assetOut) external nonReentrant {
...
}
function claim(uint256 withdrawRequestIndex) external nonReentrant {
...
}
Mitigation
Mitigation successfully mitigates the original issue by add WhenNotPaused modifier to withdraw() and claim() function.
Conclusion
Mitigation confirmed
The text was updated successfully, but these errors were encountered:
Lines of code
Vulnerability details
C4 Issue
M-02: code-423n4/2024-04-renzo-findings#569
Issue Details
In
WithdrawQueue
contract,PausableUpgradable
is inherited to provide pausing capabilities to the administrator on users' withdrawals and claims. But it is not implemented inwithdraw()
andclaim()
function:Mitigation
Mitigation successfully mitigates the original issue by add
WhenNotPaused
modifier towithdraw()
andclaim()
function.Conclusion
Mitigation confirmed
The text was updated successfully, but these errors were encountered: