Mystery Box

First Flight #25
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

In the contract’s constructor, the variable boxPrice is initialized with a hardcoded value.

The value of 0.1 ether can be set as a constant or, even better, as an argument for the constructor. This approach allows for more flexible initialization compared to using a hardcoded boxPrice value.

Updates

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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

Give us feedback!