Skip to content

Commit

Permalink
Merge pull request #1 from 0xfoobar/main
Browse files Browse the repository at this point in the history
Use floating pragmas instead of fixed
  • Loading branch information
carmenjiawenc authored Dec 18, 2023
2 parents 432db51 + ed63310 commit 98e006c
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion messagelib/contracts/Executor.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { ReentrancyGuardUpgradeable } from "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import { Proxied } from "hardhat-deploy/solc_0.8/proxy/Proxied.sol";
Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/ExecutorFeeLib.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/PriceFeed.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import { Proxied } from "hardhat-deploy/solc_0.8/proxy/Proxied.sol";
Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/Treasury.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/LzExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/DVN.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { ILayerZeroUltraLightNodeV2 } from "@layerzerolabs/lz-evm-v1-0.7/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/DVNFeeLib.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { Transfer } from "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/Transfer.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IRouterClient } from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import { CCIPReceiver } from "@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPReceiver.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { DVNAdapterFeeLibBase } from "../DVNAdapterFeeLibBase.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/adapters/DVNAdapterBase.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { BytesLib } from "solidity-bytes-utils/contracts/BytesLib.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IDVNAdapterFeeLib } from "../../interfaces/IDVNAdapterFeeLib.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { AxelarExecutable } from "@axelar-network/axelar-gmp-sdk-solidity/contracts/executable/AxelarExecutable.sol";
import { IAxelarGasService } from "@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { DVNAdapterFeeLibBase } from "../DVNAdapterFeeLibBase.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/ReceiveUln301.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { SafeCast } from "@openzeppelin/contracts/utils/math/SafeCast.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/SendUln301.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Packet } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ISendLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/TreasuryFeeHandler.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln302/ReceiveUln302.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { PacketV1Codec } from "@layerzerolabs/lz-evm-protocol-v2/contracts/messagelib/libs/PacketV1Codec.sol";
import { SetConfigParam } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol";
Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln302/SendUln302.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { Packet } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ISendLib.sol";
import { SetConfigParam } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol";
Expand Down
2 changes: 1 addition & 1 deletion oapp/test/mocks/ExecutorFeeLibMock.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { ExecutorFeeLib } from "@layerzerolabs/lz-evm-messagelib-v2/contracts/ExecutorFeeLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/EndpointV2.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/EndpointV2Alt.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/messagelib/BlockedMessageLib.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { ERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/messagelib/SimpleMessageLib.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;
pragma solidity ^0.8.22;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
Expand Down

0 comments on commit 98e006c

Please sign in to comment.