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

No use of Ownable in Staking contract.

Summary

Ownable used in Staking.sol is not required.

Vulnerability Details

As no onlyOwner or transferOwnership modifier is used in the contract Staking.sol, the inheritance to Ownable and it's initialization in constructor to msg.sender can be removed to save some gas.

Tools Used

Manual Analysis

Recommendations

Remove Ownable inheritance and remove it's initialization in the constructor.

Support

FAQs

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