Omniscia Bluejay Finance Audit
WhitelistSalePrivate Code Style Findings
WhitelistSalePrivate Code Style Findings
PAC-01C: Inexistent Visibility Specifier
Type | Severity | Location |
---|---|---|
Code Style | WhitelistSalePrivate.sol:L21 |
Description:
The linked variable has no visibility specifier explicitly set.
Example:
packages/contracts/contracts/periphery/WhitelistSalePrivate.sol
21uint256 constant WAD = 10**18;
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:
The private
visibility specifier has been introduced for the referenced variable alleviating this exhibit.