for
loops that use length
member of some storage array in their loop condition and don't modify it SLITHER-W1088Detects for
loops that use length
member of some storage array in their loop condition and don't modify it.
State variables that are not updated following deployment should be declared constant to save gas.
public
functions that are never called by the contract should be declared external
, and its immutable parameters should be located in calldata
to save gas.
State variables that are not updated following deployment should be declared immutable to save gas.
this
SLITHER-W1092The contract reads its own variable using this
, adding overhead of an unnecessary STATICCALL.