From 598a791b11915a3d87285dacc63f6942bf668d34 Mon Sep 17 00:00:00 2001 From: Alien Deployer Date: Fri, 1 Dec 2023 12:45:00 +0300 Subject: [PATCH] solidity 0.8.23 --- chains/PolygonLib.sol | 2 +- script/Deploy.Polygon.s.sol | 2 +- script/Deploy.PolygonForking.s.sol | 2 +- script/libs/DeployAdapterLib.sol | 2 +- script/libs/DeployLib.sol | 2 +- script/libs/DeployStrategyLib.sol | 2 +- src/adapters/AlgebraAdapter.sol | 2 +- src/adapters/ChainlinkAdapter.sol | 2 +- src/adapters/KyberAdapter.sol | 2 +- src/adapters/UniswapV3Adapter.sol | 2 +- src/core/AprOracle.sol | 2 +- src/core/Factory.sol | 2 +- src/core/HardWorker.sol | 2 +- src/core/Platform.sol | 2 +- src/core/PriceReader.sol | 2 +- src/core/StrategyLogic.sol | 2 +- src/core/Swapper.sol | 2 +- src/core/VaultManager.sol | 2 +- src/core/Zap.sol | 2 +- src/core/base/Controllable.sol | 2 +- src/core/base/RVaultBase.sol | 2 +- src/core/base/UpgradeableProxy.sol | 2 +- src/core/base/VaultBase.sol | 2 +- src/core/libs/CommonLib.sol | 2 +- src/core/libs/ConstantsLib.sol | 2 +- src/core/libs/DeployerLib.sol | 2 +- src/core/libs/FactoryLib.sol | 2 +- src/core/libs/RVaultLib.sol | 2 +- src/core/libs/SlotsLib.sol | 2 +- src/core/libs/StrategyLogicLib.sol | 2 +- src/core/libs/VaultManagerLib.sol | 2 +- src/core/libs/VaultStatusLib.sol | 2 +- src/core/libs/VaultTypeLib.sol | 2 +- src/core/proxy/Proxy.sol | 2 +- src/core/proxy/StrategyProxy.sol | 2 +- src/core/proxy/VaultProxy.sol | 2 +- src/core/vaults/CVault.sol | 2 +- src/core/vaults/RMVault.sol | 2 +- src/core/vaults/RVault.sol | 2 +- src/integrations/algebra/IAlgebraEternalFarming.sol | 2 +- src/integrations/algebra/IAlgebraPool.sol | 2 +- src/integrations/algebra/IAlgebraQuoter.sol | 2 +- src/integrations/algebra/IDataStorageOperator.sol | 2 +- src/integrations/algebra/IFarmingCenter.sol | 2 +- src/integrations/algebra/INonfungiblePositionManager.sol | 2 +- src/integrations/algebra/IncentiveKey.sol | 2 +- src/integrations/algebra/pool/IAlgebraPoolActions.sol | 2 +- src/integrations/algebra/pool/IAlgebraPoolDerivedState.sol | 2 +- src/integrations/algebra/pool/IAlgebraPoolEvents.sol | 2 +- src/integrations/algebra/pool/IAlgebraPoolImmutables.sol | 2 +- .../algebra/pool/IAlgebraPoolPermissionedActions.sol | 2 +- src/integrations/algebra/pool/IAlgebraPoolState.sol | 2 +- src/integrations/chainlink/IAggregatorV3Interface.sol | 2 +- src/integrations/gamma/IHypervisor.sol | 2 +- src/integrations/gamma/IUniProxy.sol | 2 +- src/integrations/gelato/IAutomate.sol | 2 +- src/integrations/gelato/IOpsProxyFactory.sol | 2 +- src/integrations/gelato/ITaskTreasuryUpgradable.sol | 2 +- src/integrations/kyber/IBasePositionManager.sol | 2 +- src/integrations/kyber/IFactory.sol | 2 +- src/integrations/kyber/IKyberQuoterV2.sol | 2 +- src/integrations/kyber/IKyberSwapElasticLM.sol | 2 +- src/integrations/kyber/IPool.sol | 2 +- src/integrations/kyber/IRouterTokenHelper.sol | 2 +- src/integrations/kyber/ITicksFeesReader.sol | 2 +- .../kyber/base_position_manager/IBasePositionManagerEvents.sol | 2 +- src/integrations/kyber/oracle/IPoolOracle.sol | 2 +- src/integrations/kyber/pool/IPoolStorage.sol | 2 +- src/integrations/quickswap/IMasterChef.sol | 2 +- src/integrations/quickswap/IRewarder.sol | 2 +- src/integrations/uniswapv3/IUniswapV3Factory.sol | 2 +- src/integrations/uniswapv3/IUniswapV3Pool.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolActions.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolDerivedState.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolEvents.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolImmutables.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolOwnerActions.sol | 2 +- src/integrations/uniswapv3/pool/IUniswapV3PoolState.sol | 2 +- src/interfaces/IAmmAdapter.sol | 2 +- src/interfaces/IAprOracle.sol | 2 +- src/interfaces/IBridge.sol | 2 +- src/interfaces/IChildERC20.sol | 2 +- src/interfaces/IChildERC721.sol | 2 +- src/interfaces/IChildTokenFactory.sol | 2 +- src/interfaces/IControllable.sol | 2 +- src/interfaces/IFactory.sol | 2 +- src/interfaces/IFarmingStrategy.sol | 2 +- src/interfaces/IHardWorker.sol | 2 +- src/interfaces/IInterChainAdapter.sol | 2 +- src/interfaces/ILPStrategy.sol | 2 +- src/interfaces/IManagedVault.sol | 2 +- src/interfaces/IOracleAdapter.sol | 2 +- src/interfaces/IPlatform.sol | 2 +- src/interfaces/IPriceReader.sol | 2 +- src/interfaces/IProxy.sol | 2 +- src/interfaces/IRVault.sol | 2 +- src/interfaces/IStrategy.sol | 2 +- src/interfaces/IStrategyLogic.sol | 2 +- src/interfaces/IStrategyProxy.sol | 2 +- src/interfaces/ISwapper.sol | 2 +- src/interfaces/IVault.sol | 2 +- src/interfaces/IVaultManager.sol | 2 +- src/interfaces/IVaultProxy.sol | 2 +- src/interfaces/IZap.sol | 2 +- src/strategies/GammaQuickSwapFarmStrategy.sol | 2 +- src/strategies/QuickswapV3StaticFarmStrategy.sol | 2 +- src/strategies/base/FarmingStrategyBase.sol | 2 +- src/strategies/base/LPStrategyBase.sol | 2 +- src/strategies/base/StrategyBase.sol | 2 +- src/strategies/libs/GammaLib.sol | 2 +- src/strategies/libs/LPStrategyLib.sol | 2 +- src/strategies/libs/QuickswapLib.sol | 2 +- src/strategies/libs/StrategyDeveloperLib.sol | 2 +- src/strategies/libs/StrategyIdLib.sol | 2 +- src/strategies/libs/StrategyLib.sol | 2 +- src/strategies/libs/UniswapV3MathLib.sol | 2 +- src/test/MockAggregatorV3Interface.sol | 2 +- src/test/MockAmmAdapter.sol | 2 +- src/test/MockERC20.sol | 2 +- src/test/MockERC721.sol | 2 +- src/test/MockStrategy.sol | 2 +- src/test/MockStrategyUpgrade.sol | 2 +- src/test/MockVaultUpgrade.sol | 2 +- src/test/interfaces/IMockERC20.sol | 2 +- test/adapters/AlgebraAdapter.Polygon.t.sol | 2 +- test/adapters/KyberAdapter.Polygon.t.sol | 2 +- test/adapters/UniswapV3Adapter.Polygon.t.sol | 2 +- test/base/ChainSetup.sol | 2 +- test/base/FullMockSetup.sol | 2 +- test/base/MockSetup.sol | 2 +- test/base/UniversalTest.sol | 2 +- test/base/Utils.sol | 2 +- test/base/chains/PolygonSetup.sol | 2 +- test/core/Factory.t.sol | 2 +- test/core/Platform.Polygon.t.sol | 2 +- test/core/Platform.t.sol | 2 +- test/core/PriceReader.t.sol | 2 +- test/core/Proxy.t.sol | 2 +- test/core/RMVault.Polygon.t.sol | 2 +- test/core/Swapper.Polygon.t.sol | 2 +- test/core/Vault.t.sol | 2 +- test/core/VaultManager.t.sol | 2 +- test/core/VaultSharePrice.t.sol | 2 +- test/core/Zap.Polygon.t.sol | 2 +- test/strategies/GammaQuickSwapFarmStrategy.Polygon.t.sol | 2 +- test/strategies/QuickSwapV3StaticFarmStrategy.Polygon.t.sol | 2 +- 146 files changed, 146 insertions(+), 146 deletions(-) diff --git a/chains/PolygonLib.sol b/chains/PolygonLib.sol index 681fc6c7..92f1048f 100644 --- a/chains/PolygonLib.sol +++ b/chains/PolygonLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../src/core/proxy/Proxy.sol"; import "../src/adapters/libs/AmmAdapterIdLib.sol"; diff --git a/script/Deploy.Polygon.s.sol b/script/Deploy.Polygon.s.sol index bdd25e20..a6ecc576 100644 --- a/script/Deploy.Polygon.s.sol +++ b/script/Deploy.Polygon.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "forge-std/Script.sol"; import "../chains/PolygonLib.sol"; diff --git a/script/Deploy.PolygonForking.s.sol b/script/Deploy.PolygonForking.s.sol index 306ee182..0e76e408 100644 --- a/script/Deploy.PolygonForking.s.sol +++ b/script/Deploy.PolygonForking.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "forge-std/Script.sol"; import "../src/interfaces/IPlatform.sol"; diff --git a/script/libs/DeployAdapterLib.sol b/script/libs/DeployAdapterLib.sol index f3921c90..29a4f698 100644 --- a/script/libs/DeployAdapterLib.sol +++ b/script/libs/DeployAdapterLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../src/core/proxy/Proxy.sol"; import "../../src/adapters/libs/AmmAdapterIdLib.sol"; diff --git a/script/libs/DeployLib.sol b/script/libs/DeployLib.sol index cbdfdfa9..1628ad97 100644 --- a/script/libs/DeployLib.sol +++ b/script/libs/DeployLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {console} from "forge-std/Test.sol"; import "../../src/core/proxy/Proxy.sol"; diff --git a/script/libs/DeployStrategyLib.sol b/script/libs/DeployStrategyLib.sol index a449f463..6eb23228 100644 --- a/script/libs/DeployStrategyLib.sol +++ b/script/libs/DeployStrategyLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../src/core/proxy/Proxy.sol"; import "../../src/interfaces/IPlatform.sol"; diff --git a/src/adapters/AlgebraAdapter.sol b/src/adapters/AlgebraAdapter.sol index 3e3a6ef3..5e784b4b 100644 --- a/src/adapters/AlgebraAdapter.sol +++ b/src/adapters/AlgebraAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; diff --git a/src/adapters/ChainlinkAdapter.sol b/src/adapters/ChainlinkAdapter.sol index fd40e8ea..3d985b3e 100644 --- a/src/adapters/ChainlinkAdapter.sol +++ b/src/adapters/ChainlinkAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "../interfaces/IOracleAdapter.sol"; diff --git a/src/adapters/KyberAdapter.sol b/src/adapters/KyberAdapter.sol index a94f3de1..c5e9ddc0 100644 --- a/src/adapters/KyberAdapter.sol +++ b/src/adapters/KyberAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; diff --git a/src/adapters/UniswapV3Adapter.sol b/src/adapters/UniswapV3Adapter.sol index 12484228..3f8466e4 100644 --- a/src/adapters/UniswapV3Adapter.sol +++ b/src/adapters/UniswapV3Adapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; diff --git a/src/core/AprOracle.sol b/src/core/AprOracle.sol index 92afb906..b9e3266a 100644 --- a/src/core/AprOracle.sol +++ b/src/core/AprOracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./base/Controllable.sol"; import "../interfaces/IAprOracle.sol"; diff --git a/src/core/Factory.sol b/src/core/Factory.sol index 95e81664..62335265 100644 --- a/src/core/Factory.sol +++ b/src/core/Factory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; diff --git a/src/core/HardWorker.sol b/src/core/HardWorker.sol index 2643b720..9d08467f 100644 --- a/src/core/HardWorker.sol +++ b/src/core/HardWorker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/Strings.sol"; import "./base/Controllable.sol"; diff --git a/src/core/Platform.sol b/src/core/Platform.sol index b062ab06..df38288c 100644 --- a/src/core/Platform.sol +++ b/src/core/Platform.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/src/core/PriceReader.sol b/src/core/PriceReader.sol index e7853a59..75c7849a 100644 --- a/src/core/PriceReader.sol +++ b/src/core/PriceReader.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/src/core/StrategyLogic.sol b/src/core/StrategyLogic.sol index 1199a929..143af939 100644 --- a/src/core/StrategyLogic.sol +++ b/src/core/StrategyLogic.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import "./base/Controllable.sol"; diff --git a/src/core/Swapper.sol b/src/core/Swapper.sol index a56086a2..20b0302e 100644 --- a/src/core/Swapper.sol +++ b/src/core/Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; diff --git a/src/core/VaultManager.sol b/src/core/VaultManager.sol index 8c52cbc0..88dfb652 100644 --- a/src/core/VaultManager.sol +++ b/src/core/VaultManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; diff --git a/src/core/Zap.sol b/src/core/Zap.sol index a72e04c7..918a70c9 100644 --- a/src/core/Zap.sol +++ b/src/core/Zap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol"; diff --git a/src/core/base/Controllable.sol b/src/core/base/Controllable.sol index b01f4f02..08d38c2a 100644 --- a/src/core/base/Controllable.sol +++ b/src/core/base/Controllable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/src/core/base/RVaultBase.sol b/src/core/base/RVaultBase.sol index a9dfea25..fe97852e 100644 --- a/src/core/base/RVaultBase.sol +++ b/src/core/base/RVaultBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/math/Math.sol"; import "./VaultBase.sol"; diff --git a/src/core/base/UpgradeableProxy.sol b/src/core/base/UpgradeableProxy.sol index b4c3cdc6..b88bb035 100644 --- a/src/core/base/UpgradeableProxy.sol +++ b/src/core/base/UpgradeableProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Simple ERC-1967 upgradeable proxy implementation abstract contract UpgradeableProxy { diff --git a/src/core/base/VaultBase.sol b/src/core/base/VaultBase.sol index ceaf9d53..b2a8cbc3 100644 --- a/src/core/base/VaultBase.sol +++ b/src/core/base/VaultBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/core/libs/CommonLib.sol b/src/core/libs/CommonLib.sol index e3d89e51..b4931f74 100644 --- a/src/core/libs/CommonLib.sol +++ b/src/core/libs/CommonLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/src/core/libs/ConstantsLib.sol b/src/core/libs/ConstantsLib.sol index b5711106..719159e1 100644 --- a/src/core/libs/ConstantsLib.sol +++ b/src/core/libs/ConstantsLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library ConstantsLib { uint internal constant SWAP_REVENUE_PRICE_IMPACT_TOLERANCE = 1_000; diff --git a/src/core/libs/DeployerLib.sol b/src/core/libs/DeployerLib.sol index d7658bf3..1d095bd5 100644 --- a/src/core/libs/DeployerLib.sol +++ b/src/core/libs/DeployerLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../proxy/VaultProxy.sol"; import "../proxy/StrategyProxy.sol"; diff --git a/src/core/libs/FactoryLib.sol b/src/core/libs/FactoryLib.sol index 5081c824..1a1cbe06 100644 --- a/src/core/libs/FactoryLib.sol +++ b/src/core/libs/FactoryLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; diff --git a/src/core/libs/RVaultLib.sol b/src/core/libs/RVaultLib.sol index 058153ed..3389aa09 100644 --- a/src/core/libs/RVaultLib.sol +++ b/src/core/libs/RVaultLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; diff --git a/src/core/libs/SlotsLib.sol b/src/core/libs/SlotsLib.sol index 78ef34f4..65768d9c 100644 --- a/src/core/libs/SlotsLib.sol +++ b/src/core/libs/SlotsLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Minimal library for setting / getting slot variables (used in upgradable proxy contracts) library SlotsLib { diff --git a/src/core/libs/StrategyLogicLib.sol b/src/core/libs/StrategyLogicLib.sol index d8fe2e63..a2607e5a 100644 --- a/src/core/libs/StrategyLogicLib.sol +++ b/src/core/libs/StrategyLogicLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/Base64.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/src/core/libs/VaultManagerLib.sol b/src/core/libs/VaultManagerLib.sol index c7d9d942..4fc6fa7c 100644 --- a/src/core/libs/VaultManagerLib.sol +++ b/src/core/libs/VaultManagerLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Base64} from "@openzeppelin/contracts/utils/Base64.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/src/core/libs/VaultStatusLib.sol b/src/core/libs/VaultStatusLib.sol index ee7e6a0b..a124ac4f 100644 --- a/src/core/libs/VaultStatusLib.sol +++ b/src/core/libs/VaultStatusLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library VaultStatusLib { uint internal constant NOT_EXIST = 0; diff --git a/src/core/libs/VaultTypeLib.sol b/src/core/libs/VaultTypeLib.sol index 7fbd27f3..3c231369 100644 --- a/src/core/libs/VaultTypeLib.sol +++ b/src/core/libs/VaultTypeLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library VaultTypeLib { string internal constant COMPOUNDING = "Compounding"; diff --git a/src/core/proxy/Proxy.sol b/src/core/proxy/Proxy.sol index a0fa8f62..94ca4086 100644 --- a/src/core/proxy/Proxy.sol +++ b/src/core/proxy/Proxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../base/UpgradeableProxy.sol"; import "../../interfaces/IControllable.sol"; diff --git a/src/core/proxy/StrategyProxy.sol b/src/core/proxy/StrategyProxy.sol index 730a54f5..73e13dce 100644 --- a/src/core/proxy/StrategyProxy.sol +++ b/src/core/proxy/StrategyProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../core/base/UpgradeableProxy.sol"; import "../../interfaces/IControllable.sol"; diff --git a/src/core/proxy/VaultProxy.sol b/src/core/proxy/VaultProxy.sol index a49cc9c5..46b9e0cc 100644 --- a/src/core/proxy/VaultProxy.sol +++ b/src/core/proxy/VaultProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../core/base/UpgradeableProxy.sol"; import "../../interfaces/IControllable.sol"; diff --git a/src/core/vaults/CVault.sol b/src/core/vaults/CVault.sol index 23278c58..97e49ee7 100644 --- a/src/core/vaults/CVault.sol +++ b/src/core/vaults/CVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../base/VaultBase.sol"; import "../libs/VaultTypeLib.sol"; diff --git a/src/core/vaults/RMVault.sol b/src/core/vaults/RMVault.sol index b0009da9..6cce9e4e 100644 --- a/src/core/vaults/RMVault.sol +++ b/src/core/vaults/RMVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/math/Math.sol"; import "../base/VaultBase.sol"; diff --git a/src/core/vaults/RVault.sol b/src/core/vaults/RVault.sol index 6b1c5ca5..4f557714 100644 --- a/src/core/vaults/RVault.sol +++ b/src/core/vaults/RVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/math/Math.sol"; import "../base/VaultBase.sol"; diff --git a/src/integrations/algebra/IAlgebraEternalFarming.sol b/src/integrations/algebra/IAlgebraEternalFarming.sol index 2d567d4b..d29358ed 100644 --- a/src/integrations/algebra/IAlgebraEternalFarming.sol +++ b/src/integrations/algebra/IAlgebraEternalFarming.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./IncentiveKey.sol"; diff --git a/src/integrations/algebra/IAlgebraPool.sol b/src/integrations/algebra/IAlgebraPool.sol index 0d449b2d..77451525 100644 --- a/src/integrations/algebra/IAlgebraPool.sol +++ b/src/integrations/algebra/IAlgebraPool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import './pool/IAlgebraPoolImmutables.sol'; import './pool/IAlgebraPoolState.sol'; diff --git a/src/integrations/algebra/IAlgebraQuoter.sol b/src/integrations/algebra/IAlgebraQuoter.sol index 18d48363..3cf4b76a 100644 --- a/src/integrations/algebra/IAlgebraQuoter.sol +++ b/src/integrations/algebra/IAlgebraQuoter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @notice Restored from 0xa15F0D7377B2A0C0c10db057f641beD21028FC89 interface IAlgebraQuoter { diff --git a/src/integrations/algebra/IDataStorageOperator.sol b/src/integrations/algebra/IDataStorageOperator.sol index e6bac0cb..e85951aa 100644 --- a/src/integrations/algebra/IDataStorageOperator.sol +++ b/src/integrations/algebra/IDataStorageOperator.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; pragma abicoder v2; // coefficients for sigmoids: α / (1 + e^( (β-x) / γ)) diff --git a/src/integrations/algebra/IFarmingCenter.sol b/src/integrations/algebra/IFarmingCenter.sol index d02109d0..9962a2d5 100644 --- a/src/integrations/algebra/IFarmingCenter.sol +++ b/src/integrations/algebra/IFarmingCenter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./IAlgebraEternalFarming.sol"; import "./IncentiveKey.sol"; diff --git a/src/integrations/algebra/INonfungiblePositionManager.sol b/src/integrations/algebra/INonfungiblePositionManager.sol index 846a045b..bd003b10 100644 --- a/src/integrations/algebra/INonfungiblePositionManager.sol +++ b/src/integrations/algebra/INonfungiblePositionManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface INonfungiblePositionManager { struct MintParams { diff --git a/src/integrations/algebra/IncentiveKey.sol b/src/integrations/algebra/IncentiveKey.sol index bb481737..87f359f8 100644 --- a/src/integrations/algebra/IncentiveKey.sol +++ b/src/integrations/algebra/IncentiveKey.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; struct IncentiveKey { address rewardToken; diff --git a/src/integrations/algebra/pool/IAlgebraPoolActions.sol b/src/integrations/algebra/pool/IAlgebraPoolActions.sol index 6728a808..8b6e31e4 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolActions.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolActions.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Permissionless pool actions /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license: diff --git a/src/integrations/algebra/pool/IAlgebraPoolDerivedState.sol b/src/integrations/algebra/pool/IAlgebraPoolDerivedState.sol index c5793fb0..39a178f0 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolDerivedState.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolDerivedState.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /** * @title Pool state that is not stored diff --git a/src/integrations/algebra/pool/IAlgebraPoolEvents.sol b/src/integrations/algebra/pool/IAlgebraPoolEvents.sol index 02e8fa90..78caf29c 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolEvents.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolEvents.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Events emitted by a pool /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license: diff --git a/src/integrations/algebra/pool/IAlgebraPoolImmutables.sol b/src/integrations/algebra/pool/IAlgebraPoolImmutables.sol index f2c8c06e..8552731b 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolImmutables.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolImmutables.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import '../IDataStorageOperator.sol'; diff --git a/src/integrations/algebra/pool/IAlgebraPoolPermissionedActions.sol b/src/integrations/algebra/pool/IAlgebraPoolPermissionedActions.sol index e456e3e7..7804ee78 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolPermissionedActions.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolPermissionedActions.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /** * @title Permissioned pool actions diff --git a/src/integrations/algebra/pool/IAlgebraPoolState.sol b/src/integrations/algebra/pool/IAlgebraPoolState.sol index ed477ac9..ed3e29e8 100644 --- a/src/integrations/algebra/pool/IAlgebraPoolState.sol +++ b/src/integrations/algebra/pool/IAlgebraPoolState.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Pool state that can change /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license: diff --git a/src/integrations/chainlink/IAggregatorV3Interface.sol b/src/integrations/chainlink/IAggregatorV3Interface.sol index ffc7385a..52feedb0 100644 --- a/src/integrations/chainlink/IAggregatorV3Interface.sol +++ b/src/integrations/chainlink/IAggregatorV3Interface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IAggregatorV3Interface { function latestRoundData() external view returns ( diff --git a/src/integrations/gamma/IHypervisor.sol b/src/integrations/gamma/IHypervisor.sol index 612b554c..702a0539 100644 --- a/src/integrations/gamma/IHypervisor.sol +++ b/src/integrations/gamma/IHypervisor.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/src/integrations/gamma/IUniProxy.sol b/src/integrations/gamma/IUniProxy.sol index eba14868..5d52df6d 100644 --- a/src/integrations/gamma/IUniProxy.sol +++ b/src/integrations/gamma/IUniProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IUniProxy { /// @notice Get the amount of token to deposit for the given amount of pair token diff --git a/src/integrations/gelato/IAutomate.sol b/src/integrations/gelato/IAutomate.sol index 0cb5b172..0c155194 100644 --- a/src/integrations/gelato/IAutomate.sol +++ b/src/integrations/gelato/IAutomate.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./ITaskTreasuryUpgradable.sol"; diff --git a/src/integrations/gelato/IOpsProxyFactory.sol b/src/integrations/gelato/IOpsProxyFactory.sol index 49de729d..4916e115 100644 --- a/src/integrations/gelato/IOpsProxyFactory.sol +++ b/src/integrations/gelato/IOpsProxyFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IOpsProxyFactory { /** diff --git a/src/integrations/gelato/ITaskTreasuryUpgradable.sol b/src/integrations/gelato/ITaskTreasuryUpgradable.sol index e3553c52..2ceac2ba 100644 --- a/src/integrations/gelato/ITaskTreasuryUpgradable.sol +++ b/src/integrations/gelato/ITaskTreasuryUpgradable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface ITaskTreasuryUpgradable { /// @notice Get balance of a token owned by user diff --git a/src/integrations/kyber/IBasePositionManager.sol b/src/integrations/kyber/IBasePositionManager.sol index 863a4ccb..766bcef4 100644 --- a/src/integrations/kyber/IBasePositionManager.sol +++ b/src/integrations/kyber/IBasePositionManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {IRouterTokenHelper} from './IRouterTokenHelper.sol'; import {IBasePositionManagerEvents} from './base_position_manager/IBasePositionManagerEvents.sol'; diff --git a/src/integrations/kyber/IFactory.sol b/src/integrations/kyber/IFactory.sol index 81f5ab74..f8a0b40a 100644 --- a/src/integrations/kyber/IFactory.sol +++ b/src/integrations/kyber/IFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title KyberSwap v2 factory /// @notice Deploys KyberSwap v2 pools and manages control over government fees diff --git a/src/integrations/kyber/IKyberQuoterV2.sol b/src/integrations/kyber/IKyberQuoterV2.sol index 72cfcb2e..1e4f5387 100644 --- a/src/integrations/kyber/IKyberQuoterV2.sol +++ b/src/integrations/kyber/IKyberQuoterV2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; ///@notice Restored from 0x4d47fd5a29904Dae0Ef51b1c450C9750F15D7856 interface IKyberQuoterV2 { diff --git a/src/integrations/kyber/IKyberSwapElasticLM.sol b/src/integrations/kyber/IKyberSwapElasticLM.sol index b0d67ef1..15ae680e 100644 --- a/src/integrations/kyber/IKyberSwapElasticLM.sol +++ b/src/integrations/kyber/IKyberSwapElasticLM.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IKyberSwapElasticLM { struct RewardData { diff --git a/src/integrations/kyber/IPool.sol b/src/integrations/kyber/IPool.sol index 0c80e3de..ef22dca8 100644 --- a/src/integrations/kyber/IPool.sol +++ b/src/integrations/kyber/IPool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {IPoolActions} from './pool/IPoolActions.sol'; import {IPoolEvents} from './pool/IPoolEvents.sol'; diff --git a/src/integrations/kyber/IRouterTokenHelper.sol b/src/integrations/kyber/IRouterTokenHelper.sol index a50817fb..257002cd 100644 --- a/src/integrations/kyber/IRouterTokenHelper.sol +++ b/src/integrations/kyber/IRouterTokenHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IRouterTokenHelper { /// @notice Unwraps the contract's WETH balance and sends it to recipient as ETH. diff --git a/src/integrations/kyber/ITicksFeesReader.sol b/src/integrations/kyber/ITicksFeesReader.sol index 7065f3df..c36f5383 100644 --- a/src/integrations/kyber/ITicksFeesReader.sol +++ b/src/integrations/kyber/ITicksFeesReader.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface ITicksFeesReader { function getTotalFeesOwedToPosition( diff --git a/src/integrations/kyber/base_position_manager/IBasePositionManagerEvents.sol b/src/integrations/kyber/base_position_manager/IBasePositionManagerEvents.sol index a299f68c..aeabfcb5 100644 --- a/src/integrations/kyber/base_position_manager/IBasePositionManagerEvents.sol +++ b/src/integrations/kyber/base_position_manager/IBasePositionManagerEvents.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IBasePositionManagerEvents { /// @notice Emitted when a token is minted for a given position diff --git a/src/integrations/kyber/oracle/IPoolOracle.sol b/src/integrations/kyber/oracle/IPoolOracle.sol index 3126a93b..6669ee90 100644 --- a/src/integrations/kyber/oracle/IPoolOracle.sol +++ b/src/integrations/kyber/oracle/IPoolOracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IPoolOracle { /// @notice Owner withdrew funds in the pool oracle in case some funds are stuck there diff --git a/src/integrations/kyber/pool/IPoolStorage.sol b/src/integrations/kyber/pool/IPoolStorage.sol index 9d4d29a0..627943db 100644 --- a/src/integrations/kyber/pool/IPoolStorage.sol +++ b/src/integrations/kyber/pool/IPoolStorage.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {IKyberFactory} from '../IFactory.sol'; import {IPoolOracle} from '../oracle/IPoolOracle.sol'; diff --git a/src/integrations/quickswap/IMasterChef.sol b/src/integrations/quickswap/IMasterChef.sol index dc1d6668..d40025a7 100644 --- a/src/integrations/quickswap/IMasterChef.sol +++ b/src/integrations/quickswap/IMasterChef.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IMasterChef { /// @notice Info of each MCV2 user. diff --git a/src/integrations/quickswap/IRewarder.sol b/src/integrations/quickswap/IRewarder.sol index a49b4a6a..ea343df3 100644 --- a/src/integrations/quickswap/IRewarder.sol +++ b/src/integrations/quickswap/IRewarder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IRewarder { /// @notice View function to see pending Token diff --git a/src/integrations/uniswapv3/IUniswapV3Factory.sol b/src/integrations/uniswapv3/IUniswapV3Factory.sol index eb5758cc..ed891ded 100644 --- a/src/integrations/uniswapv3/IUniswapV3Factory.sol +++ b/src/integrations/uniswapv3/IUniswapV3Factory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title The interface for the Uniswap V3 Factory /// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees diff --git a/src/integrations/uniswapv3/IUniswapV3Pool.sol b/src/integrations/uniswapv3/IUniswapV3Pool.sol index c7b58a6b..ce26aec1 100644 --- a/src/integrations/uniswapv3/IUniswapV3Pool.sol +++ b/src/integrations/uniswapv3/IUniswapV3Pool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import './pool/IUniswapV3PoolImmutables.sol'; import './pool/IUniswapV3PoolState.sol'; diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolActions.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolActions.sol index 38a6c3a9..9b581433 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolActions.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolActions.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Permissionless pool actions /// @notice Contains pool methods that can be called by anyone diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolDerivedState.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolDerivedState.sol index f01636d3..78d211e1 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolDerivedState.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolDerivedState.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Pool state that is not stored /// @notice Contains view functions to provide information about the pool that is computed rather than stored on the diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolEvents.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolEvents.sol index 37ef29ba..4e6a192e 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolEvents.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolEvents.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Events emitted by a pool /// @notice Contains all events emitted by the pool diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolImmutables.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolImmutables.sol index b4340d18..1f812abd 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolImmutables.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolImmutables.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Pool state that never changes /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolOwnerActions.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolOwnerActions.sol index f4cf6770..2e4ae296 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolOwnerActions.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolOwnerActions.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Permissioned pool actions /// @notice Contains pool methods that may only be called by the factory owner diff --git a/src/integrations/uniswapv3/pool/IUniswapV3PoolState.sol b/src/integrations/uniswapv3/pool/IUniswapV3PoolState.sol index 4648ee2e..f0d025f2 100644 --- a/src/integrations/uniswapv3/pool/IUniswapV3PoolState.sol +++ b/src/integrations/uniswapv3/pool/IUniswapV3PoolState.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Pool state that can change /// @notice These methods compose the pool's state, and can change with any frequency including multiple times diff --git a/src/interfaces/IAmmAdapter.sol b/src/interfaces/IAmmAdapter.sol index df2a99dd..14570e26 100644 --- a/src/interfaces/IAmmAdapter.sol +++ b/src/interfaces/IAmmAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/src/interfaces/IAprOracle.sol b/src/interfaces/IAprOracle.sol index 42f48b5b..650b5ed9 100644 --- a/src/interfaces/IAprOracle.sol +++ b/src/interfaces/IAprOracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev This oracle is needed to obtain APR of underlying assets in an on-chain environment. /// These APRs are usually accessible from the protocol APIs. diff --git a/src/interfaces/IBridge.sol b/src/interfaces/IBridge.sol index b4e39926..a26dc0fc 100644 --- a/src/interfaces/IBridge.sol +++ b/src/interfaces/IBridge.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Stability Bridge /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IChildERC20.sol b/src/interfaces/IChildERC20.sol index d89e60ae..e2673fae 100644 --- a/src/interfaces/IChildERC20.sol +++ b/src/interfaces/IChildERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IChildERC20 { function bridge() external view returns (address); diff --git a/src/interfaces/IChildERC721.sol b/src/interfaces/IChildERC721.sol index 57dda85d..c68ec873 100644 --- a/src/interfaces/IChildERC721.sol +++ b/src/interfaces/IChildERC721.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IChildERC721 { function bridge() external view returns (address); diff --git a/src/interfaces/IChildTokenFactory.sol b/src/interfaces/IChildTokenFactory.sol index 50212f6a..7c4b90ac 100644 --- a/src/interfaces/IChildTokenFactory.sol +++ b/src/interfaces/IChildTokenFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Synthetic bridged token factory /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IControllable.sol b/src/interfaces/IControllable.sol index f28ef304..393a64fd 100644 --- a/src/interfaces/IControllable.sol +++ b/src/interfaces/IControllable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Base core interface implemented by most platform contracts. /// Inherited contracts store an immutable Platform proxy address in the storage, diff --git a/src/interfaces/IFactory.sol b/src/interfaces/IFactory.sol index 2ab33731..d2a35fcb 100644 --- a/src/interfaces/IFactory.sol +++ b/src/interfaces/IFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @notice Creating vaults, upgrading vaults and strategies, vault list, farms and strategy logics management /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IFarmingStrategy.sol b/src/interfaces/IFarmingStrategy.sol index b60d8863..00d4440b 100644 --- a/src/interfaces/IFarmingStrategy.sol +++ b/src/interfaces/IFarmingStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Mostly this interface need for front-end and tests for interacting with farming strategies /// @author JodsMigel (https://github.com/JodsMigel) diff --git a/src/interfaces/IHardWorker.sol b/src/interfaces/IHardWorker.sol index 386cfde4..6989cf6c 100644 --- a/src/interfaces/IHardWorker.sol +++ b/src/interfaces/IHardWorker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev HardWork resolver and caller. Primary executor is server script, reserve executor is Gelato Automate. /// Hardwork is important task of any vault - claiming revenue and processing it by strategy, updating rewarding, diff --git a/src/interfaces/IInterChainAdapter.sol b/src/interfaces/IInterChainAdapter.sol index 6491dab9..4d4c1087 100644 --- a/src/interfaces/IInterChainAdapter.sol +++ b/src/interfaces/IInterChainAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title Interoperability adapter /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/ILPStrategy.sol b/src/interfaces/ILPStrategy.sol index b5493cee..3025f934 100644 --- a/src/interfaces/ILPStrategy.sol +++ b/src/interfaces/ILPStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../interfaces/IAmmAdapter.sol"; diff --git a/src/interfaces/IManagedVault.sol b/src/interfaces/IManagedVault.sol index 95117fc1..b6c98054 100644 --- a/src/interfaces/IManagedVault.sol +++ b/src/interfaces/IManagedVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Managed vaults allow the owner of the VaultManager token to change their parameters. /// @author JodsMigel (https://github.com/JodsMigel) diff --git a/src/interfaces/IOracleAdapter.sol b/src/interfaces/IOracleAdapter.sol index 7385b47a..a035df7c 100644 --- a/src/interfaces/IOracleAdapter.sol +++ b/src/interfaces/IOracleAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Adapter for reading oracle prices /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IPlatform.sol b/src/interfaces/IPlatform.sol index 98f5988c..8271573c 100644 --- a/src/interfaces/IPlatform.sol +++ b/src/interfaces/IPlatform.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @notice Interface of the main contract and entry point to the platform. /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IPriceReader.sol b/src/interfaces/IPriceReader.sol index 9ef954af..1db409d8 100644 --- a/src/interfaces/IPriceReader.sol +++ b/src/interfaces/IPriceReader.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Combining oracle and DeX spot prices /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IProxy.sol b/src/interfaces/IProxy.sol index b8df6052..69a2c237 100644 --- a/src/interfaces/IProxy.sol +++ b/src/interfaces/IProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Proxy of core contract implementation interface IProxy { diff --git a/src/interfaces/IRVault.sol b/src/interfaces/IRVault.sol index 33385f88..797b68a8 100644 --- a/src/interfaces/IRVault.sol +++ b/src/interfaces/IRVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./IVault.sol"; diff --git a/src/interfaces/IStrategy.sol b/src/interfaces/IStrategy.sol index c8e37b91..00481f98 100644 --- a/src/interfaces/IStrategy.sol +++ b/src/interfaces/IStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/src/interfaces/IStrategyLogic.sol b/src/interfaces/IStrategyLogic.sol index 2da8fdd2..0e950438 100644 --- a/src/interfaces/IStrategyLogic.sol +++ b/src/interfaces/IStrategyLogic.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; diff --git a/src/interfaces/IStrategyProxy.sol b/src/interfaces/IStrategyProxy.sol index c558d7c4..412731f4 100644 --- a/src/interfaces/IStrategyProxy.sol +++ b/src/interfaces/IStrategyProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Interface of proxy contract for a strategy implementation interface IStrategyProxy { diff --git a/src/interfaces/ISwapper.sol b/src/interfaces/ISwapper.sol index faaaa06e..81cedbdf 100644 --- a/src/interfaces/ISwapper.sol +++ b/src/interfaces/ISwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @notice On-chain price quoter and swapper by predefined routes /// @author Alien Deployer (https://github.com/a17) diff --git a/src/interfaces/IVault.sol b/src/interfaces/IVault.sol index a601c559..8addec5b 100644 --- a/src/interfaces/IVault.sol +++ b/src/interfaces/IVault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./IStrategy.sol"; diff --git a/src/interfaces/IVaultManager.sol b/src/interfaces/IVaultManager.sol index f99bc095..72564c5e 100644 --- a/src/interfaces/IVaultManager.sol +++ b/src/interfaces/IVaultManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; diff --git a/src/interfaces/IVaultProxy.sol b/src/interfaces/IVaultProxy.sol index 283ccca8..707a0349 100644 --- a/src/interfaces/IVaultProxy.sol +++ b/src/interfaces/IVaultProxy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @dev Interface of proxy contract for a vault implementation interface IVaultProxy { diff --git a/src/interfaces/IZap.sol b/src/interfaces/IZap.sol index 46249fd0..e4ea76a1 100644 --- a/src/interfaces/IZap.sol +++ b/src/interfaces/IZap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; /// @title ZAP feature interface IZap { diff --git a/src/strategies/GammaQuickSwapFarmStrategy.sol b/src/strategies/GammaQuickSwapFarmStrategy.sol index 5cd6e9f8..be7346dc 100644 --- a/src/strategies/GammaQuickSwapFarmStrategy.sol +++ b/src/strategies/GammaQuickSwapFarmStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./base/LPStrategyBase.sol"; import "./base/FarmingStrategyBase.sol"; diff --git a/src/strategies/QuickswapV3StaticFarmStrategy.sol b/src/strategies/QuickswapV3StaticFarmStrategy.sol index c4f0934c..a8f62fa7 100644 --- a/src/strategies/QuickswapV3StaticFarmStrategy.sol +++ b/src/strategies/QuickswapV3StaticFarmStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./base/LPStrategyBase.sol"; import "./base/FarmingStrategyBase.sol"; diff --git a/src/strategies/base/FarmingStrategyBase.sol b/src/strategies/base/FarmingStrategyBase.sol index b8c791a8..ac04ea81 100644 --- a/src/strategies/base/FarmingStrategyBase.sol +++ b/src/strategies/base/FarmingStrategyBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./StrategyBase.sol"; import "../libs/StrategyLib.sol"; diff --git a/src/strategies/base/LPStrategyBase.sol b/src/strategies/base/LPStrategyBase.sol index 2d232b9b..dd837a41 100644 --- a/src/strategies/base/LPStrategyBase.sol +++ b/src/strategies/base/LPStrategyBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./StrategyBase.sol"; import "../libs/LPStrategyLib.sol"; diff --git a/src/strategies/base/StrategyBase.sol b/src/strategies/base/StrategyBase.sol index 4374043a..b2a83f16 100644 --- a/src/strategies/base/StrategyBase.sol +++ b/src/strategies/base/StrategyBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../core/base/Controllable.sol"; import "../../core/libs/VaultTypeLib.sol"; diff --git a/src/strategies/libs/GammaLib.sol b/src/strategies/libs/GammaLib.sol index 38e71da7..8e50fa26 100644 --- a/src/strategies/libs/GammaLib.sol +++ b/src/strategies/libs/GammaLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library GammaLib { enum Presets { diff --git a/src/strategies/libs/LPStrategyLib.sol b/src/strategies/libs/LPStrategyLib.sol index 72779d66..9627a006 100644 --- a/src/strategies/libs/LPStrategyLib.sol +++ b/src/strategies/libs/LPStrategyLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/strategies/libs/QuickswapLib.sol b/src/strategies/libs/QuickswapLib.sol index 8ace0d90..19ed5247 100644 --- a/src/strategies/libs/QuickswapLib.sol +++ b/src/strategies/libs/QuickswapLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../interfaces/IPlatform.sol"; import "../../interfaces/IFactory.sol"; diff --git a/src/strategies/libs/StrategyDeveloperLib.sol b/src/strategies/libs/StrategyDeveloperLib.sol index c39fcc4a..b2848d44 100644 --- a/src/strategies/libs/StrategyDeveloperLib.sol +++ b/src/strategies/libs/StrategyDeveloperLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./StrategyIdLib.sol"; import "../../core/libs/CommonLib.sol"; diff --git a/src/strategies/libs/StrategyIdLib.sol b/src/strategies/libs/StrategyIdLib.sol index 6643c4c9..b3f1acd4 100644 --- a/src/strategies/libs/StrategyIdLib.sol +++ b/src/strategies/libs/StrategyIdLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library StrategyIdLib { string public constant DEV = "Dev Alpha DeepSpaceSwap Farm"; diff --git a/src/strategies/libs/StrategyLib.sol b/src/strategies/libs/StrategyLib.sol index c826205f..3bdb873a 100644 --- a/src/strategies/libs/StrategyLib.sol +++ b/src/strategies/libs/StrategyLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/strategies/libs/UniswapV3MathLib.sol b/src/strategies/libs/UniswapV3MathLib.sol index 624efde4..c81ff884 100644 --- a/src/strategies/libs/UniswapV3MathLib.sol +++ b/src/strategies/libs/UniswapV3MathLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; library UniswapV3MathLib { uint8 internal constant RESOLUTION = 96; diff --git a/src/test/MockAggregatorV3Interface.sol b/src/test/MockAggregatorV3Interface.sol index 295aad0e..ae89d0b0 100644 --- a/src/test/MockAggregatorV3Interface.sol +++ b/src/test/MockAggregatorV3Interface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../integrations/chainlink/IAggregatorV3Interface.sol"; diff --git a/src/test/MockAmmAdapter.sol b/src/test/MockAmmAdapter.sol index d6087b05..bb6f4c10 100644 --- a/src/test/MockAmmAdapter.sol +++ b/src/test/MockAmmAdapter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../interfaces/IAmmAdapter.sol"; diff --git a/src/test/MockERC20.sol b/src/test/MockERC20.sol index fab267de..6f176846 100644 --- a/src/test/MockERC20.sol +++ b/src/test/MockERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "./interfaces/IMockERC20.sol"; diff --git a/src/test/MockERC721.sol b/src/test/MockERC721.sol index c4adba9a..548af2ac 100644 --- a/src/test/MockERC721.sol +++ b/src/test/MockERC721.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; diff --git a/src/test/MockStrategy.sol b/src/test/MockStrategy.sol index efe5bf43..d84dcc33 100644 --- a/src/test/MockStrategy.sol +++ b/src/test/MockStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {console} from "forge-std/Test.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/src/test/MockStrategyUpgrade.sol b/src/test/MockStrategyUpgrade.sol index ee1d4fff..49a4ad2a 100644 --- a/src/test/MockStrategyUpgrade.sol +++ b/src/test/MockStrategyUpgrade.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "./MockStrategy.sol"; diff --git a/src/test/MockVaultUpgrade.sol b/src/test/MockVaultUpgrade.sol index 3ac2765b..324dc329 100644 --- a/src/test/MockVaultUpgrade.sol +++ b/src/test/MockVaultUpgrade.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/test/interfaces/IMockERC20.sol b/src/test/interfaces/IMockERC20.sol index fb4ce0cc..e4f3124b 100644 --- a/src/test/interfaces/IMockERC20.sol +++ b/src/test/interfaces/IMockERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; interface IMockERC20 { function mint(uint amount) external; diff --git a/test/adapters/AlgebraAdapter.Polygon.t.sol b/test/adapters/AlgebraAdapter.Polygon.t.sol index 49f51896..46d5d240 100644 --- a/test/adapters/AlgebraAdapter.Polygon.t.sol +++ b/test/adapters/AlgebraAdapter.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../src/interfaces/ICAmmAdapter.sol"; import "../../src/adapters/libs/AmmAdapterIdLib.sol"; diff --git a/test/adapters/KyberAdapter.Polygon.t.sol b/test/adapters/KyberAdapter.Polygon.t.sol index ad813111..ff8d1aa0 100644 --- a/test/adapters/KyberAdapter.Polygon.t.sol +++ b/test/adapters/KyberAdapter.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../src/interfaces/ICAmmAdapter.sol"; import "../../src/adapters/libs/AmmAdapterIdLib.sol"; diff --git a/test/adapters/UniswapV3Adapter.Polygon.t.sol b/test/adapters/UniswapV3Adapter.Polygon.t.sol index 081ee4a7..c421d421 100644 --- a/test/adapters/UniswapV3Adapter.Polygon.t.sol +++ b/test/adapters/UniswapV3Adapter.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../src/interfaces/ICAmmAdapter.sol"; import "../../src/adapters/libs/AmmAdapterIdLib.sol"; diff --git a/test/base/ChainSetup.sol b/test/base/ChainSetup.sol index c6405785..d18b9451 100644 --- a/test/base/ChainSetup.sol +++ b/test/base/ChainSetup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "../../src/core/Platform.sol"; diff --git a/test/base/FullMockSetup.sol b/test/base/FullMockSetup.sol index a49bde66..b37a48b3 100644 --- a/test/base/FullMockSetup.sol +++ b/test/base/FullMockSetup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Platform} from "../../src/core/Platform.sol"; import "../../src/core/PriceReader.sol"; diff --git a/test/base/MockSetup.sol b/test/base/MockSetup.sol index fc4fceed..abdf1fbf 100644 --- a/test/base/MockSetup.sol +++ b/test/base/MockSetup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Platform} from "../../src/core/Platform.sol"; import "../../src/core/PriceReader.sol"; diff --git a/test/base/UniversalTest.sol b/test/base/UniversalTest.sol index b4e341ed..d647cab2 100644 --- a/test/base/UniversalTest.sol +++ b/test/base/UniversalTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "forge-std/Test.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/base/Utils.sol b/test/base/Utils.sol index 5ed0bbb4..d8cadc34 100644 --- a/test/base/Utils.sol +++ b/test/base/Utils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "@solady/utils/LibString.sol"; diff --git a/test/base/chains/PolygonSetup.sol b/test/base/chains/PolygonSetup.sol index 380b04c1..7f5b51b6 100644 --- a/test/base/chains/PolygonSetup.sol +++ b/test/base/chains/PolygonSetup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../../../chains/PolygonLib.sol"; import "../ChainSetup.sol"; diff --git a/test/core/Factory.t.sol b/test/core/Factory.t.sol index 7f2d837e..f80c3393 100644 --- a/test/core/Factory.t.sol +++ b/test/core/Factory.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console, Vm} from "forge-std/Test.sol"; import "../../src/core/Factory.sol"; diff --git a/test/core/Platform.Polygon.t.sol b/test/core/Platform.Polygon.t.sol index 1340e8e3..10ae6483 100644 --- a/test/core/Platform.Polygon.t.sol +++ b/test/core/Platform.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "../base/chains/PolygonSetup.sol"; diff --git a/test/core/Platform.t.sol b/test/core/Platform.t.sol index b31fd54e..54edae5c 100644 --- a/test/core/Platform.t.sol +++ b/test/core/Platform.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import {Platform} from "../../src/core/Platform.sol"; diff --git a/test/core/PriceReader.t.sol b/test/core/PriceReader.t.sol index bb2fa5cc..3c04e335 100644 --- a/test/core/PriceReader.t.sol +++ b/test/core/PriceReader.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console, Vm} from "forge-std/Test.sol"; import "../../src/core/PriceReader.sol"; diff --git a/test/core/Proxy.t.sol b/test/core/Proxy.t.sol index 0d9bd312..c4e225b3 100644 --- a/test/core/Proxy.t.sol +++ b/test/core/Proxy.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "../../src/core/vaults/CVault.sol"; diff --git a/test/core/RMVault.Polygon.t.sol b/test/core/RMVault.Polygon.t.sol index 507c20d5..30eca79f 100644 --- a/test/core/RMVault.Polygon.t.sol +++ b/test/core/RMVault.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "../base/chains/PolygonSetup.sol"; diff --git a/test/core/Swapper.Polygon.t.sol b/test/core/Swapper.Polygon.t.sol index 8458f056..cc64af72 100644 --- a/test/core/Swapper.Polygon.t.sol +++ b/test/core/Swapper.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test} from "forge-std/Test.sol"; import "../../chains/PolygonLib.sol"; diff --git a/test/core/Vault.t.sol b/test/core/Vault.t.sol index 11ef7ab1..9835cde8 100644 --- a/test/core/Vault.t.sol +++ b/test/core/Vault.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "../../src/core/vaults/CVault.sol"; diff --git a/test/core/VaultManager.t.sol b/test/core/VaultManager.t.sol index 4bb128e2..8e0b6fb5 100644 --- a/test/core/VaultManager.t.sol +++ b/test/core/VaultManager.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/core/VaultSharePrice.t.sol b/test/core/VaultSharePrice.t.sol index d245e86a..f2140bda 100644 --- a/test/core/VaultSharePrice.t.sol +++ b/test/core/VaultSharePrice.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {Test, console} from "forge-std/Test.sol"; import "../base/FullMockSetup.sol"; diff --git a/test/core/Zap.Polygon.t.sol b/test/core/Zap.Polygon.t.sol index 334a7744..0b9abbed 100644 --- a/test/core/Zap.Polygon.t.sol +++ b/test/core/Zap.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import {console} from "forge-std/Test.sol"; import "../base/chains/PolygonSetup.sol"; diff --git a/test/strategies/GammaQuickSwapFarmStrategy.Polygon.t.sol b/test/strategies/GammaQuickSwapFarmStrategy.Polygon.t.sol index 86190622..77013659 100644 --- a/test/strategies/GammaQuickSwapFarmStrategy.Polygon.t.sol +++ b/test/strategies/GammaQuickSwapFarmStrategy.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../base/chains/PolygonSetup.sol"; import "../base/UniversalTest.sol"; diff --git a/test/strategies/QuickSwapV3StaticFarmStrategy.Polygon.t.sol b/test/strategies/QuickSwapV3StaticFarmStrategy.Polygon.t.sol index 311745db..ef8c446b 100644 --- a/test/strategies/QuickSwapV3StaticFarmStrategy.Polygon.t.sol +++ b/test/strategies/QuickSwapV3StaticFarmStrategy.Polygon.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.22; +pragma solidity ^0.8.23; import "../base/chains/PolygonSetup.sol"; import "../base/UniversalTest.sol";