Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: high
Valid

Lack of Explicit Ether Reception Function

Summary

The InheritanceManager contract does not include a specific function, such as a fallback or receive function, dedicated to receiving Ether directly into the contract. Without such a function, the contract can still receive Ether sent to its address, but just not obvious.

Vulnerability Details

The function sendETH and withdrawInheritedFunds can distribute Ether, but here is no explicit logic within the contract to receive Ether. While the contract can still receive Ether by other methods.

Impact

Receiving Ether becomes a bit hard.

Tools Used

Manual

Recommendations

Add a fallback or receive function.

Updates

Lead Judging Commences

0xtimefliez Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Missing receive() or fallback() function

Support

FAQs

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