From 49672c1826ed7c387ff06a0497b23c93a6008d6c Mon Sep 17 00:00:00 2001 From: gitpusha Date: Thu, 5 Nov 2020 08:53:30 +0100 Subject: [PATCH] chore: cleanup for deployments --- .../gelato/conditions/ConditionCompareUintsFromTwoSources.sol | 2 +- .../contracts/gelato/conditions/ConditionMakerVaultUnsafe.sol | 2 +- contracts/contracts/mocks/MockCDAI.sol | 2 +- contracts/contracts/mocks/MockDSR.sol | 2 +- contracts/contracts/resolvers/PriceOracleResolver.sol | 2 +- contracts/interfaces/InstaDapp/IInstaDapp.sol | 2 +- .../interfaces/InstaDapp/resolvers/IInstaMakerResolver.sol | 2 +- contracts/lib/GelatoBytes.sol | 2 +- contracts/lib/GelatoString.sol | 2 +- hardhat.config.js | 1 + 10 files changed, 10 insertions(+), 9 deletions(-) diff --git a/contracts/contracts/gelato/conditions/ConditionCompareUintsFromTwoSources.sol b/contracts/contracts/gelato/conditions/ConditionCompareUintsFromTwoSources.sol index c3f4e84..09b837d 100644 --- a/contracts/contracts/gelato/conditions/ConditionCompareUintsFromTwoSources.sol +++ b/contracts/contracts/gelato/conditions/ConditionCompareUintsFromTwoSources.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; import { diff --git a/contracts/contracts/gelato/conditions/ConditionMakerVaultUnsafe.sol b/contracts/contracts/gelato/conditions/ConditionMakerVaultUnsafe.sol index b48858a..e309640 100644 --- a/contracts/contracts/gelato/conditions/ConditionMakerVaultUnsafe.sol +++ b/contracts/contracts/gelato/conditions/ConditionMakerVaultUnsafe.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; pragma experimental ABIEncoderV2; diff --git a/contracts/contracts/mocks/MockCDAI.sol b/contracts/contracts/mocks/MockCDAI.sol index b7f0304..1787420 100644 --- a/contracts/contracts/mocks/MockCDAI.sol +++ b/contracts/contracts/mocks/MockCDAI.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; contract MockCDAI { diff --git a/contracts/contracts/mocks/MockDSR.sol b/contracts/contracts/mocks/MockDSR.sol index 59b3c16..abf5a25 100644 --- a/contracts/contracts/mocks/MockDSR.sol +++ b/contracts/contracts/mocks/MockDSR.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; contract MockDSR { diff --git a/contracts/contracts/resolvers/PriceOracleResolver.sol b/contracts/contracts/resolvers/PriceOracleResolver.sol index 8d3a1e1..c028f85 100644 --- a/contracts/contracts/resolvers/PriceOracleResolver.sol +++ b/contracts/contracts/resolvers/PriceOracleResolver.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; pragma experimental ABIEncoderV2; diff --git a/contracts/interfaces/InstaDapp/IInstaDapp.sol b/contracts/interfaces/InstaDapp/IInstaDapp.sol index 5fe36ac..d8c874d 100644 --- a/contracts/interfaces/InstaDapp/IInstaDapp.sol +++ b/contracts/interfaces/InstaDapp/IInstaDapp.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; pragma experimental ABIEncoderV2; diff --git a/contracts/interfaces/InstaDapp/resolvers/IInstaMakerResolver.sol b/contracts/interfaces/InstaDapp/resolvers/IInstaMakerResolver.sol index 4f09aeb..a7afd58 100644 --- a/contracts/interfaces/InstaDapp/resolvers/IInstaMakerResolver.sol +++ b/contracts/interfaces/InstaDapp/resolvers/IInstaMakerResolver.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; pragma experimental ABIEncoderV2; diff --git a/contracts/lib/GelatoBytes.sol b/contracts/lib/GelatoBytes.sol index 7af80f7..3a1a330 100644 --- a/contracts/lib/GelatoBytes.sol +++ b/contracts/lib/GelatoBytes.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; library GelatoBytes { diff --git a/contracts/lib/GelatoString.sol b/contracts/lib/GelatoString.sol index bb6c7ba..f0c963d 100644 --- a/contracts/lib/GelatoString.sol +++ b/contracts/lib/GelatoString.sol @@ -1,4 +1,4 @@ -// "SPDX-License-Identifier: UNLICENSED" +// SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.4; library GelatoString { diff --git a/hardhat.config.js b/hardhat.config.js index 6cdcfd2..9c385aa 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -80,6 +80,7 @@ module.exports = { accounts: DEPLOYER_PK_MAINNET ? [DEPLOYER_PK_MAINNET] : [], chainId: 1, url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`, + gasPrice: parseInt(utils.parseUnits("10", "gwei")), }, }, solidity: {