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

[L-3] Proper naming convention should be used as per solidity documentation

Summary: The variables `entranceFee`, `organizer`, `predictionFee` and contract instance `scoreBoard` should be changed to immutable.

Vulnerability Details

Impact: If the variables value are not changed and are kept as private or public, it will cost gas. It is the best practice to change them as Immutable to reduce gas cost.

Tools Used: Slither and VScode.

Recommendations: Change are as below in `ThePredicter` contract are as below.

address public immutable organizer;
uint256 public immutable entranceFee;
uint256 public immutable predictionFee;
ScoreBoard public immutable scoreBoard;
Updates

Lead Judging Commences

NightHawK Lead Judge 12 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.