File tree Expand file tree Collapse file tree 17 files changed +46
-45
lines changed
Expand file tree Collapse file tree 17 files changed +46
-45
lines changed Original file line number Diff line number Diff line change 1313 "reason-string" : " off" ,
1414 "no-empty-blocks" : " off" ,
1515 "avoid-low-level-calls" : " off" ,
16- "gas-custom-errors" : " off"
16+ "gas-custom-errors" : " off" ,
17+ "imports-order" : " warn"
1718 }
1819}
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
33
4+ import {FallbackManager} from "./base/FallbackManager.sol " ;
45import {ITransactionGuard, GuardManager} from "./base/GuardManager.sol " ;
56import {ModuleManager} from "./base/ModuleManager.sol " ;
67import {OwnerManager} from "./base/OwnerManager.sol " ;
7- import {FallbackManager} from "./base/FallbackManager.sol " ;
88import {NativeCurrencyPaymentFallback} from "./common/NativeCurrencyPaymentFallback.sol " ;
9- import {Singleton} from "./common/Singleton.sol " ;
10- import {SignatureDecoder} from "./common/SignatureDecoder.sol " ;
119import {SecuredTokenTransfer} from "./common/SecuredTokenTransfer.sol " ;
10+ import {SignatureDecoder} from "./common/SignatureDecoder.sol " ;
11+ import {Singleton} from "./common/Singleton.sol " ;
1212import {StorageAccessible} from "./common/StorageAccessible.sol " ;
13- import {Enum} from "./libraries/Enum.sol " ;
14- import {ISignatureValidator, ISignatureValidatorConstants} from "./interfaces/ISignatureValidator.sol " ;
1513import {SafeMath} from "./external/SafeMath.sol " ;
1614import {ISafe} from "./interfaces/ISafe.sol " ;
15+ import {ISignatureValidator, ISignatureValidatorConstants} from "./interfaces/ISignatureValidator.sol " ;
16+ import {Enum} from "./libraries/Enum.sol " ;
1717
1818/**
1919 * @title Safe - A multisignature wallet with support for confirmations using signed messages based on EIP-712.
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
33
4- import {Safe, Enum} from "./Safe.sol " ;
5-
6- // Imports are required for NatSpec validation of the compiler, and falsely detected as unused by
7- // the linter, so disable the `no-unused-imports` rule for the next line.
4+ // The import is used in the @inheritdoc, false positive
85// solhint-disable-next-line no-unused-import
96import {ModuleManager} from "./base/ModuleManager.sol " ;
7+ import {Safe, Enum} from "./Safe.sol " ;
108
119/**
1210 * @title SafeL2 - An implementation of the Safe contract that emits additional events on transaction executions.
Original file line number Diff line number Diff line change 22/* solhint-disable one-contract-per-file */
33pragma solidity >= 0.7.0 < 0.9.0 ;
44
5- import {Enum } from "../libraries/Enum .sol " ;
6- import {SelfAuthorized } from "../common/SelfAuthorized .sol " ;
7- import {IERC165 } from ".. /interfaces/IERC165 .sol " ;
8- import {IGuardManager } from "../interfaces/IGuardManager .sol " ;
5+ import {SelfAuthorized } from "./../common/SelfAuthorized .sol " ;
6+ import {IERC165 } from "./../interfaces/IERC165 .sol " ;
7+ import {IGuardManager } from "./.. /interfaces/IGuardManager .sol " ;
8+ import {Enum } from "./../libraries/Enum .sol " ;
99
1010/**
1111 * @title ITransactionGuard Interface
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22/* solhint-disable one-contract-per-file */
33pragma solidity >= 0.7.0 < 0.9.0 ;
4- import {Enum} from "../libraries/Enum.sol " ;
5- import {SelfAuthorized} from "../common/SelfAuthorized.sol " ;
4+ import {SelfAuthorized} from "./../common/SelfAuthorized.sol " ;
5+ import {IERC165 } from "./../interfaces/IERC165.sol " ;
6+ import {IModuleManager} from "./../interfaces/IModuleManager.sol " ;
7+ import {Enum} from "./../libraries/Enum.sol " ;
68import {Executor} from "./Executor.sol " ;
7- import {IModuleManager} from "../interfaces/IModuleManager.sol " ;
8- import {IERC165 } from "../interfaces/IERC165.sol " ;
99
1010/**
1111 * @title IModuleGuard Interface
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
3- import {IERC165 } from ".. /../interfaces/IERC165 .sol " ;
4- import {BaseTransactionGuard, ITransactionGuard } from ".. /../base/GuardManager .sol " ;
5- import {BaseModuleGuard, IModuleGuard } from ".. /../base/ModuleManager .sol " ;
3+ import {BaseTransactionGuard, ITransactionGuard } from "./.. /../base/GuardManager .sol " ;
4+ import {BaseModuleGuard, IModuleGuard } from "./.. /../base/ModuleManager .sol " ;
5+ import {IERC165 } from "./.. /../interfaces/IERC165 .sol " ;
66
77/**
88 * @title BaseGuard - Inherits BaseTransactionGuard and BaseModuleGuard.
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
33
4- import {Enum } from ".. /../libraries/Enum .sol " ;
5- import {ISafe } from ".. /../interfaces/ISafe .sol " ;
4+ import {ISafe } from "./.. /../interfaces/ISafe .sol " ;
5+ import {Enum } from "./.. /../libraries/Enum .sol " ;
66import {BaseGuard} from "./BaseGuard.sol " ;
77/**
88 * @title Debug Transaction Guard - Emits transaction events with extended information.
Original file line number Diff line number Diff line change 22/* solhint-disable one-contract-per-file */
33pragma solidity >= 0.7.0 < 0.9.0 ;
44
5- import {Enum } from ".. /../libraries/Enum .sol " ;
6- import {BaseTransactionGuard } from ".. /../base/GuardManager .sol " ;
7- import {ISafe } from ".. /../interfaces/ISafe .sol " ;
5+ import {BaseTransactionGuard } from "./.. /../base/GuardManager .sol " ;
6+ import {ISafe } from "./.. /../interfaces/ISafe .sol " ;
7+ import {Enum } from "./.. /../libraries/Enum .sol " ;
88
99/**
1010 * @title OnlyOwnersGuard - Only allows owners to execute transactions.
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
33
4- import {TokenCallbackHandler} from "./TokenCallbackHandler.sol " ;
5- import {ISignatureValidator} from "../interfaces/ISignatureValidator.sol " ;
6- import {ISafe} from "../interfaces/ISafe.sol " ;
4+ import {ISafe} from "./../interfaces/ISafe.sol " ;
5+ import {ISignatureValidator} from "./../interfaces/ISignatureValidator.sol " ;
76import {HandlerContext} from "./HandlerContext.sol " ;
7+ import {TokenCallbackHandler} from "./TokenCallbackHandler.sol " ;
88
99/**
1010 * @title Compatibility Fallback Handler - Provides compatibility between pre 1.3.0 and 1.3.0+ Safe Smart Account contracts.
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: LGPL-3.0-only
22pragma solidity >= 0.7.0 < 0.9.0 ;
33
4- import {Enum} from "../libraries/Enum.sol " ;
5- import {IModuleManager} from "./IModuleManager.sol " ;
6- import {IOwnerManager} from "./IOwnerManager.sol " ;
4+ import {Enum} from "./../libraries/Enum.sol " ;
75import {IFallbackManager} from "./IFallbackManager.sol " ;
86import {IGuardManager} from "./IGuardManager.sol " ;
7+ import {IModuleManager} from "./IModuleManager.sol " ;
8+ import {IOwnerManager} from "./IOwnerManager.sol " ;
99
1010/**
1111 * @title ISafe - A multisignature wallet interface with support for confirmations using signed messages based on EIP-712.
You can’t perform that action at this time.
0 commit comments