Omniscia Euler Finance Audit
EulerSavingsRate Static Analysis Findings
EulerSavingsRate Static Analysis Findings
ESE-01S: Inexistent Visibility Specifier
Type | Severity | Location |
---|---|---|
Code Style | EulerSavingsRate.sol:L29 |
Description:
The linked variable has no visibility specifier explicitly set.
Example:
src/Synths/EulerSavingsRate.sol
29uint256 totalAssetsDeposited;
Recommendation:
We advise one 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 the referenced variable, preventing potential compilation discrepancies and addressing this exhibit.