Parcourir la source

Bump minimum pragma version to `0.8.19` (#4288)

Ernesto García il y a 2 ans
Parent
commit
7bb5592ad5
100 fichiers modifiés avec 104 ajouts et 99 suppressions
  1. 5 0
      .changeset/short-eels-enjoy.md
  2. 1 1
      README.md
  3. 1 1
      certora/harnesses/AccessControlDefaultAdminRulesHarness.sol
  4. 1 1
      certora/harnesses/AccessControlHarness.sol
  5. 1 1
      certora/harnesses/DoubleEndedQueueHarness.sol
  6. 1 1
      certora/harnesses/ERC20FlashMintHarness.sol
  7. 1 1
      certora/harnesses/ERC20PermitHarness.sol
  8. 1 1
      certora/harnesses/ERC20WrapperHarness.sol
  9. 1 1
      certora/harnesses/ERC3156FlashBorrowerHarness.sol
  10. 1 1
      certora/harnesses/ERC721Harness.sol
  11. 1 1
      certora/harnesses/ERC721ReceiverHarness.sol
  12. 1 1
      certora/harnesses/EnumerableMapHarness.sol
  13. 1 1
      certora/harnesses/EnumerableSetHarness.sol
  14. 1 1
      certora/harnesses/InitializableHarness.sol
  15. 1 1
      certora/harnesses/Ownable2StepHarness.sol
  16. 1 1
      certora/harnesses/OwnableHarness.sol
  17. 1 1
      certora/harnesses/PausableHarness.sol
  18. 1 1
      certora/harnesses/TimelockControllerHarness.sol
  19. 1 1
      contracts/access/AccessControl.sol
  20. 1 1
      contracts/access/AccessControlDefaultAdminRules.sol
  21. 1 1
      contracts/access/AccessControlEnumerable.sol
  22. 1 1
      contracts/access/IAccessControl.sol
  23. 1 1
      contracts/access/IAccessControlDefaultAdminRules.sol
  24. 1 1
      contracts/access/IAccessControlEnumerable.sol
  25. 1 1
      contracts/access/Ownable.sol
  26. 1 1
      contracts/access/Ownable2Step.sol
  27. 1 1
      contracts/finance/VestingWallet.sol
  28. 1 1
      contracts/governance/Governor.sol
  29. 1 1
      contracts/governance/IGovernor.sol
  30. 1 1
      contracts/governance/TimelockController.sol
  31. 1 1
      contracts/governance/compatibility/GovernorCompatibilityBravo.sol
  32. 1 1
      contracts/governance/compatibility/IGovernorCompatibilityBravo.sol
  33. 1 1
      contracts/governance/extensions/GovernorCountingSimple.sol
  34. 1 1
      contracts/governance/extensions/GovernorPreventLateQuorum.sol
  35. 1 1
      contracts/governance/extensions/GovernorSettings.sol
  36. 1 1
      contracts/governance/extensions/GovernorTimelockCompound.sol
  37. 1 1
      contracts/governance/extensions/GovernorTimelockControl.sol
  38. 1 1
      contracts/governance/extensions/GovernorVotes.sol
  39. 1 1
      contracts/governance/extensions/GovernorVotesQuorumFraction.sol
  40. 1 1
      contracts/governance/extensions/IGovernorTimelock.sol
  41. 1 1
      contracts/governance/utils/IVotes.sol
  42. 1 1
      contracts/governance/utils/Votes.sol
  43. 1 1
      contracts/interfaces/IERC1155.sol
  44. 1 1
      contracts/interfaces/IERC1155MetadataURI.sol
  45. 1 1
      contracts/interfaces/IERC1155Receiver.sol
  46. 1 1
      contracts/interfaces/IERC1271.sol
  47. 1 1
      contracts/interfaces/IERC1363.sol
  48. 1 1
      contracts/interfaces/IERC1363Receiver.sol
  49. 1 1
      contracts/interfaces/IERC1363Spender.sol
  50. 1 1
      contracts/interfaces/IERC165.sol
  51. 1 1
      contracts/interfaces/IERC1820Implementer.sol
  52. 1 1
      contracts/interfaces/IERC1820Registry.sol
  53. 1 1
      contracts/interfaces/IERC1967.sol
  54. 1 1
      contracts/interfaces/IERC20.sol
  55. 1 1
      contracts/interfaces/IERC20Metadata.sol
  56. 1 1
      contracts/interfaces/IERC2309.sol
  57. 1 1
      contracts/interfaces/IERC2612.sol
  58. 1 1
      contracts/interfaces/IERC2981.sol
  59. 1 1
      contracts/interfaces/IERC3156.sol
  60. 1 1
      contracts/interfaces/IERC3156FlashBorrower.sol
  61. 1 1
      contracts/interfaces/IERC3156FlashLender.sol
  62. 1 1
      contracts/interfaces/IERC4626.sol
  63. 1 1
      contracts/interfaces/IERC4906.sol
  64. 1 1
      contracts/interfaces/IERC5267.sol
  65. 1 1
      contracts/interfaces/IERC5313.sol
  66. 1 1
      contracts/interfaces/IERC5805.sol
  67. 1 1
      contracts/interfaces/IERC6372.sol
  68. 1 1
      contracts/interfaces/IERC721.sol
  69. 1 1
      contracts/interfaces/IERC721Enumerable.sol
  70. 1 1
      contracts/interfaces/IERC721Metadata.sol
  71. 1 1
      contracts/interfaces/IERC721Receiver.sol
  72. 1 1
      contracts/interfaces/IERC777.sol
  73. 1 1
      contracts/interfaces/IERC777Recipient.sol
  74. 1 1
      contracts/interfaces/IERC777Sender.sol
  75. 1 1
      contracts/interfaces/draft-IERC1822.sol
  76. 1 1
      contracts/metatx/ERC2771Context.sol
  77. 1 1
      contracts/metatx/MinimalForwarder.sol
  78. 1 1
      contracts/mocks/ArraysMock.sol
  79. 1 1
      contracts/mocks/CallReceiverMock.sol
  80. 1 1
      contracts/mocks/ContextMock.sol
  81. 1 1
      contracts/mocks/DummyImplementation.sol
  82. 1 1
      contracts/mocks/EIP712Verifier.sol
  83. 1 1
      contracts/mocks/ERC1271WalletMock.sol
  84. 1 1
      contracts/mocks/ERC165/ERC165InterfacesSupported.sol
  85. 1 1
      contracts/mocks/ERC165/ERC165MaliciousData.sol
  86. 1 1
      contracts/mocks/ERC165/ERC165MissingData.sol
  87. 1 1
      contracts/mocks/ERC165/ERC165NotSupported.sol
  88. 1 1
      contracts/mocks/ERC165/ERC165ReturnBomb.sol
  89. 1 1
      contracts/mocks/ERC2771ContextMock.sol
  90. 1 1
      contracts/mocks/ERC3156FlashBorrowerMock.sol
  91. 1 1
      contracts/mocks/EtherReceiverMock.sol
  92. 1 1
      contracts/mocks/InitializableMock.sol
  93. 1 1
      contracts/mocks/MulticallTest.sol
  94. 1 1
      contracts/mocks/MultipleInheritanceInitializableMocks.sol
  95. 1 1
      contracts/mocks/PausableMock.sol
  96. 1 1
      contracts/mocks/ReentrancyAttack.sol
  97. 1 1
      contracts/mocks/ReentrancyMock.sol
  98. 1 1
      contracts/mocks/RegressionImplementation.sol
  99. 1 1
      contracts/mocks/SingleInheritanceInitializableMocks.sol
  100. 1 1
      contracts/mocks/StorageSlotMock.sol

+ 5 - 0
.changeset/short-eels-enjoy.md

@@ -0,0 +1,5 @@
+---
+'openzeppelin-solidity': major
+---
+
+Bump minimum compiler version required to 0.8.19

+ 1 - 1
README.md

@@ -36,7 +36,7 @@ An alternative to npm is to use the GitHub repository (`openzeppelin/openzeppeli
 Once installed, you can use the contracts in the library by importing them:
 
 ```solidity
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
 

+ 1 - 1
certora/harnesses/AccessControlDefaultAdminRulesHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/access/AccessControlDefaultAdminRules.sol";
 

+ 1 - 1
certora/harnesses/AccessControlHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/access/AccessControl.sol";
 

+ 1 - 1
certora/harnesses/DoubleEndedQueueHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/utils/structs/DoubleEndedQueue.sol";
 

+ 1 - 1
certora/harnesses/ERC20FlashMintHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/token/ERC20/ERC20.sol";
 import "../patched/token/ERC20/extensions/ERC20Permit.sol";

+ 1 - 1
certora/harnesses/ERC20PermitHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/token/ERC20/extensions/ERC20Permit.sol";
 

+ 1 - 1
certora/harnesses/ERC20WrapperHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/token/ERC20/extensions/ERC20Wrapper.sol";
 

+ 1 - 1
certora/harnesses/ERC3156FlashBorrowerHarness.sol

@@ -2,7 +2,7 @@
 
 import "../patched/interfaces/IERC3156FlashBorrower.sol";
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract ERC3156FlashBorrowerHarness is IERC3156FlashBorrower {
     bytes32 somethingToReturn;

+ 1 - 1
certora/harnesses/ERC721Harness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/token/ERC721/ERC721.sol";
 

+ 1 - 1
certora/harnesses/ERC721ReceiverHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/interfaces/IERC721Receiver.sol";
 

+ 1 - 1
certora/harnesses/EnumerableMapHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/utils/structs/EnumerableMap.sol";
 

+ 1 - 1
certora/harnesses/EnumerableSetHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/utils/structs/EnumerableSet.sol";
 

+ 1 - 1
certora/harnesses/InitializableHarness.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-pragma solidity ^0.8.2;
+pragma solidity ^0.8.19;
 
 import "../patched/proxy/utils/Initializable.sol";
 

+ 1 - 1
certora/harnesses/Ownable2StepHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/access/Ownable2Step.sol";
 

+ 1 - 1
certora/harnesses/OwnableHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/access/Ownable.sol";
 

+ 1 - 1
certora/harnesses/PausableHarness.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/security/Pausable.sol";
 

+ 1 - 1
certora/harnesses/TimelockControllerHarness.sol

@@ -1,4 +1,4 @@
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../patched/governance/TimelockController.sol";
 

+ 1 - 1
contracts/access/AccessControl.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IAccessControl.sol";
 import "../utils/Context.sol";

+ 1 - 1
contracts/access/AccessControlDefaultAdminRules.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControlDefaultAdminRules.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./AccessControl.sol";
 import "./IAccessControlDefaultAdminRules.sol";

+ 1 - 1
contracts/access/AccessControlEnumerable.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IAccessControlEnumerable.sol";
 import "./AccessControl.sol";

+ 1 - 1
contracts/access/IAccessControl.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev External interface of AccessControl declared to support ERC165 detection.

+ 1 - 1
contracts/access/IAccessControlDefaultAdminRules.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (access/IAccessControlDefaultAdminRules.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IAccessControl.sol";
 

+ 1 - 1
contracts/access/IAccessControlEnumerable.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IAccessControl.sol";
 

+ 1 - 1
contracts/access/Ownable.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/Context.sol";
 

+ 1 - 1
contracts/access/Ownable2Step.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./Ownable.sol";
 

+ 1 - 1
contracts/finance/VestingWallet.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (finance/VestingWallet.sol)
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/utils/SafeERC20.sol";
 import "../utils/Address.sol";

+ 1 - 1
contracts/governance/Governor.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/Governor.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC721/IERC721Receiver.sol";
 import "../token/ERC1155/IERC1155Receiver.sol";

+ 1 - 1
contracts/governance/IGovernor.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/IGovernor.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../interfaces/IERC165.sol";
 import "../interfaces/IERC6372.sol";

+ 1 - 1
contracts/governance/TimelockController.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/TimelockController.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../access/AccessControl.sol";
 import "../token/ERC721/IERC721Receiver.sol";

+ 1 - 1
contracts/governance/compatibility/GovernorCompatibilityBravo.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/compatibility/GovernorCompatibilityBravo.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../../utils/math/SafeCast.sol";
 import "../extensions/IGovernorTimelock.sol";

+ 1 - 1
contracts/governance/compatibility/IGovernorCompatibilityBravo.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/compatibility/IGovernorCompatibilityBravo.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../IGovernor.sol";
 

+ 1 - 1
contracts/governance/extensions/GovernorCountingSimple.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorCountingSimple.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../Governor.sol";
 

+ 1 - 1
contracts/governance/extensions/GovernorPreventLateQuorum.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorPreventLateQuorum.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../Governor.sol";
 import "../../utils/math/Math.sol";

+ 1 - 1
contracts/governance/extensions/GovernorSettings.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorSettings.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../Governor.sol";
 

+ 1 - 1
contracts/governance/extensions/GovernorTimelockCompound.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorTimelockCompound.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IGovernorTimelock.sol";
 import "../Governor.sol";

+ 1 - 1
contracts/governance/extensions/GovernorTimelockControl.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorTimelockControl.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IGovernorTimelock.sol";
 import "../Governor.sol";

+ 1 - 1
contracts/governance/extensions/GovernorVotes.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorVotes.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../Governor.sol";
 import "../../interfaces/IERC5805.sol";

+ 1 - 1
contracts/governance/extensions/GovernorVotesQuorumFraction.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./GovernorVotes.sol";
 import "../../utils/math/SafeCast.sol";

+ 1 - 1
contracts/governance/extensions/IGovernorTimelock.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (governance/extensions/IGovernorTimelock.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../IGovernor.sol";
 

+ 1 - 1
contracts/governance/utils/IVotes.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/IVotes.sol)
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.

+ 1 - 1
contracts/governance/utils/Votes.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/Votes.sol)
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../../interfaces/IERC5805.sol";
 import "../../utils/Context.sol";

+ 1 - 1
contracts/interfaces/IERC1155.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC1155/IERC1155.sol";

+ 1 - 1
contracts/interfaces/IERC1155MetadataURI.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155MetadataURI.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC1155/extensions/IERC1155MetadataURI.sol";

+ 1 - 1
contracts/interfaces/IERC1155Receiver.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155Receiver.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC1155/IERC1155Receiver.sol";

+ 1 - 1
contracts/interfaces/IERC1271.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the ERC1271 standard signature validation method for

+ 1 - 1
contracts/interfaces/IERC1363.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1363.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IERC20.sol";
 import "./IERC165.sol";

+ 1 - 1
contracts/interfaces/IERC1363Receiver.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1363Receiver.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface for any contract that wants to support {IERC1363-transferAndCall}

+ 1 - 1
contracts/interfaces/IERC1363Spender.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1363Spender.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface for any contract that wants to support {IERC1363-approveAndCall}

+ 1 - 1
contracts/interfaces/IERC165.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/introspection/IERC165.sol";

+ 1 - 1
contracts/interfaces/IERC1820Implementer.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC1820Implementer.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface for an ERC1820 implementer, as defined in the

+ 1 - 1
contracts/interfaces/IERC1820Registry.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.8.0) (utils/introspection/IERC1820Registry.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the global ERC1820 Registry, as defined in the

+ 1 - 1
contracts/interfaces/IERC1967.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.

+ 1 - 1
contracts/interfaces/IERC20.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/IERC20.sol";

+ 1 - 1
contracts/interfaces/IERC20Metadata.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20Metadata.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/extensions/IERC20Metadata.sol";

+ 1 - 1
contracts/interfaces/IERC2309.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.8.0) (interfaces/IERC2309.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev ERC-2309: ERC-721 Consecutive Transfer Extension.

+ 1 - 1
contracts/interfaces/IERC2612.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2612.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/extensions/IERC20Permit.sol";
 

+ 1 - 1
contracts/interfaces/IERC2981.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/introspection/IERC165.sol";
 

+ 1 - 1
contracts/interfaces/IERC3156.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IERC3156FlashBorrower.sol";
 import "./IERC3156FlashLender.sol";

+ 1 - 1
contracts/interfaces/IERC3156FlashBorrower.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC3156FlashBorrower.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the ERC3156 FlashBorrower, as defined in

+ 1 - 1
contracts/interfaces/IERC3156FlashLender.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashLender.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IERC3156FlashBorrower.sol";
 

+ 1 - 1
contracts/interfaces/IERC4626.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4626.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/IERC20.sol";
 import "../token/ERC20/extensions/IERC20Metadata.sol";

+ 1 - 1
contracts/interfaces/IERC4906.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4906.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./IERC165.sol";
 import "./IERC721.sol";

+ 1 - 1
contracts/interfaces/IERC5267.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 interface IERC5267 {
     /**

+ 1 - 1
contracts/interfaces/IERC5313.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5313.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface for the Light Contract Ownership Standard.

+ 1 - 1
contracts/interfaces/IERC5805.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5805.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../governance/utils/IVotes.sol";
 import "./IERC6372.sol";

+ 1 - 1
contracts/interfaces/IERC6372.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC6372.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 interface IERC6372 {
     /**

+ 1 - 1
contracts/interfaces/IERC721.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC721/IERC721.sol";

+ 1 - 1
contracts/interfaces/IERC721Enumerable.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Enumerable.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC721/extensions/IERC721Enumerable.sol";

+ 1 - 1
contracts/interfaces/IERC721Metadata.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Metadata.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC721/extensions/IERC721Metadata.sol";

+ 1 - 1
contracts/interfaces/IERC721Receiver.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Receiver.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC721/IERC721Receiver.sol";

+ 1 - 1
contracts/interfaces/IERC777.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the ERC777Token standard as defined in the EIP.

+ 1 - 1
contracts/interfaces/IERC777Recipient.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP.

+ 1 - 1
contracts/interfaces/IERC777Sender.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev Interface of the ERC777TokensSender standard as defined in the EIP.

+ 1 - 1
contracts/interfaces/draft-IERC1822.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 /**
  * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified

+ 1 - 1
contracts/metatx/ERC2771Context.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.7.0) (metatx/ERC2771Context.sol)
 
-pragma solidity ^0.8.9;
+pragma solidity ^0.8.19;
 
 import "../utils/Context.sol";
 

+ 1 - 1
contracts/metatx/MinimalForwarder.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // OpenZeppelin Contracts (last updated v4.9.0) (metatx/MinimalForwarder.sol)
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/cryptography/ECDSA.sol";
 import "../utils/cryptography/EIP712.sol";

+ 1 - 1
contracts/mocks/ArraysMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/Arrays.sol";
 

+ 1 - 1
contracts/mocks/CallReceiverMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract CallReceiverMock {
     event MockFunctionCalled();

+ 1 - 1
contracts/mocks/ContextMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/Context.sol";
 

+ 1 - 1
contracts/mocks/DummyImplementation.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 abstract contract Impl {
     function version() public pure virtual returns (string memory);

+ 1 - 1
contracts/mocks/EIP712Verifier.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/cryptography/ECDSA.sol";
 import "../utils/cryptography/EIP712.sol";

+ 1 - 1
contracts/mocks/ERC1271WalletMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../access/Ownable.sol";
 import "../interfaces/IERC1271.sol";

+ 1 - 1
contracts/mocks/ERC165/ERC165InterfacesSupported.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../../utils/introspection/IERC165.sol";
 

+ 1 - 1
contracts/mocks/ERC165/ERC165MaliciousData.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract ERC165MaliciousData {
     function supportsInterface(bytes4) public pure returns (bool) {

+ 1 - 1
contracts/mocks/ERC165/ERC165MissingData.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract ERC165MissingData {
     function supportsInterface(bytes4 interfaceId) public view {} // missing return

+ 1 - 1
contracts/mocks/ERC165/ERC165NotSupported.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract ERC165NotSupported {}

+ 1 - 1
contracts/mocks/ERC165/ERC165ReturnBomb.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../../utils/introspection/IERC165.sol";
 

+ 1 - 1
contracts/mocks/ERC2771ContextMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.9;
+pragma solidity ^0.8.19;
 
 import "./ContextMock.sol";
 import "../metatx/ERC2771Context.sol";

+ 1 - 1
contracts/mocks/ERC3156FlashBorrowerMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../token/ERC20/IERC20.sol";
 import "../interfaces/IERC3156.sol";

+ 1 - 1
contracts/mocks/EtherReceiverMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 contract EtherReceiverMock {
     bool private _acceptEther;

+ 1 - 1
contracts/mocks/InitializableMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../proxy/utils/Initializable.sol";
 

+ 1 - 1
contracts/mocks/MulticallTest.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "./token/ERC20MulticallMock.sol";
 

+ 1 - 1
contracts/mocks/MultipleInheritanceInitializableMocks.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../proxy/utils/Initializable.sol";
 

+ 1 - 1
contracts/mocks/PausableMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../security/Pausable.sol";
 

+ 1 - 1
contracts/mocks/ReentrancyAttack.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/Context.sol";
 

+ 1 - 1
contracts/mocks/ReentrancyMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../security/ReentrancyGuard.sol";
 import "./ReentrancyAttack.sol";

+ 1 - 1
contracts/mocks/RegressionImplementation.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../proxy/utils/Initializable.sol";
 

+ 1 - 1
contracts/mocks/SingleInheritanceInitializableMocks.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../proxy/utils/Initializable.sol";
 

+ 1 - 1
contracts/mocks/StorageSlotMock.sol

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: MIT
 
-pragma solidity ^0.8.0;
+pragma solidity ^0.8.19;
 
 import "../utils/StorageSlot.sol";
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff