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

All interfaces must be in one folder

Summary

All interfaces must be in existing interfaces folder

Vulnerability Details

There is an interfaces folder in the contracts. The expectation is that all interfaces for the contracts will be grouped in this folder for easier access and as best practises of having e.g interfaces, utilities, tokens etc in own seperate folders
However in Staking.sol line 7 an interface FeeDistribution in in the contract

Impact

Informational: This affects the code readability, best practises, quality and maintanability as interface is not expected in contract but in interfaces folder.

Tools Used

Manual Analysis

Recommendations

It is recommended that the interface defined in Staking.sol line 7 be moved to the interfaces folder

Support

FAQs

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