_import.sol 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.20;
  3. import {Address} from "../utils/Address.sol";
  4. import {Arrays} from "../utils/Arrays.sol";
  5. import {Base64} from "../utils/Base64.sol";
  6. import {BitMaps} from "../utils/structs/BitMaps.sol";
  7. import {Checkpoints} from "../utils/structs/Checkpoints.sol";
  8. import {Context} from "../utils/Context.sol";
  9. import {Create2} from "../utils/Create2.sol";
  10. import {DoubleEndedQueue} from "../utils/structs/DoubleEndedQueue.sol";
  11. import {ECDSA} from "../utils/cryptography/ECDSA.sol";
  12. import {EIP712} from "../utils/cryptography/EIP712.sol";
  13. import {EnumerableMap} from "../utils/structs/EnumerableMap.sol";
  14. import {EnumerableSet} from "../utils/structs/EnumerableSet.sol";
  15. import {ERC165} from "../utils/introspection/ERC165.sol";
  16. import {ERC165Checker} from "../utils/introspection/ERC165Checker.sol";
  17. import {IERC165} from "../utils/introspection/IERC165.sol";
  18. import {Math} from "../utils/math/Math.sol";
  19. import {MerkleProof} from "../utils/cryptography/MerkleProof.sol";
  20. import {MessageHashUtils} from "../utils/cryptography/MessageHashUtils.sol";
  21. import {Multicall} from "../utils/Multicall.sol";
  22. import {Nonces} from "../utils/Nonces.sol";
  23. import {Panic} from "../utils/Panic.sol";
  24. import {Pausable} from "../utils/Pausable.sol";
  25. import {ReentrancyGuard} from "../utils/ReentrancyGuard.sol";
  26. import {SafeCast} from "../utils/math/SafeCast.sol";
  27. import {ShortStrings} from "../utils/ShortStrings.sol";
  28. import {SignatureChecker} from "../utils/cryptography/SignatureChecker.sol";
  29. import {SignedMath} from "../utils/math/SignedMath.sol";
  30. import {StorageSlot} from "../utils/StorageSlot.sol";
  31. import {Strings} from "../utils/Strings.sol";
  32. import {Time} from "../utils/types/Time.sol";
  33. abstract contract ExposeImports {
  34. // This will be transpiled, causing all the imports above to be transpiled when running the upgradeable tests.
  35. // This trick is necessary for testing libraries such as Panic.sol (which are not imported by any other transpiled
  36. // contracts and would otherwise not be exposed).
  37. }