Skip to content

Commit

Permalink
update interfaces and libraries versioning (#103)
Browse files Browse the repository at this point in the history
* update interfaces versioning

* update libraries versioning
  • Loading branch information
0x0Louis authored May 12, 2023
1 parent 8794d83 commit c9589d0
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/IJoeFactory.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/// @title Joe V1 Factory Interface
/// @notice Interface to interact with Joe V1 Factory
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IJoePair.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/// @title Joe V1 Pair Interface
/// @notice Interface to interact with Joe V1 Pairs
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IJoeRouter01.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/// @title Joe V1 Router01 Interface
/// @notice Interface to interact with Joe V1 Router
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IJoeRouter02.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBFactory.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBFlashLoanCallback.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBLegacyFactory.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBLegacyPair.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBLegacyRouter.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBLegacyToken.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import "openzeppelin/utils/introspection/IERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBPair.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBRouter.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ILBToken.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Token Interface
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPendingOwnable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Pending Ownable Interface
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IWNATIVE.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/AddressHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Address Helper Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/BinHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Clone.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Clone
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Constants.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Constants Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/FeeHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/ImmutableClone.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Immutable Clone Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/JoeLibrary.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Joe Library Helper Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/OracleHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {SampleMath} from "./math/SampleMath.sol";
import {SafeCast} from "./math/SafeCast.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PairParameterHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {Constants} from "./Constants.sol";
import {SafeCast} from "./math/SafeCast.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PendingOwnable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/PriceHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {Uint128x128Math} from "./math/Uint128x128Math.sol";
import {Uint256x256Math} from "./math/Uint256x256Math.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/ReentrancyGuard.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Reentrancy Guard Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/TokenHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/BitMath.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Bit Math Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/Encoded.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Encoded Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/LiquidityConfigurations.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {PackedUint128Math} from "./PackedUint128Math.sol";
import {Encoded} from "./Encoded.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/PackedUint128Math.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/SafeCast.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Safe Cast Library
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/SampleMath.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/TreeMath.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

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

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/Uint128x128Math.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {Constants} from "../Constants.sol";
import {BitMath} from "./BitMath.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/math/Uint256x256Math.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title Liquidity Book Uint256x256 Math Library
Expand Down

0 comments on commit c9589d0

Please sign in to comment.