optimize gas usage with common techniques and refactor code structure #594
Annotations
10 warnings
build (16.x):
contracts/abstracts/EIP712.sol#L16
Immutable variables name are set to be in capitalized SNAKE_CASE
|
build (16.x):
contracts/abstracts/EIP712.sol#L17
Immutable variables name are set to be in capitalized SNAKE_CASE
|
build (16.x):
contracts/abstracts/EIP712.sol#L28
Named parameters missing. MIN unnamed argumenst is 4
|
build (16.x):
contracts/abstracts/EIP712.sol#L44
Function order is incorrect, internal view function can not go after private view function (line 33)
|
build (16.x):
contracts/abstracts/EIP712.sol#L62
Function name must be in mixedCase
|
build (16.x):
contracts/abstracts/TokenCollector.sol#L29
Immutable variables name are set to be in capitalized SNAKE_CASE
|
build (16.x):
contracts/abstracts/TokenCollector.sol#L30
Immutable variables name are set to be in capitalized SNAKE_CASE
|
build (16.x):
contracts/abstracts/TokenCollector.sol#L59
Avoid to use low level calls
|
build (16.x):
contracts/abstracts/TokenCollector.sol#L61
Avoid to use inline assembly. It is acceptable only in rare cases
|
build (16.x):
contracts/abstracts/TokenCollector.sol#L69
Avoid to use low level calls
|