Omniscia SaucerSwap Labs Audit
ERC20Wrapper Static Analysis Findings
ERC20Wrapper Static Analysis Findings
ERC-01S: Inexistent Visibility Specifiers
| Type | Severity | Location |
|---|---|---|
| Code Style | ![]() | ERC20Wrapper.sol: • I-1: L26 • I-2: L29 |
Description:
The linked variables have no visibility specifier explicitly set.
Example:
src/ERC20Wrapper.sol
26uint256 constant MINIMUM_LIQUIDITY = 1000;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 (6d473ba09468c723cc379ee22cd29fba405bc94a):
One of the highlighted variables has been removed whereas the public visibility specifier has been introduced on the other, rendering this exhibit alleviated.
