Omniscia Moby Audit
ERC20 Static Analysis Findings
ERC20 Static Analysis Findings
ERC-01S: Inexistent Visibility Specifier
Type | Severity | Location |
---|---|---|
Code Style | ERC20.sol:L40 |
Description:
The linked variable has no visibility specifier explicitly set.
Example:
contracts/tokens/ERC20.sol
40address owner; // mock
Recommendation:
We advise one to be set so to avoid potential compilation discrepancies in the future as the current behaviour is for the compiler to assign one automatically which may deviate between pragma
versions.
Alleviation (b02fae335f62cc1f5f4236fb4d982ad16a32bd26):
The variable has been omitted as a result of a separate exhibit, indirectly addressing this as well.