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

`MondrianWallet2`Is missing a receive() external payable function

Summary

MondrianWallet2Is missing a receive() external payable function

Vulnerability Details

The receive() external payable function is triggered when the contract receives Ether without any data or function calls. Without it, the contract cannot receive funds.

Impact

Without this function, funds cannot be sent to this contract. This could lead to running out of funds and prevent us from paying with the contract or paying fees.

Tools Used

--Foundry

Recommendations

It is recommended to add a receive() external payable function

+ receive() external payable {}
Updates

Lead Judging Commences

bube Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Missing receive function

Support

FAQs

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