Skip to content

optimize gas usage with common techniques and refactor code structure #594

optimize gas usage with common techniques and refactor code structure

optimize gas usage with common techniques and refactor code structure #594

Triggered via pull request February 4, 2025 08:26
Status Success
Total duration 3m 1s
Artifacts

tokenlon-contracts.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

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