From 0ab8614071c3732fbc95d46e848eab0f67696719 Mon Sep 17 00:00:00 2001 From: Michael De Luca <35537333+deluca-mike@users.noreply.github.com> Date: Sun, 12 Dec 2021 18:29:30 -0500 Subject: [PATCH] chore: Strict 0.8.7 (C4 #23) (#42) * chore: Remove TODO on pullFunds (c4 #10) * chore: strict 0.8.7 (c4 #23) --- contracts/DebtLocker.sol | 2 +- contracts/DebtLockerFactory.sol | 2 +- contracts/DebtLockerInitializer.sol | 2 +- contracts/DebtLockerStorage.sol | 2 +- contracts/interfaces/IDebtLocker.sol | 2 +- contracts/interfaces/IDebtLockerFactory.sol | 2 +- contracts/interfaces/Interfaces.sol | 2 +- contracts/test/DebtLocker.t.sol | 2 +- contracts/test/mocks/DebtLockerHarness.sol | 2 +- contracts/test/mocks/ManipulatableDebtLocker.sol | 2 +- contracts/test/mocks/Mocks.sol | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/contracts/DebtLocker.sol b/contracts/DebtLocker.sol index ac2c236..4c5ce28 100644 --- a/contracts/DebtLocker.sol +++ b/contracts/DebtLocker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleProxyFactory } from "../modules/maple-proxy-factory/contracts/interfaces/IMapleProxyFactory.sol"; diff --git a/contracts/DebtLockerFactory.sol b/contracts/DebtLockerFactory.sol index de66caf..cf9939c 100644 --- a/contracts/DebtLockerFactory.sol +++ b/contracts/DebtLockerFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleProxyFactory, MapleProxyFactory } from "../modules/maple-proxy-factory/contracts/MapleProxyFactory.sol"; diff --git a/contracts/DebtLockerInitializer.sol b/contracts/DebtLockerInitializer.sol index 0106cb9..0a53b72 100644 --- a/contracts/DebtLockerInitializer.sol +++ b/contracts/DebtLockerInitializer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleGlobalsLike, IMapleLoanLike, IPoolFactoryLike, IPoolLike } from "./interfaces/Interfaces.sol"; diff --git a/contracts/DebtLockerStorage.sol b/contracts/DebtLockerStorage.sol index 33d5614..16f8595 100644 --- a/contracts/DebtLockerStorage.sol +++ b/contracts/DebtLockerStorage.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; /// @title DebtLockerStorage maps the storage layout of a DebtLocker. contract DebtLockerStorage { diff --git a/contracts/interfaces/IDebtLocker.sol b/contracts/interfaces/IDebtLocker.sol index 6431bc1..b391503 100644 --- a/contracts/interfaces/IDebtLocker.sol +++ b/contracts/interfaces/IDebtLocker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleProxied } from "../../modules/maple-proxy-factory/contracts/interfaces/IMapleProxied.sol"; diff --git a/contracts/interfaces/IDebtLockerFactory.sol b/contracts/interfaces/IDebtLockerFactory.sol index 67b2cbc..b759419 100644 --- a/contracts/interfaces/IDebtLockerFactory.sol +++ b/contracts/interfaces/IDebtLockerFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleProxyFactory } from "../../modules/maple-proxy-factory/contracts/interfaces/IMapleProxyFactory.sol"; diff --git a/contracts/interfaces/Interfaces.sol b/contracts/interfaces/Interfaces.sol index b096246..f3956af 100644 --- a/contracts/interfaces/Interfaces.sol +++ b/contracts/interfaces/Interfaces.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; interface IERC20Like { diff --git a/contracts/test/DebtLocker.t.sol b/contracts/test/DebtLocker.t.sol index b1b2b92..d235741 100644 --- a/contracts/test/DebtLocker.t.sol +++ b/contracts/test/DebtLocker.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { TestUtils } from "../../modules/contract-test-utils/contracts/test.sol"; import { MockERC20 } from "../../modules/erc20/src/test/mocks/MockERC20.sol"; diff --git a/contracts/test/mocks/DebtLockerHarness.sol b/contracts/test/mocks/DebtLockerHarness.sol index 8850316..6d71a20 100644 --- a/contracts/test/mocks/DebtLockerHarness.sol +++ b/contracts/test/mocks/DebtLockerHarness.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { DebtLocker } from "../../DebtLocker.sol"; diff --git a/contracts/test/mocks/ManipulatableDebtLocker.sol b/contracts/test/mocks/ManipulatableDebtLocker.sol index 8066077..eef9b5a 100644 --- a/contracts/test/mocks/ManipulatableDebtLocker.sol +++ b/contracts/test/mocks/ManipulatableDebtLocker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IMapleLoanLike } from "../../interfaces/Interfaces.sol"; diff --git a/contracts/test/mocks/Mocks.sol b/contracts/test/mocks/Mocks.sol index 1555842..e2ee2d7 100644 --- a/contracts/test/mocks/Mocks.sol +++ b/contracts/test/mocks/Mocks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity ^0.8.7; +pragma solidity 0.8.7; import { IERC20 } from "../../../modules/erc20/src/interfaces/IERC20.sol"; import { ILiquidatorLike } from "../../../modules/liquidations/contracts/interfaces/Interfaces.sol";