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

public Functions Not Used Internally Could Be Marked `external`

public Functions Not Used Internally Could Be Marked external

Impact

Using public instead of external increases gas costs.

Tools Used

  • Manual Code Review

  • Gas Optimization Tools

Recommendations

Change public to external where possible.

Updated Code:

function getOwner() external view returns (address) {

Updates

Lead Judging Commences

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