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

missing `receive` function

Summary

Impact : low
LikeliHood : High

The contract lacks a receive function, meaning it cannot accept plain ETH transfers. if someone tries to sendETH directly to the contract, the transaction will fail.

Impact

Since there is not a payable function by which you could send eth into the contract, it is impossible to get eth on the wallet. severely disrupting the functionality of this protocol but not any funds at risk.

Tools used

Manual Review

Recommendations

Add a receive function

receive() external payable {}
Updates

Lead Judging Commences

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