Omniscia Euler Finance Audit

Initialize Static Analysis Findings

Initialize Static Analysis Findings

IEZ-01S: Inexistent Visibility Specifiers

TypeSeverityLocation
Code StyleInitialize.sol:L21, L22

Description:

The linked variables have no visibility specifier explicitly set.

Example:

src/EVault/modules/Initialize.sol
21uint256 constant INITIAL_INTEREST_ACCUMULATOR = 1e27; // 1 ray

Recommendation:

We advise them 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 (fb2dd77a6ff9b7f710edb48e7eb5437e0db4fc1a):

The internal visibility specifier has been introduced to all referenced variables, preventing potential compilation discrepancies and addressing this exhibit.