Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: high
Invalid

No check if contract creation was successful

Summary

The deployToken function in TokenFactroy does not implement check if contract was created

Vulnerability Details

If contract is not created, user my think it is created and this may lead to loss of funds.

Impact

High as it may lead to loss of funds.

Tools Used

Manual review.

Recommendations

Implement check:

if iszero(extcodesize(addr)) {
revert(0, 0)
}
Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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