Omniscia DAFI Protocol Audit

DAFITOKENETH Static Analysis Findings

DAFITOKENETH Static Analysis Findings

DAF-01S: Illegible Numeric Literal

TypeSeverityLocation
Code StyleInformationalDAFITOKENETH.sol:L42

Description:

The linked line contains an illegible numeric literal due to too many zeroes in sequence.

Example:

contracts/DAFITOKENETH.sol
41constructor() Ownable2(msg.sender) {
42 maxSupply = 2250000000 * 10**_decimals;
43}

Recommendation:

We advise the special underscore (_) separator to be utilized as it is ignored by the compiler (i.e. 10000 becomes 10_000), increasing the legibility of the codebase.

Alleviation:

The DAFI Protocol team evaluated this exhibit but opted not to apply a remediation for it in the current iteration of the codebase.