20,000 USDC
View results
Submission Details
Severity: gas
Valid

Public function could be external

Summary

Public function sellProfits() could be external to save on gas.

Vulnerability Details

Impact

Function sellProfits() from Fees.sol has public visibility but is not called anywhere inside of the contract. Changing visibility to external will lead to less gas consumed.

Tools Used

Manual Analysis

Recommendations

Change sellProfits() visibility specifier from public to external.

Support

FAQs

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

Give us feedback!