Closed howlbot-integration[bot] closed 5 months ago
https://github.com/code-423n4/2024-05-loop/blob/main/src/PrelaunchPoints.sol#L291 https://github.com/code-423n4/2024-05-loop/blob/main/src/PrelaunchPoints.sol#L301-L302
withdraw()
block.timestamp
startClaimDate
ETH
block.timestamp > startClaimDate()
Manual review
Other
koolexcrypto marked the issue as duplicate of #17
koolexcrypto marked the issue as unsatisfactory: Invalid
Lines of code
https://github.com/code-423n4/2024-05-loop/blob/main/src/PrelaunchPoints.sol#L291 https://github.com/code-423n4/2024-05-loop/blob/main/src/PrelaunchPoints.sol#L301-L302
Vulnerability details
Impact
withdraw()
if the token is ERC20 then it doesn't checkblock.timestamp
withstartClaimDate
ETH
there is a check thatblock.timestamp > startClaimDate()
https://github.com/code-423n4/2024-05-loop/blob/main/src/PrelaunchPoints.sol#L291 but if the token is ERC20 then there is no check that block.timestamp > startClaimDate().Proof of Concept
Tools Used
Manual review
Recommended Mitigation Steps
withdraw()
Assessed type
Other