diff --git a/contracts/StakeVault.sol b/contracts/StakeVault.sol index e7f79c6..d29c801 100644 --- a/contracts/StakeVault.sol +++ b/contracts/StakeVault.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import "./StakeManager.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; diff --git a/contracts/Token.sol b/contracts/Token.sol index d7112ae..4bc760c 100644 --- a/contracts/Token.sol +++ b/contracts/Token.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/legacy/Owned.sol b/contracts/legacy/Owned.sol index 8854bc3..3299f10 100644 --- a/contracts/legacy/Owned.sol +++ b/contracts/legacy/Owned.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; /// @dev `Owned` is a base level contract that assigns an `owner` that can be /// later changed contract Owned { diff --git a/contracts/legacy/SNTFaucet.sol b/contracts/legacy/SNTFaucet.sol index 31a0dc2..ce626d7 100644 --- a/contracts/legacy/SNTFaucet.sol +++ b/contracts/legacy/SNTFaucet.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import "./SNTPlaceHolder.sol"; diff --git a/contracts/legacy/SNTPlaceHolder.sol b/contracts/legacy/SNTPlaceHolder.sol index b07aa34..4ee4b19 100644 --- a/contracts/legacy/SNTPlaceHolder.sol +++ b/contracts/legacy/SNTPlaceHolder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import "./token/TokenController.sol"; import "./token/MiniMeToken.sol"; import "./SafeMath.sol"; diff --git a/contracts/legacy/SafeMath.sol b/contracts/legacy/SafeMath.sol index d7b5466..4efe4b2 100644 --- a/contracts/legacy/SafeMath.sol +++ b/contracts/legacy/SafeMath.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; /** * Math operations with safety checks diff --git a/contracts/legacy/optimism/OptimismMintableMiniMeToken.sol b/contracts/legacy/optimism/OptimismMintableMiniMeToken.sol index c2e0c5b..501f891 100644 --- a/contracts/legacy/optimism/OptimismMintableMiniMeToken.sol +++ b/contracts/legacy/optimism/OptimismMintableMiniMeToken.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import { MiniMeToken } from "../token/MiniMeToken.sol"; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/contracts/legacy/token/ApproveAndCallFallBack.sol b/contracts/legacy/token/ApproveAndCallFallBack.sol index 246efbe..651d1f4 100644 --- a/contracts/legacy/token/ApproveAndCallFallBack.sol +++ b/contracts/legacy/token/ApproveAndCallFallBack.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; abstract contract ApproveAndCallFallBack { function receiveApproval(address from, uint256 _amount, address _token, bytes memory _data) virtual public; } diff --git a/contracts/legacy/token/Controlled.sol b/contracts/legacy/token/Controlled.sol index 38b6109..0779344 100644 --- a/contracts/legacy/token/Controlled.sol +++ b/contracts/legacy/token/Controlled.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; contract Controlled { string internal constant ERR_BAD_PARAMETER = "Bad parameter"; diff --git a/contracts/legacy/token/MiniMeToken.sol b/contracts/legacy/token/MiniMeToken.sol index 70cd1b9..c93f72c 100644 --- a/contracts/legacy/token/MiniMeToken.sol +++ b/contracts/legacy/token/MiniMeToken.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; /* Copyright 2016, Jordi Baylina diff --git a/contracts/legacy/token/MiniMeTokenFactory.sol b/contracts/legacy/token/MiniMeTokenFactory.sol index bb476a7..08aa9cc 100644 --- a/contracts/legacy/token/MiniMeTokenFactory.sol +++ b/contracts/legacy/token/MiniMeTokenFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; import "./MiniMeToken.sol"; //////////////// diff --git a/contracts/legacy/token/TokenController.sol b/contracts/legacy/token/TokenController.sol index f4868ec..6eb5e95 100644 --- a/contracts/legacy/token/TokenController.sol +++ b/contracts/legacy/token/TokenController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity ^0.8.18; /** * @dev The token controller contract must implement these functions */