Hawk High

First Flight #39
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: high
Likelihood: high
Invalid

Initialize modifier used in LevelOne.initialize is not declared anywhere in the contract

Summary

Initialize modifier used in LevelOne.initialize is not declared anywhere in the contract which means the intended use of the modifier will not be achieved.

Vulnerability Details

Impact

High Impact. The intended use of the initializer modifier will not be achieved and the LevelOne.initialize function is public which means anyone can call it and initialize the contract at anytime.

Tools Used

Slither

Recommendations

  1. Define the initializer modifier.

  2. Change the LevelOne.initialize function to a constructor

Updates

Lead Judging Commences

yeahchibyke Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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