Skip to content

Commit

Permalink
changing compiler across all repos (#176)
Browse files Browse the repository at this point in the history
* changing compiler across all repos

* removing sanToken adapter
  • Loading branch information
sogipec authored Nov 24, 2022
1 parent 4a14bce commit 3dc728d
Show file tree
Hide file tree
Showing 122 changed files with 122 additions and 122 deletions.
2 changes: 1 addition & 1 deletion contracts/agToken/AgToken.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.12;
pragma solidity ^0.8.12;

import "../interfaces/IAgToken.sol";
import "../interfaces/coreModule/IStableMaster.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/AgTokenIntermediateUpgrade.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.12;
pragma solidity ^0.8.12;

import "../interfaces/IAgToken.sol";
import "../interfaces/coreModule/IStableMaster.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/AgTokenSideChain.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.12;
pragma solidity ^0.8.12;

import "./BaseAgTokenSideChain.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/AgTokenSideChainMultiBridge.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.12;
pragma solidity ^0.8.12;

import "./BaseAgTokenSideChain.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/BaseAgTokenSideChain.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.12;
pragma solidity ^0.8.12;

import "../interfaces/IAgToken.sol";
import "../interfaces/ITreasury.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/layerZero/LayerZeroBridge.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./utils/OFTCore.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/layerZero/LayerZeroBridgeToken.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./utils/OFTCore.sol";
import "../../interfaces/IAgTokenSideChainMultiBridge.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/layerZero/utils/IOFTCore.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/layerZero/utils/NonblockingLzApp.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "../../../interfaces/external/layerZero/ILayerZeroReceiver.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/layerZero/utils/OFTCore.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./NonblockingLzApp.sol";
import "./IOFTCore.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/agToken/polygon/TokenPolygonUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./utils/ERC20UpgradeableCustom.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/coreBorrow/CoreBorrow.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/deprecated/OldAngleHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "../interfaces/coreModule/IStableMaster.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "../interfaces/IVaultManager.sol";

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

struct Parameters {
SLPData slpData;
Expand Down
2 changes: 1 addition & 1 deletion contracts/deprecated/vaultManager/OldVaultManager.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.12;
pragma solidity ^0.8.12;

import "./OldVaultManagerPermit.sol";

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

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./OldVaultManagerStorage.sol";

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

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "./OldVaultManagerERC721.sol";
import "../../interfaces/external/IERC1271.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/ProxyAdmin.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.12;
pragma solidity ^0.8.12;

import "./TransparentUpgradeableProxy.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/TransparentUpgradeableProxy.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/flashloan/FlashAngle.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAgToken.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAgTokenSideChainMultiBridge.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAngleRouterSidechain.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.12;
pragma solidity ^0.8.12;

/// @notice Action types
enum ActionType {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ICoreBorrow.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.12;
pragma solidity ^0.8.12;

/// @title ICoreBorrow
/// @author Angle Labs, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IFlashAngle.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.12;
pragma solidity ^0.8.12;

import "./IAgToken.sol";
import "./ICoreBorrow.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IKeeperRegistry.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IOracle.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.12;
pragma solidity ^0.8.12;

import "./ITreasury.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ISwapper.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ITreasury.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.12;
pragma solidity ^0.8.12;

import "./IAgToken.sol";
import "./ICoreBorrow.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IVaultManager.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.12;
pragma solidity ^0.8.12;

import "@openzeppelin/contracts/interfaces/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/IERC1271.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.8.12;
pragma solidity ^0.8.12;

/// @title Interface for verifying contract-based account signatures
/// @notice Interface that verifies provided signature for the data
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.8.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/aave/AToken.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.12;
pragma solidity ^0.8.12;

//solhint-disable
interface AToken {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/aave/ILendingPool.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.12;
pragma solidity ^0.8.12;

//solhint-disable
interface ILendingPool {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/convex/IBaseRewardPool.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.12;
pragma solidity ^0.8.12;

//solhint-disable
interface IConvexBaseRewardPool {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/convex/IBooster.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.12;
pragma solidity ^0.8.12;

//solhint-disable
interface IConvexBooster {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/convex/IClaimZap.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.12;
pragma solidity ^0.8.12;

//solhint-disable
interface IConvexClaimZap {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/convex/IConvexToken.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/convex/ICvxRewardPool.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.12;
pragma solidity ^0.8.12;

interface ICvxRewardPool {
function balanceOf(address account) external view returns (uint256);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

interface IVirtualBalanceRewardPool {
function balanceOf(address account) external view returns (uint256);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/ICurveOracle.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.12;
pragma solidity ^0.8.12;

interface ICurveOracle {
//solhint-disable-next-line
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/IMetaPool.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/IMetaPool2.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.12;
pragma solidity ^0.8.12;

import "./IMetaPoolBase.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/IMetaPool3.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.12;
pragma solidity ^0.8.12;

import "./IMetaPoolBase.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/IMetaPoolBase.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/IStableSwapPool.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/ITricrypto3.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.12;
pragma solidity ^0.8.12;

uint256 constant N_COINS = 5;

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/curve/ITricryptoPool.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.12;
pragma solidity ^0.8.12;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/external/lido/IStETH.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.12;
pragma solidity ^0.8.12;

/// @title IStETH
/// @author Angle Labs, Inc.
Expand Down
Loading

0 comments on commit 3dc728d

Please sign in to comment.