diff --git a/packages/nitro-protocol/contracts/ConsensusApp.sol b/packages/nitro-protocol/contracts/ConsensusApp.sol index 019f821cb..bdf25b6da 100644 --- a/packages/nitro-protocol/contracts/ConsensusApp.sol +++ b/packages/nitro-protocol/contracts/ConsensusApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {IForceMoveApp} from './interfaces/IForceMoveApp.sol'; import {Consensus} from './libraries/signature-logic/Consensus.sol'; diff --git a/packages/nitro-protocol/contracts/CountingApp.sol b/packages/nitro-protocol/contracts/CountingApp.sol index 21783882b..d2513598e 100644 --- a/packages/nitro-protocol/contracts/CountingApp.sol +++ b/packages/nitro-protocol/contracts/CountingApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; import {StrictTurnTaking} from './libraries/signature-logic/StrictTurnTaking.sol'; diff --git a/packages/nitro-protocol/contracts/ForceMove.sol b/packages/nitro-protocol/contracts/ForceMove.sol index 653758de7..ec1ede044 100644 --- a/packages/nitro-protocol/contracts/ForceMove.sol +++ b/packages/nitro-protocol/contracts/ForceMove.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {NitroUtils} from './libraries/NitroUtils.sol'; import {IForceMove} from './interfaces/IForceMove.sol'; diff --git a/packages/nitro-protocol/contracts/InterestBearingApp.sol b/packages/nitro-protocol/contracts/InterestBearingApp.sol index 3c9b3c9ea..45a58c706 100644 --- a/packages/nitro-protocol/contracts/InterestBearingApp.sol +++ b/packages/nitro-protocol/contracts/InterestBearingApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {IForceMoveApp} from './interfaces/IForceMoveApp.sol'; import {Consensus} from './libraries/signature-logic/Consensus.sol'; diff --git a/packages/nitro-protocol/contracts/MultiAssetHolder.sol b/packages/nitro-protocol/contracts/MultiAssetHolder.sol index 3478add4e..5a5839474 100644 --- a/packages/nitro-protocol/contracts/MultiAssetHolder.sol +++ b/packages/nitro-protocol/contracts/MultiAssetHolder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; diff --git a/packages/nitro-protocol/contracts/NitroAdjudicator.sol b/packages/nitro-protocol/contracts/NitroAdjudicator.sol index 0b32e5256..21fee01fa 100644 --- a/packages/nitro-protocol/contracts/NitroAdjudicator.sol +++ b/packages/nitro-protocol/contracts/NitroAdjudicator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; import {NitroUtils} from './libraries/NitroUtils.sol'; diff --git a/packages/nitro-protocol/contracts/StatusManager.sol b/packages/nitro-protocol/contracts/StatusManager.sol index 345079500..58c0f6a8b 100644 --- a/packages/nitro-protocol/contracts/StatusManager.sol +++ b/packages/nitro-protocol/contracts/StatusManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {IStatusManager} from './interfaces/IStatusManager.sol'; diff --git a/packages/nitro-protocol/contracts/Token.sol b/packages/nitro-protocol/contracts/Token.sol index 03f135b98..9a4c12f12 100644 --- a/packages/nitro-protocol/contracts/Token.sol +++ b/packages/nitro-protocol/contracts/Token.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol'; /** diff --git a/packages/nitro-protocol/contracts/TrivialApp.sol b/packages/nitro-protocol/contracts/TrivialApp.sol index 5ee230b3b..293a73732 100644 --- a/packages/nitro-protocol/contracts/TrivialApp.sol +++ b/packages/nitro-protocol/contracts/TrivialApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {IForceMoveApp} from './interfaces/IForceMoveApp.sol'; diff --git a/packages/nitro-protocol/contracts/VirtualPaymentApp.sol b/packages/nitro-protocol/contracts/VirtualPaymentApp.sol index 4d86ade40..6802e673d 100644 --- a/packages/nitro-protocol/contracts/VirtualPaymentApp.sol +++ b/packages/nitro-protocol/contracts/VirtualPaymentApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {IForceMoveApp} from './interfaces/IForceMoveApp.sol'; import {NitroUtils} from './libraries/NitroUtils.sol'; diff --git a/packages/nitro-protocol/contracts/auxiliary/BatchOperator.sol b/packages/nitro-protocol/contracts/auxiliary/BatchOperator.sol index 8e7b73e41..237da26fd 100644 --- a/packages/nitro-protocol/contracts/auxiliary/BatchOperator.sol +++ b/packages/nitro-protocol/contracts/auxiliary/BatchOperator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {MultiAssetHolder} from '../MultiAssetHolder.sol'; import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; diff --git a/packages/nitro-protocol/contracts/interfaces/IForceMove.sol b/packages/nitro-protocol/contracts/interfaces/IForceMove.sol index 39f970900..460f81892 100644 --- a/packages/nitro-protocol/contracts/interfaces/IForceMove.sol +++ b/packages/nitro-protocol/contracts/interfaces/IForceMove.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {INitroTypes} from './INitroTypes.sol'; diff --git a/packages/nitro-protocol/contracts/interfaces/IForceMoveApp.sol b/packages/nitro-protocol/contracts/interfaces/IForceMoveApp.sol index 8ea579064..995ee692b 100644 --- a/packages/nitro-protocol/contracts/interfaces/IForceMoveApp.sol +++ b/packages/nitro-protocol/contracts/interfaces/IForceMoveApp.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {INitroTypes} from './INitroTypes.sol'; diff --git a/packages/nitro-protocol/contracts/interfaces/IMultiAssetHolder.sol b/packages/nitro-protocol/contracts/interfaces/IMultiAssetHolder.sol index 11899ff52..d191ff325 100644 --- a/packages/nitro-protocol/contracts/interfaces/IMultiAssetHolder.sol +++ b/packages/nitro-protocol/contracts/interfaces/IMultiAssetHolder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; /** * @dev The IMultiAssetHolder interface calls for functions that allow assets to be transferred from one channel to other channel and/or external destinations, as well as for guarantees to be claimed. diff --git a/packages/nitro-protocol/contracts/interfaces/INitroAdjudicator.sol b/packages/nitro-protocol/contracts/interfaces/INitroAdjudicator.sol index e94807c91..92382a676 100644 --- a/packages/nitro-protocol/contracts/interfaces/INitroAdjudicator.sol +++ b/packages/nitro-protocol/contracts/interfaces/INitroAdjudicator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; import {IMultiAssetHolder} from './IMultiAssetHolder.sol'; diff --git a/packages/nitro-protocol/contracts/interfaces/INitroTypes.sol b/packages/nitro-protocol/contracts/interfaces/INitroTypes.sol index 2df6bc9bb..6d7fd7e34 100644 --- a/packages/nitro-protocol/contracts/interfaces/INitroTypes.sol +++ b/packages/nitro-protocol/contracts/interfaces/INitroTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; diff --git a/packages/nitro-protocol/contracts/interfaces/IStatusManager.sol b/packages/nitro-protocol/contracts/interfaces/IStatusManager.sol index ca1a921a7..cc091e030 100644 --- a/packages/nitro-protocol/contracts/interfaces/IStatusManager.sol +++ b/packages/nitro-protocol/contracts/interfaces/IStatusManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; interface IStatusManager { enum ChannelMode { diff --git a/packages/nitro-protocol/contracts/libraries/NitroUtils.sol b/packages/nitro-protocol/contracts/libraries/NitroUtils.sol index ec4f46b39..ecb4ad79a 100644 --- a/packages/nitro-protocol/contracts/libraries/NitroUtils.sol +++ b/packages/nitro-protocol/contracts/libraries/NitroUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {INitroTypes} from '../interfaces/INitroTypes.sol'; import {ExitFormat as Outcome} from '@statechannels/exit-format/contracts/ExitFormat.sol'; diff --git a/packages/nitro-protocol/contracts/libraries/signature-logic/Consensus.sol b/packages/nitro-protocol/contracts/libraries/signature-logic/Consensus.sol index eec991b07..ce87d04b5 100644 --- a/packages/nitro-protocol/contracts/libraries/signature-logic/Consensus.sol +++ b/packages/nitro-protocol/contracts/libraries/signature-logic/Consensus.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {NitroUtils} from '../NitroUtils.sol'; import {INitroTypes} from '../../interfaces/INitroTypes.sol'; diff --git a/packages/nitro-protocol/contracts/libraries/signature-logic/StrictTurnTaking.sol b/packages/nitro-protocol/contracts/libraries/signature-logic/StrictTurnTaking.sol index a552457cb..994cbac6e 100644 --- a/packages/nitro-protocol/contracts/libraries/signature-logic/StrictTurnTaking.sol +++ b/packages/nitro-protocol/contracts/libraries/signature-logic/StrictTurnTaking.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.20; +pragma solidity ^0.8.20; import {NitroUtils} from '../NitroUtils.sol'; import {INitroTypes} from '../../interfaces/INitroTypes.sol';