Omniscia Kanpeki Finance Audit

Token Code Style Findings

Token Code Style Findings

TOK-01C: Redundant Visibility Specifier

TypeSeverityLocation
Gas OptimizationInformationalToken.sol:L10

Description:

The linked variable is meant to be an internally accessible constant yet is declared as public.

Example:

contracts/Token.sol
10bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

Recommendation:

We advise it to be set as private or internal to reduce the bytecode and gas cost of the contract's deployment.

Alleviation:

The Kanpeki Finance team opted not to apply this exhibit.