Closed c4-bot-10 closed 10 months ago
raymondfam marked the issue as insufficient quality report
raymondfam marked the issue as duplicate of #339
alcueca marked the issue as satisfactory
alcueca marked the issue as partial-50
alcueca marked the issue as satisfactory
alcueca marked the issue as partial-75
Poor quality, but correct.
Lines of code
https://github.com/code-423n4/2024-01-curves/blob/516aedb7b9a8d341d0d2666c23780d2bd8a9a600/contracts/Curves.sol#L479-L483
Vulnerability details
function withdraw(address curvesTokenSubject, uint256 amount) public { if (amount > curvesTokenBalance[curvesTokenSubject][msg.sender]) revert InsufficientBalance(); // Adjusted to fix [M-02] issue if (externalCurvesTokens[curvesTokenSubject].token == address(0)) revert InvalidERC20Metadata();
Assessed type
Context