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

The inheritance contract is not able to be funded.

Summary

Since there are no explicit receive(), fallback(), or payable() functions within the InheritanceManager.sol contract, this makes it impossible to directly send ETH to the contract and the transfer will fail.

Vulnerability Details

Transfers of ETH to the contract will fail due to a lack of receive(), fallback(), or payable() functions.

Impact

The contract will not accept ETH limiting how the function could be funded.

Tools Used

Manual review and Foundry

Recommendations

Include a receive(), fallback(), or a payable() function in order to allow ETH to be directly sent to the InheritanceManager.sol contract.

Updates

Lead Judging Commences

0xtimefliez Lead Judge 5 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.