Omniscia Gravita Protocol Audit
ERC20Decimals Code Style Findings
ERC20Decimals Code Style Findings
ERD-01C: Non-Standard Interface Name
Type | Severity | Location |
---|---|---|
Code Style | ![]() | ERC20Decimals.sol:L5 |
Description:
The referenced interface
does not conform to the IXXX
naming convention.
Example:
contracts/Dependencies/ERC20Decimals.sol
5interface ERC20Decimals {
Recommendation:
We advise the ERC20Decimals
interface and file to be aptly renamed to IERC20Decimals
, properly illustrating its purpose.
Alleviation:
The interface and file have both been aptly renamed with an I
prefixed, signalling that they are meant to represent an interface
rather than a contract
implementation.