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

Contract Staking.sol inherits Ownable without explicit ownership restrictions.

Summary

By inheriting Ownable, the contract implies that there is an ownership model in place, allowing a single address to have special privileges and control over critical functions. However, without explicit ownership restrictions or usage of the onlyOwner modifier, the contract doesn't provide any additional security measures or control to the owner.

Tools Used

Manual review

Recommendations

Either drop the inheritance or use it's functionalities within the inheriting contract.

Support

FAQs

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

Give us feedback!