Skip to content

M-4: use SafErc20

M-4: use SafErc20 #413

Triggered via pull request December 6, 2023 23:27
@toshiSattoshiSat
opened #287
M-4
Status Success
Total duration 20m 9s
Billable time 20m
Artifacts

lint-github-action.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run Tests & Lint: contracts/AfEth.sol#L4
global import of path @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L5
global import of path contracts/strategies/votium/VotiumStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L6
global import of path contracts/external_interfaces/IVotiumStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L7
global import of path contracts/external_interfaces/ISafEth.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L8
global import of path contracts/strategies/AbstractStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L11
Contract has 19 states declarations but allowed no more than 15
Run Tests & Lint: contracts/AfEthRelayer.sol#L4
global import of path @openzeppelin/contracts/token/ERC20/IERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEthRelayer.sol#L5
global import of path @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEthRelayer.sol#L6
global import of path ./external_interfaces/IAfEth.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEthRelayer.sol#L7
global import of path ./external_interfaces/IWETH.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)