Omniscia DAFI Audit

TVLFeeds Code Style Findings

TVLFeeds Code Style Findings

TVL-01C: Inexistent Visibility Specifier

TypeSeverityLocation
Code StyleInformational[TVLFeeds.sol:L14](https://github.com/DAFIProtocol/dDAFI/blob/d08c795cdf3455616f403d1468e02ec234ab01ef/contracts/network demand/TVLFeeds.sol#L14)

Description:

The globalTVL variable contains no visibility specifier explicitly set.

Example:

contracts/network
14uint globalTVL;

Recommendation:

We advise one to be set for the variable as currently the compiler assigns a visibility specifier automatically which can cause compilation discrepancies should the default visibility change.

Alleviation:

A private visibility specifier was properly introduced for the globalTVL variable thus alleviating this exhibit.