Omniscia Kanpeki Finance Audit

DepositManager Code Style Findings

DepositManager Code Style Findings

DMR-01C: Redundant Visibility Specifier

TypeSeverityLocation
Gas OptimizationInformationalDepositManager.sol:L34

Description:

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

Example:

contracts/managers/DepositManager.sol
34bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_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.