Skip to content

Commit

Permalink
Uniswap#367 - make repository work with higher level of Solidity
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsramko committed Jul 16, 2024
1 parent 697c247 commit 89a47d3
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion contracts/NonfungiblePositionManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/NonfungibleTokenPositionDescriptor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/SwapRouter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/libraries/SafeCast.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/V3Migrator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/BlockTimestamp.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

/// @title Function for getting block timestamp
/// @dev Base contract that is overridden for tests
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/ERC721Permit.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/utils/Address.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/LiquidityManagement.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/Multicall.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../interfaces/IMulticall.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/base/PeripheryImmutableState.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../interfaces/IPeripheryImmutableState.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/base/PeripheryValidation.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import './BlockTimestamp.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/base/PoolInitializer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol';
import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/examples/PairFlash.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/IWETH9.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/lens/Quoter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/libraries/SafeCast.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/lens/QuoterV2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/libraries/SafeCast.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/lens/UniswapInterfaceMulticall.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

/// @notice A fork of Multicall2 specifically tailored for the Uniswap Interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/CallbackValidation.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import './PoolAddress.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/HexStrings.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

library HexStrings {
bytes16 internal constant ALPHABET = '0123456789abcdef';
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/TokenRatioSortOrder.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

library TokenRatioSortOrder {
int256 constant NUMERATOR_MOST = 300;
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/Base64Test.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import 'base64-sol/base64.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/LiquidityAmountsTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../libraries/LiquidityAmounts.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/MockObservable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

contract MockObservable {
Observation private observation0;
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/MockObservations.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@uniswap/v3-core/contracts/libraries/Oracle.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/MockTimeNonfungiblePositionManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../NonfungiblePositionManager.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/MockTimeSwapRouter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../SwapRouter.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/NFTDescriptorTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../libraries/NFTDescriptor.sol';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../interfaces/INonfungiblePositionManager.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/OracleTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../libraries/OracleLibrary.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PathTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../libraries/Path.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PeripheryImmutableStateTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../base/PeripheryImmutableState.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PoolAddressTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../libraries/PoolAddress.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PositionValueTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../libraries/PositionValue.sol';
import '../interfaces/INonfungiblePositionManager.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/SelfPermitTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../base/SelfPermit.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestCallbackValidation.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../libraries/CallbackValidation.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@openzeppelin/contracts/drafts/ERC20Permit.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestERC20Metadata.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@openzeppelin/contracts/drafts/ERC20Permit.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestERC20PermitAllowed.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import './TestERC20.sol';
import '../interfaces/external/IERC20PermitAllowed.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestMulticall.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;
pragma abicoder v2;

import '../base/Multicall.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestPositionNFTOwner.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '../interfaces/external/IERC1271.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestUniswapV3Callee.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
pragma solidity >=0.7.6;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';
import '@uniswap/v3-core/contracts/libraries/SafeCast.sol';
Expand Down

0 comments on commit 89a47d3

Please sign in to comment.