Trick or Treat

First Flight #27
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Add receive and fallback

Summary

Add receive and fallback functions to prevent unexpected transfers

Vulnerability Details

Add receive and fallback functions to handle unintended direct ETH transfers

Impact

without a receive function, users who accidentally send ETH directly to the contract will lose their funds in failed transactions.

Tools Used

Manual Review

Recommendations

Add a receive() and fallback() function.

Updates

Appeal created

bube Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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