Omniscia Polkadex Audit
dex Code Style Findings
dex Code Style Findings
DEX-01C: Visibility Specifiers Missing
Type | Severity | Location |
---|---|---|
Language Specific | Informational | dex.sol:L6, L7 |
Description:
The linked variables contain no explicitly set visibility specifiers.
Example:
token/dex.sol
6address payable Owner;7uint256 immutable InitialBlockNumber ;
Recommendation:
We advise ones to be specified to avoid compilation discrepancies from arising as in its current state the compiler assigns a visibility specifier automatically which may differ between compiler versions.
Alleviation:
The development team has acknowledged this exhibit but decided to not apply its remediation in the current version of the codebase citing time constraints.