diff --git a/config/eth-mainnet/compound/Config.sol b/config/eth-mainnet/compound/Config.sol index 6aec7318e..f31ac2a52 100644 --- a/config/eth-mainnet/compound/Config.sol +++ b/config/eth-mainnet/compound/Config.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import "src/compound/interfaces/compound/ICompound.sol"; diff --git a/config/goerli/compound/Config.sol b/config/goerli/compound/Config.sol index a700a5003..f570f101e 100644 --- a/config/goerli/compound/Config.sol +++ b/config/goerli/compound/Config.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import "src/compound/libraries/Types.sol"; diff --git a/config/ropsten/compound/Config.sol b/config/ropsten/compound/Config.sol index a2210875f..f769677f3 100644 --- a/config/ropsten/compound/Config.sol +++ b/config/ropsten/compound/Config.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import "src/compound/libraries/Types.sol"; diff --git a/package.json b/package.json index 07de2015c..ed2e52ebd 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,16 @@ "name": "@morpho-dao/morpho-v1", "version": "2.0.0", "description": "Core contracts of the Morpho Protocol V1.", + "author": "Morpho Labs ", + "license": "AGPL-3.0-only", + "repository": { + "type": "git", + "url": "git+https://github.com/morpho-dao/morpho-v1.git" + }, + "bugs": { + "url": "https://github.com/morpho-dao/morpho-v1/issues" + }, + "homepage": "https://github.com/morpho-dao/morpho-v1#readme", "scripts": { "test": "hardhat test test-ts/*.spec.ts", "test:upgrade:stEth": "BLOCK_NUMBER=15580517 hardhat test test-ts/upgrades/stEth.spec.ts", @@ -13,15 +23,6 @@ "format:sol": "prettier --write './**/*.sol'", "postinstall": "husky install" }, - "repository": { - "type": "git", - "url": "git+https://github.com/morpho-dao/morpho-v1.git" - }, - "license": "ISC", - "bugs": { - "url": "https://github.com/morpho-dao/morpho-v1/issues" - }, - "homepage": "https://github.com/morpho-dao/morpho-v1#readme", "devDependencies": { "@morpho-labs/ethers-multicall": "^1.3.1", "@morpho-labs/morpho-ethers-contract": "^1.1.1", diff --git a/scripts/compound/Deploy.s.sol b/scripts/compound/Deploy.s.sol index 6f33f71d3..1d6951d37 100644 --- a/scripts/compound/Deploy.s.sol +++ b/scripts/compound/Deploy.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "src/compound/interfaces/IRewardsManager.sol"; diff --git a/src/compound/IncentivesVault.sol b/src/compound/IncentivesVault.sol index 7638bd23e..1f46565d0 100644 --- a/src/compound/IncentivesVault.sol +++ b/src/compound/IncentivesVault.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./interfaces/IIncentivesVault.sol"; diff --git a/src/compound/InterestRatesManager.sol b/src/compound/InterestRatesManager.sol index bc991702d..5da253633 100644 --- a/src/compound/InterestRatesManager.sol +++ b/src/compound/InterestRatesManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./interfaces/IInterestRatesManager.sol"; diff --git a/src/compound/MatchingEngine.sol b/src/compound/MatchingEngine.sol index 2dfd123e5..6d7e2eccc 100644 --- a/src/compound/MatchingEngine.sol +++ b/src/compound/MatchingEngine.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./MorphoUtils.sol"; diff --git a/src/compound/Morpho.sol b/src/compound/Morpho.sol index 21824e2ef..e3353b706 100644 --- a/src/compound/Morpho.sol +++ b/src/compound/Morpho.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./MorphoGovernance.sol"; diff --git a/src/compound/MorphoGovernance.sol b/src/compound/MorphoGovernance.sol index 1839d02fd..e87ed5536 100644 --- a/src/compound/MorphoGovernance.sol +++ b/src/compound/MorphoGovernance.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./MorphoUtils.sol"; diff --git a/src/compound/MorphoStorage.sol b/src/compound/MorphoStorage.sol index 066676113..811e2d07a 100644 --- a/src/compound/MorphoStorage.sol +++ b/src/compound/MorphoStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./interfaces/compound/ICompound.sol"; diff --git a/src/compound/MorphoUtils.sol b/src/compound/MorphoUtils.sol index 1bf20a9ae..0fd793a11 100644 --- a/src/compound/MorphoUtils.sol +++ b/src/compound/MorphoUtils.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; diff --git a/src/compound/PositionsManager.sol b/src/compound/PositionsManager.sol index 2d2086617..97d19ca28 100644 --- a/src/compound/PositionsManager.sol +++ b/src/compound/PositionsManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./interfaces/IPositionsManager.sol"; diff --git a/src/compound/RewardsManager.sol b/src/compound/RewardsManager.sol index e2b02e9b7..ea126d030 100644 --- a/src/compound/RewardsManager.sol +++ b/src/compound/RewardsManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./interfaces/IRewardsManager.sol"; diff --git a/src/compound/interfaces/IIncentivesVault.sol b/src/compound/interfaces/IIncentivesVault.sol index b29a8eaf8..f85287246 100644 --- a/src/compound/interfaces/IIncentivesVault.sol +++ b/src/compound/interfaces/IIncentivesVault.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; import "./IOracle.sol"; diff --git a/src/compound/interfaces/IInterestRatesManager.sol b/src/compound/interfaces/IInterestRatesManager.sol index 36e3e22f1..6180a3f57 100644 --- a/src/compound/interfaces/IInterestRatesManager.sol +++ b/src/compound/interfaces/IInterestRatesManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; interface IInterestRatesManager { diff --git a/src/compound/interfaces/IMorpho.sol b/src/compound/interfaces/IMorpho.sol index 44a0bfb46..83d4a4ffe 100644 --- a/src/compound/interfaces/IMorpho.sol +++ b/src/compound/interfaces/IMorpho.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; import "./IInterestRatesManager.sol"; diff --git a/src/compound/interfaces/IOracle.sol b/src/compound/interfaces/IOracle.sol index 5025c0f44..dba58b269 100644 --- a/src/compound/interfaces/IOracle.sol +++ b/src/compound/interfaces/IOracle.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; interface IOracle { diff --git a/src/compound/interfaces/IPositionsManager.sol b/src/compound/interfaces/IPositionsManager.sol index 8c79526fb..265b756f8 100644 --- a/src/compound/interfaces/IPositionsManager.sol +++ b/src/compound/interfaces/IPositionsManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; interface IPositionsManager { diff --git a/src/compound/interfaces/IRewardsManager.sol b/src/compound/interfaces/IRewardsManager.sol index 8ef7ef921..685982457 100644 --- a/src/compound/interfaces/IRewardsManager.sol +++ b/src/compound/interfaces/IRewardsManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; import "./compound/ICompound.sol"; diff --git a/src/compound/interfaces/IWETH.sol b/src/compound/interfaces/IWETH.sol index e52ad177c..51391fa69 100644 --- a/src/compound/interfaces/IWETH.sol +++ b/src/compound/interfaces/IWETH.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; interface IWETH { diff --git a/src/compound/interfaces/compound/ICompound.sol b/src/compound/interfaces/compound/ICompound.sol index b88c64ef2..32b78af6a 100644 --- a/src/compound/interfaces/compound/ICompound.sol +++ b/src/compound/interfaces/compound/ICompound.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; interface ICEth { diff --git a/src/compound/lens/IndexesLens.sol b/src/compound/lens/IndexesLens.sol index 1355c2dd9..3d5a2f7bc 100644 --- a/src/compound/lens/IndexesLens.sol +++ b/src/compound/lens/IndexesLens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "../libraries/InterestRatesModel.sol"; diff --git a/src/compound/lens/Lens.sol b/src/compound/lens/Lens.sol index 1d5fd1e18..712f51f39 100644 --- a/src/compound/lens/Lens.sol +++ b/src/compound/lens/Lens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./RewardsLens.sol"; diff --git a/src/compound/lens/LensStorage.sol b/src/compound/lens/LensStorage.sol index 8df3a4577..eda6428cd 100644 --- a/src/compound/lens/LensStorage.sol +++ b/src/compound/lens/LensStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "../interfaces/compound/ICompound.sol"; diff --git a/src/compound/lens/MarketsLens.sol b/src/compound/lens/MarketsLens.sol index 113b0b1fa..420a7c1a2 100644 --- a/src/compound/lens/MarketsLens.sol +++ b/src/compound/lens/MarketsLens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./RatesLens.sol"; diff --git a/src/compound/lens/RatesLens.sol b/src/compound/lens/RatesLens.sol index 3890153cf..d04dc8530 100644 --- a/src/compound/lens/RatesLens.sol +++ b/src/compound/lens/RatesLens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./UsersLens.sol"; diff --git a/src/compound/lens/RewardsLens.sol b/src/compound/lens/RewardsLens.sol index c97f03197..5b5bfe49c 100644 --- a/src/compound/lens/RewardsLens.sol +++ b/src/compound/lens/RewardsLens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./MarketsLens.sol"; diff --git a/src/compound/lens/UsersLens.sol b/src/compound/lens/UsersLens.sol index abd476128..2b8e6e593 100644 --- a/src/compound/lens/UsersLens.sol +++ b/src/compound/lens/UsersLens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.13; import "./IndexesLens.sol"; diff --git a/src/compound/lens/interfaces/ILens.sol b/src/compound/lens/interfaces/ILens.sol index 0e36dc01d..e6ad1d3f6 100644 --- a/src/compound/lens/interfaces/ILens.sol +++ b/src/compound/lens/interfaces/ILens.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.0; import "../../interfaces/compound/ICompound.sol"; diff --git a/src/compound/libraries/CompoundMath.sol b/src/compound/libraries/CompoundMath.sol index 18a8bf7c9..4bcac944c 100644 --- a/src/compound/libraries/CompoundMath.sol +++ b/src/compound/libraries/CompoundMath.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; /// @title CompoundMath. diff --git a/src/compound/libraries/InterestRatesModel.sol b/src/compound/libraries/InterestRatesModel.sol index 5a7370cf6..8f8706629 100644 --- a/src/compound/libraries/InterestRatesModel.sol +++ b/src/compound/libraries/InterestRatesModel.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "@morpho-dao/morpho-utils/math/PercentageMath.sol"; diff --git a/src/compound/libraries/Types.sol b/src/compound/libraries/Types.sol index a1badab2f..4a1d4472e 100644 --- a/src/compound/libraries/Types.sol +++ b/src/compound/libraries/Types.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; /// @title Types. diff --git a/test/compound/TestBorrow.t.sol b/test/compound/TestBorrow.t.sol index 8d8f3fdf6..c5a0f3a0b 100644 --- a/test/compound/TestBorrow.t.sol +++ b/test/compound/TestBorrow.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestEth.t.sol b/test/compound/TestEth.t.sol index 2fa36905f..1426db73f 100644 --- a/test/compound/TestEth.t.sol +++ b/test/compound/TestEth.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestFees.t.sol b/test/compound/TestFees.t.sol index c3eec5686..c42fd0587 100644 --- a/test/compound/TestFees.t.sol +++ b/test/compound/TestFees.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestGovernance.t.sol b/test/compound/TestGovernance.t.sol index c3f647811..6fedc5b2a 100644 --- a/test/compound/TestGovernance.t.sol +++ b/test/compound/TestGovernance.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestIncentivesVault.t.sol b/test/compound/TestIncentivesVault.t.sol index 534c6bb01..ff53b46e0 100644 --- a/test/compound/TestIncentivesVault.t.sol +++ b/test/compound/TestIncentivesVault.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestInterestRates.t.sol b/test/compound/TestInterestRates.t.sol index 5812ec3e0..483bc6d16 100644 --- a/test/compound/TestInterestRates.t.sol +++ b/test/compound/TestInterestRates.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/InterestRatesManager.sol"; diff --git a/test/compound/TestLens.t.sol b/test/compound/TestLens.t.sol index c95048bf8..046989a36 100644 --- a/test/compound/TestLens.t.sol +++ b/test/compound/TestLens.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestLiquidate.t.sol b/test/compound/TestLiquidate.t.sol index ef95b854e..df33462c3 100644 --- a/test/compound/TestLiquidate.t.sol +++ b/test/compound/TestLiquidate.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestMarketMember.t.sol b/test/compound/TestMarketMember.t.sol index 394086e4a..fd3eef32d 100644 --- a/test/compound/TestMarketMember.t.sol +++ b/test/compound/TestMarketMember.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestMarketStrategy.t.sol b/test/compound/TestMarketStrategy.t.sol index ff5cf69d8..98ca8a4e8 100644 --- a/test/compound/TestMarketStrategy.t.sol +++ b/test/compound/TestMarketStrategy.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestMorphoGetters.t.sol b/test/compound/TestMorphoGetters.t.sol index 213f42c96..b446f0af4 100644 --- a/test/compound/TestMorphoGetters.t.sol +++ b/test/compound/TestMorphoGetters.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestMorphoUtils.t.sol b/test/compound/TestMorphoUtils.t.sol index 8508ef059..ac78b8dc7 100644 --- a/test/compound/TestMorphoUtils.t.sol +++ b/test/compound/TestMorphoUtils.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestP2PDisable.t.sol b/test/compound/TestP2PDisable.t.sol index 876f9468b..6403ad0a5 100644 --- a/test/compound/TestP2PDisable.t.sol +++ b/test/compound/TestP2PDisable.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestPausableMarket.t.sol b/test/compound/TestPausableMarket.t.sol index 203438b1c..ab325267f 100644 --- a/test/compound/TestPausableMarket.t.sol +++ b/test/compound/TestPausableMarket.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestRatesLens.t.sol b/test/compound/TestRatesLens.t.sol index 4cfa561e1..47823daf8 100644 --- a/test/compound/TestRatesLens.t.sol +++ b/test/compound/TestRatesLens.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestRepay.t.sol b/test/compound/TestRepay.t.sol index 06602432a..cae2384ca 100644 --- a/test/compound/TestRepay.t.sol +++ b/test/compound/TestRepay.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestRewards.t.sol b/test/compound/TestRewards.t.sol index c540a28c9..c0b4ec1cf 100644 --- a/test/compound/TestRewards.t.sol +++ b/test/compound/TestRewards.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestRoundings.t.sol b/test/compound/TestRoundings.t.sol index 8dc126293..008125d83 100644 --- a/test/compound/TestRoundings.t.sol +++ b/test/compound/TestRoundings.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestSupply.t.sol b/test/compound/TestSupply.t.sol index 24abe4105..17ca0f996 100644 --- a/test/compound/TestSupply.t.sol +++ b/test/compound/TestSupply.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestUpgradeable.t.sol b/test/compound/TestUpgradeable.t.sol index e8f3d1729..eadee9c2a 100644 --- a/test/compound/TestUpgradeable.t.sol +++ b/test/compound/TestUpgradeable.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/compound/TestWithdraw.t.sol b/test/compound/TestWithdraw.t.sol index 135f44b91..9157ddae2 100644 --- a/test/compound/TestWithdraw.t.sol +++ b/test/compound/TestWithdraw.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import {Attacker} from "./helpers/Attacker.sol"; diff --git a/test/compound/helpers/Attacker.sol b/test/compound/helpers/Attacker.sol index b308fc864..8466e7950 100644 --- a/test/compound/helpers/Attacker.sol +++ b/test/compound/helpers/Attacker.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/interfaces/compound/ICompound.sol"; diff --git a/test/compound/helpers/DumbOracle.sol b/test/compound/helpers/DumbOracle.sol index d7cee3e04..f09c962fb 100644 --- a/test/compound/helpers/DumbOracle.sol +++ b/test/compound/helpers/DumbOracle.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/interfaces/IOracle.sol"; diff --git a/test/compound/helpers/IncentivesVault.sol b/test/compound/helpers/IncentivesVault.sol index ca3b51a04..bfc354e11 100644 --- a/test/compound/helpers/IncentivesVault.sol +++ b/test/compound/helpers/IncentivesVault.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./DumbOracle.sol"; diff --git a/test/compound/helpers/SimplePriceOracle.sol b/test/compound/helpers/SimplePriceOracle.sol index 02cba4082..166398f39 100644 --- a/test/compound/helpers/SimplePriceOracle.sol +++ b/test/compound/helpers/SimplePriceOracle.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/interfaces/compound/ICompound.sol"; diff --git a/test/compound/helpers/User.sol b/test/compound/helpers/User.sol index d2a522c28..40e7b22ec 100644 --- a/test/compound/helpers/User.sol +++ b/test/compound/helpers/User.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/interfaces/IRewardsManager.sol"; diff --git a/test/compound/setup/TestSetup.sol b/test/compound/setup/TestSetup.sol index d9ab2559b..d9d26bcd6 100644 --- a/test/compound/setup/TestSetup.sol +++ b/test/compound/setup/TestSetup.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/interfaces/IMorpho.sol"; diff --git a/test/compound/setup/Utils.sol b/test/compound/setup/Utils.sol index 48c939afa..02d76d424 100644 --- a/test/compound/setup/Utils.sol +++ b/test/compound/setup/Utils.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "src/compound/libraries/CompoundMath.sol"; diff --git a/test/prod/compound/TestDeltas.t.sol b/test/prod/compound/TestDeltas.t.sol index 7d2120ae7..661f386e4 100644 --- a/test/prod/compound/TestDeltas.t.sol +++ b/test/prod/compound/TestDeltas.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/prod/compound/TestLifecycle.t.sol b/test/prod/compound/TestLifecycle.t.sol index 91a54d4c9..e75e73c0b 100644 --- a/test/prod/compound/TestLifecycle.t.sol +++ b/test/prod/compound/TestLifecycle.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/prod/compound/TestUpgradeDLL.t.sol b/test/prod/compound/TestUpgradeDLL.t.sol index bd87d7a46..b754b7b09 100644 --- a/test/prod/compound/TestUpgradeDLL.t.sol +++ b/test/prod/compound/TestUpgradeDLL.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/prod/compound/TestUpgradeDeltas.t.sol b/test/prod/compound/TestUpgradeDeltas.t.sol index 9f26bfb53..58692d9bc 100644 --- a/test/prod/compound/TestUpgradeDeltas.t.sol +++ b/test/prod/compound/TestUpgradeDeltas.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./TestDeltas.t.sol"; diff --git a/test/prod/compound/TestUpgradeLens.t.sol b/test/prod/compound/TestUpgradeLens.t.sol index 04af9f4a8..ba22a933d 100644 --- a/test/prod/compound/TestUpgradeLens.t.sol +++ b/test/prod/compound/TestUpgradeLens.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./setup/TestSetup.sol"; diff --git a/test/prod/compound/TestUpgradeLifecycle.t.sol b/test/prod/compound/TestUpgradeLifecycle.t.sol index d55856cc7..08dd8f4a9 100644 --- a/test/prod/compound/TestUpgradeLifecycle.t.sol +++ b/test/prod/compound/TestUpgradeLifecycle.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import "./TestLifecycle.t.sol"; diff --git a/test/prod/compound/setup/TestSetup.sol b/test/prod/compound/setup/TestSetup.sol index dcf600801..92385a1b4 100644 --- a/test/prod/compound/setup/TestSetup.sol +++ b/test/prod/compound/setup/TestSetup.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GNU AGPLv3 +// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.0; import {CompoundMath} from "src/compound/libraries/CompoundMath.sol";