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

Inheritance Manager

Summary: This smart contract securely manages digital inheritance on Ethereum. It allows a contract owner to assign beneficiaries who can claim funds if the owner becomes inactive for a set period (default: 90 days)

Vulnerability Details:

  • Inactivity period is fixed at 90 days (not configurable).

  • Equal fund distribution only, no custom shares.

  • Owner loses control once inheritance is unlocked.

  • Unclaimed funds remain in the contract.

  • High gas cost with many beneficiaries.

  • Reentrancy protected using nonReentrant.

Impact:

  1. Owner control loss: Once inheritance is triggered, the owner can no longer modify the contract or reclaim funds.

  2. Delayed fund distribution: Inactivity leads to delayed inheritance, and beneficiaries must wait for 90 days without any manual override.

  3. Fixed share distribution: All beneficiaries receive an equal share of the funds, without flexibility for different allocations.

  4. High gas fees: If there are many beneficiaries, the gas cost for distribution increases significantly.

Tools Used:

  • Solidity: Smart contract programming language.

  • OpenZeppelin Contracts: Used for Ownable and ReentrancyGuard to secure and manage the contract's ownership and prevent reentrancy attacks.

  • Remix IDE: For developing, testing, and deploying the contract.

Recommendations

Updates

Lead Judging Commences

0xtimefliez Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
0xtimefliez Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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