From 640788dfd6fe8703453cae024900e527269bd416 Mon Sep 17 00:00:00 2001 From: Sebastian Pape Date: Tue, 29 Aug 2023 14:10:56 +0200 Subject: [PATCH] fixes I04 - Floating Solidity Version --- contracts/DePayForwarderV2.sol | 2 +- contracts/DePayRouterV2.sol | 2 +- contracts/TestReceiver.sol | 2 +- contracts/interfaces/IDePayForwarderV2.sol | 2 +- contracts/interfaces/IDePayRouterV2.sol | 2 +- contracts/interfaces/IPermit2.sol | 2 +- flatten/DePayForwarderV2.sol | 6 +++--- flatten/DePayRouterV2.sol | 8 ++++---- flatten/IDePayForwarderV2.sol | 6 +++--- flatten/IDePayRouterV2.sol | 4 ++-- flatten/IPermit2.sol | 2 +- flatten/TestReceiver.sol | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/contracts/DePayForwarderV2.sol b/contracts/DePayForwarderV2.sol index bccb45f..e5c9ac4 100644 --- a/contracts/DePayForwarderV2.sol +++ b/contracts/DePayForwarderV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/DePayRouterV2.sol b/contracts/DePayRouterV2.sol index e504663..8e91083 100644 --- a/contracts/DePayRouterV2.sol +++ b/contracts/DePayRouterV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/TestReceiver.sol b/contracts/TestReceiver.sol index fe48143..be387ec 100644 --- a/contracts/TestReceiver.sol +++ b/contracts/TestReceiver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/interfaces/IDePayForwarderV2.sol b/contracts/interfaces/IDePayForwarderV2.sol index 1e60278..c667602 100644 --- a/contracts/interfaces/IDePayForwarderV2.sol +++ b/contracts/interfaces/IDePayForwarderV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; import './IDePayRouterV2.sol'; diff --git a/contracts/interfaces/IDePayRouterV2.sol b/contracts/interfaces/IDePayRouterV2.sol index 29f871e..8e7f5dc 100644 --- a/contracts/interfaces/IDePayRouterV2.sol +++ b/contracts/interfaces/IDePayRouterV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; import './IPermit2.sol'; diff --git a/contracts/interfaces/IPermit2.sol b/contracts/interfaces/IPermit2.sol index 4d2102d..67de861 100644 --- a/contracts/interfaces/IPermit2.sol +++ b/contracts/interfaces/IPermit2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; interface IPermit2 { diff --git a/flatten/DePayForwarderV2.sol b/flatten/DePayForwarderV2.sol index 76c2247..f89bed1 100644 --- a/flatten/DePayForwarderV2.sol +++ b/flatten/DePayForwarderV2.sol @@ -515,7 +515,7 @@ library SafeERC20 { // Dependency file: contracts/interfaces/IPermit2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; interface IPermit2 { @@ -544,7 +544,7 @@ interface IPermit2 { // Dependency file: contracts/interfaces/IDePayRouterV2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; // import 'contracts/interfaces/IPermit2.sol'; @@ -595,7 +595,7 @@ interface IDePayRouterV2 { // Root file: contracts/DePayForwarderV2.sol -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/flatten/DePayRouterV2.sol b/flatten/DePayRouterV2.sol index 30a0573..af6e83f 100644 --- a/flatten/DePayRouterV2.sol +++ b/flatten/DePayRouterV2.sol @@ -515,7 +515,7 @@ library SafeERC20 { // Dependency file: contracts/interfaces/IPermit2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; interface IPermit2 { @@ -544,7 +544,7 @@ interface IPermit2 { // Dependency file: contracts/interfaces/IDePayRouterV2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; // import 'contracts/interfaces/IPermit2.sol'; @@ -595,7 +595,7 @@ interface IDePayRouterV2 { // Dependency file: contracts/interfaces/IDePayForwarderV2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; // import 'contracts/interfaces/IDePayRouterV2.sol'; @@ -613,7 +613,7 @@ interface IDePayForwarderV2 { // Root file: contracts/DePayRouterV2.sol -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/flatten/IDePayForwarderV2.sol b/flatten/IDePayForwarderV2.sol index b0d4c4b..04acdbf 100644 --- a/flatten/IDePayForwarderV2.sol +++ b/flatten/IDePayForwarderV2.sol @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; interface IPermit2 { @@ -31,7 +31,7 @@ interface IPermit2 { // Dependency file: contracts/interfaces/IDePayRouterV2.sol -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; // import 'contracts/interfaces/IPermit2.sol'; @@ -82,7 +82,7 @@ interface IDePayRouterV2 { // Root file: contracts/interfaces/IDePayForwarderV2.sol -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; // import 'contracts/interfaces/IDePayRouterV2.sol'; diff --git a/flatten/IDePayRouterV2.sol b/flatten/IDePayRouterV2.sol index aa46fb6..3c25ba7 100644 --- a/flatten/IDePayRouterV2.sol +++ b/flatten/IDePayRouterV2.sol @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT -// pragma solidity >=0.8.18 <0.9.0; +// pragma solidity 0.8.18; interface IPermit2 { @@ -31,7 +31,7 @@ interface IPermit2 { // Root file: contracts/interfaces/IDePayRouterV2.sol -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; // import 'contracts/interfaces/IPermit2.sol'; diff --git a/flatten/IPermit2.sol b/flatten/IPermit2.sol index 0f8e6ab..ec2d081 100644 --- a/flatten/IPermit2.sol +++ b/flatten/IPermit2.sol @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; interface IPermit2 { diff --git a/flatten/TestReceiver.sol b/flatten/TestReceiver.sol index 1e53653..637eaca 100644 --- a/flatten/TestReceiver.sol +++ b/flatten/TestReceiver.sol @@ -409,7 +409,7 @@ library SafeERC20 { // Root file: contracts/TestReceiver.sol -pragma solidity >=0.8.18 <0.9.0; +pragma solidity 0.8.18; // import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";