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

Unused Ownable Contract in Staking.sol

Summary

Unused Ownable Contract in Staking.sol

Vulnerability Details

The contract Staking.sol implements the Ownable contract but does not utilize its functionality. There are no methods that require authorized permission from the owner, making the inclusion of Ownable unnecessary.

Impact

The inclusion of the unused Ownable contract adds unnecessary complexity to the contract code without providing any additional security or functionality. It increases the contract's deployment size and gas costs, which could be avoided by removing the unused Ownable contract.

Tools Used

Manual Review

Recommendations

Remove it entirely to simplify the codebase.

Support

FAQs

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