DeFiFoundry
50,000 USDC
View results
Submission Details
Severity: low
Invalid

public functions not used internally could be marked external

Summary

Instead of marking a function as public, consider marking it as external if it is not used internally.

Vulnerability Details

Function GmxProxy::createOrderin contracts/GmxProxy.sol& PerpetualVault::withdraw in contracts/PerpetaulVaultare not used internally, So these two can be marked as external

Impact

Tools Used

aderyn

Recommendations

Change the visibilty from publicto external

Updates

Lead Judging Commences

n0kto Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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

Give us feedback!