Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: medium
Invalid

No Event Emissions for Critical State Changes Summary

Summary: The contract lacks event emissions for critical state changes, reducing transparency and making it difficult to track important contract actions

Vulnerability Details: Best practices in smart contract development recommend emitting events for critical state changes, but this contract doesn't emit any events for important actions like:

  • Adding/removing beneficiaries

  • Ownership changes during inheritance

  • Withdrawing inherited funds

  • Setting/changing trustees

Impact : Medium. While not directly breaking invariants, this significantly reduces transparency and makes it harder to track contract state changes off-chain.

Tools Used

Recommendations:

event BeneficiaryAdded(address indexed beneficiary);
event BeneficiaryRemoved(address indexed beneficiary);
event InheritanceTriggered(address indexed triggeredBy);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event FundsWithdrawn(address indexed asset, uint256 amount);
event TrusteeAppointed(address indexed trustee);
Updates

Lead Judging Commences

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