Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: strict 0.8.7 (c4 #23) #42

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions contracts/DebtLocker.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -75,7 +75,6 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {
return _repossessed ? _handleClaimOfRepossessed() : _handleClaim();
}

// TODO: Discuss pros/cons of pause on this function
function pullFundsFromLiquidator(address token_, address destination_, uint256 amount_) external override {
require(msg.sender == _getPoolDelegate(), "DL:SA:NOT_PD");

Expand Down
2 changes: 1 addition & 1 deletion contracts/DebtLockerFactory.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/DebtLockerInitializer.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/DebtLockerStorage.sol
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IDebtLocker.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IDebtLockerFactory.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/Interfaces.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.7;
pragma solidity 0.8.7;

interface IERC20Like {

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/DebtLocker.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/mocks/DebtLockerHarness.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/mocks/ManipulatableDebtLocker.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/mocks/Mocks.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down