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

[L-02] Unnecessary abstract statement

Summary

Declaring the onlyOwner and transferOwnership roles as virtual allows them to be modified in contracts that are inherited. However, these functions are not overridden, so their implementation is unnecessary.

Impact

Define the scope that has the functions without leaving any possibility that is not required.

Tools Used

Manual code review

Recommendations

Remove the abstract and virtual keywords, in the contract and in the functions.

Support

FAQs

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