From 80e42155f642d7a9365d198e5482aaeaf86007e1 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Wed, 14 Dec 2022 18:55:29 +0100 Subject: [PATCH 1/2] fix: Capitalize license names of contracts --- .../aave/interestStrategy/GhoDiscountRateStrategy.sol | 2 +- .../facilitators/aave/mocks/EmptyDiscountRateStrategy.sol | 2 +- .../facilitators/aave/stkAaveUpgrade/StakedAaveV2Rev4.sol | 2 +- .../aave/stkAaveUpgrade/interfaces/IGhoVariableDebtToken.sol | 2 +- .../facilitators/aave/tokens/base/ScaledBalanceTokenBase.sol | 2 +- .../aave/tokens/interfaces/IAaveIncentivesController.sol | 2 +- .../facilitators/aave/tokens/interfaces/IGhoAToken.sol | 2 +- .../aave/tokens/interfaces/IGhoDiscountRateStrategy.sol | 2 +- .../aave/tokens/interfaces/IGhoVariableDebtToken.sol | 2 +- .../facilitators/flashMinter/interfaces/IGhoFlashMinter.sol | 2 +- .../facilitators/flashMinter/mocks/MockFlashBorrower.sol | 2 +- src/contracts/gho/interfaces/IERC20Burnable.sol | 2 +- src/contracts/gho/interfaces/IERC20Mintable.sol | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/contracts/facilitators/aave/interestStrategy/GhoDiscountRateStrategy.sol b/src/contracts/facilitators/aave/interestStrategy/GhoDiscountRateStrategy.sol index fd36d30f..f1aebbf9 100644 --- a/src/contracts/facilitators/aave/interestStrategy/GhoDiscountRateStrategy.sol +++ b/src/contracts/facilitators/aave/interestStrategy/GhoDiscountRateStrategy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {WadRayMath} from '@aave/core-v3/contracts/protocol/libraries/math/WadRayMath.sol'; diff --git a/src/contracts/facilitators/aave/mocks/EmptyDiscountRateStrategy.sol b/src/contracts/facilitators/aave/mocks/EmptyDiscountRateStrategy.sol index baa726ed..5199843d 100644 --- a/src/contracts/facilitators/aave/mocks/EmptyDiscountRateStrategy.sol +++ b/src/contracts/facilitators/aave/mocks/EmptyDiscountRateStrategy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.8.10; import {IGhoDiscountRateStrategy} from '../tokens/interfaces/IGhoDiscountRateStrategy.sol'; diff --git a/src/contracts/facilitators/aave/stkAaveUpgrade/StakedAaveV2Rev4.sol b/src/contracts/facilitators/aave/stkAaveUpgrade/StakedAaveV2Rev4.sol index cf15b2b8..c0370c28 100644 --- a/src/contracts/facilitators/aave/stkAaveUpgrade/StakedAaveV2Rev4.sol +++ b/src/contracts/facilitators/aave/stkAaveUpgrade/StakedAaveV2Rev4.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.7.5; pragma experimental ABIEncoderV2; diff --git a/src/contracts/facilitators/aave/stkAaveUpgrade/interfaces/IGhoVariableDebtToken.sol b/src/contracts/facilitators/aave/stkAaveUpgrade/interfaces/IGhoVariableDebtToken.sol index 666dafe3..cabb8cca 100644 --- a/src/contracts/facilitators/aave/stkAaveUpgrade/interfaces/IGhoVariableDebtToken.sol +++ b/src/contracts/facilitators/aave/stkAaveUpgrade/interfaces/IGhoVariableDebtToken.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.7.5; interface IGhoVariableDebtToken { diff --git a/src/contracts/facilitators/aave/tokens/base/ScaledBalanceTokenBase.sol b/src/contracts/facilitators/aave/tokens/base/ScaledBalanceTokenBase.sol index d775ac02..f7a4bdfb 100644 --- a/src/contracts/facilitators/aave/tokens/base/ScaledBalanceTokenBase.sol +++ b/src/contracts/facilitators/aave/tokens/base/ScaledBalanceTokenBase.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.8.10; import {SafeCast} from '@aave/core-v3/contracts/dependencies/openzeppelin/contracts/SafeCast.sol'; diff --git a/src/contracts/facilitators/aave/tokens/interfaces/IAaveIncentivesController.sol b/src/contracts/facilitators/aave/tokens/interfaces/IAaveIncentivesController.sol index 29283019..27474742 100644 --- a/src/contracts/facilitators/aave/tokens/interfaces/IAaveIncentivesController.sol +++ b/src/contracts/facilitators/aave/tokens/interfaces/IAaveIncentivesController.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; interface IAaveIncentivesController { diff --git a/src/contracts/facilitators/aave/tokens/interfaces/IGhoAToken.sol b/src/contracts/facilitators/aave/tokens/interfaces/IGhoAToken.sol index 6cb74463..554923cb 100644 --- a/src/contracts/facilitators/aave/tokens/interfaces/IGhoAToken.sol +++ b/src/contracts/facilitators/aave/tokens/interfaces/IGhoAToken.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {IAToken} from '@aave/core-v3/contracts/interfaces/IAToken.sol'; diff --git a/src/contracts/facilitators/aave/tokens/interfaces/IGhoDiscountRateStrategy.sol b/src/contracts/facilitators/aave/tokens/interfaces/IGhoDiscountRateStrategy.sol index 32edce82..c3f08e6d 100644 --- a/src/contracts/facilitators/aave/tokens/interfaces/IGhoDiscountRateStrategy.sol +++ b/src/contracts/facilitators/aave/tokens/interfaces/IGhoDiscountRateStrategy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; /** diff --git a/src/contracts/facilitators/aave/tokens/interfaces/IGhoVariableDebtToken.sol b/src/contracts/facilitators/aave/tokens/interfaces/IGhoVariableDebtToken.sol index 083ce1ec..ac67c3ed 100644 --- a/src/contracts/facilitators/aave/tokens/interfaces/IGhoVariableDebtToken.sol +++ b/src/contracts/facilitators/aave/tokens/interfaces/IGhoVariableDebtToken.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {IVariableDebtToken} from '@aave/core-v3/contracts/interfaces/IVariableDebtToken.sol'; diff --git a/src/contracts/facilitators/flashMinter/interfaces/IGhoFlashMinter.sol b/src/contracts/facilitators/flashMinter/interfaces/IGhoFlashMinter.sol index 8b14e853..aabfd38e 100644 --- a/src/contracts/facilitators/flashMinter/interfaces/IGhoFlashMinter.sol +++ b/src/contracts/facilitators/flashMinter/interfaces/IGhoFlashMinter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {IERC3156FlashLender} from '@openzeppelin/contracts/interfaces/IERC3156FlashLender.sol'; diff --git a/src/contracts/facilitators/flashMinter/mocks/MockFlashBorrower.sol b/src/contracts/facilitators/flashMinter/mocks/MockFlashBorrower.sol index b04bd7d5..3649714c 100644 --- a/src/contracts/facilitators/flashMinter/mocks/MockFlashBorrower.sol +++ b/src/contracts/facilitators/flashMinter/mocks/MockFlashBorrower.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol'; diff --git a/src/contracts/gho/interfaces/IERC20Burnable.sol b/src/contracts/gho/interfaces/IERC20Burnable.sol index f995dd9c..91e28f00 100644 --- a/src/contracts/gho/interfaces/IERC20Burnable.sol +++ b/src/contracts/gho/interfaces/IERC20Burnable.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; /** diff --git a/src/contracts/gho/interfaces/IERC20Mintable.sol b/src/contracts/gho/interfaces/IERC20Mintable.sol index ce58875a..4fd87a94 100644 --- a/src/contracts/gho/interfaces/IERC20Mintable.sol +++ b/src/contracts/gho/interfaces/IERC20Mintable.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity >=0.6.0 <0.9.0; /** From cfe7ab3f04a66f1859d4f94a765d7d35faf32d2c Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Wed, 14 Dec 2022 19:08:12 +0100 Subject: [PATCH 2/2] fix: Capitalize license names of contracts --- src/contracts/facilitators/flashMinter/GhoFlashMinter.sol | 2 +- src/contracts/gho/GhoToken.sol | 2 +- src/contracts/gho/interfaces/IGhoToken.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contracts/facilitators/flashMinter/GhoFlashMinter.sol b/src/contracts/facilitators/flashMinter/GhoFlashMinter.sol index d77360cd..b21cfdc6 100644 --- a/src/contracts/facilitators/flashMinter/GhoFlashMinter.sol +++ b/src/contracts/facilitators/flashMinter/GhoFlashMinter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.8.10; import {IACLManager} from '@aave/core-v3/contracts/interfaces/IACLManager.sol'; diff --git a/src/contracts/gho/GhoToken.sol b/src/contracts/gho/GhoToken.sol index ef8a304c..87498165 100644 --- a/src/contracts/gho/GhoToken.sol +++ b/src/contracts/gho/GhoToken.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; diff --git a/src/contracts/gho/interfaces/IGhoToken.sol b/src/contracts/gho/interfaces/IGhoToken.sol index a8474103..dd99a106 100644 --- a/src/contracts/gho/interfaces/IGhoToken.sol +++ b/src/contracts/gho/interfaces/IGhoToken.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: agpl-3.0 +// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.0; import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';