Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo #717

Merged
merged 5 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/flashloan/interfaces/IFlashLoanReceiver.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPoolAddressesProvider} from '../../interfaces/IPoolAddressesProvider.sol';
import {IPool} from '../../interfaces/IPool.sol';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPoolAddressesProvider} from '../../interfaces/IPoolAddressesProvider.sol';
import {IPool} from '../../interfaces/IPool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IACLManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPoolAddressesProvider} from './IPoolAddressesProvider.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IERC20} from '../dependencies/openzeppelin/contracts/IERC20.sol';
import {IScaledBalanceToken} from './IScaledBalanceToken.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAaveIncentivesController.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IAaveIncentivesController
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IAaveOracle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPriceOracleGetter} from './IPriceOracleGetter.sol';
import {IPoolAddressesProvider} from './IPoolAddressesProvider.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ICreditDelegationToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title ICreditDelegationToken
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IDelegationToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IDelegationToken
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IERC20WithPermit.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IERC20} from '../dependencies/openzeppelin/contracts/IERC20.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IInitializableAToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IAaveIncentivesController} from './IAaveIncentivesController.sol';
import {IPool} from './IPool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IInitializableDebtToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IAaveIncentivesController} from './IAaveIncentivesController.sol';
import {IPool} from './IPool.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IL2Pool.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IL2Pool
Expand Down
4 changes: 2 additions & 2 deletions contracts/interfaces/IPool.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPoolAddressesProvider} from './IPoolAddressesProvider.sol';
import {DataTypes} from '../protocol/libraries/types/DataTypes.sol';
Expand Down Expand Up @@ -562,7 +562,7 @@ interface IPool {
returns (DataTypes.UserConfigurationMap memory);

/**
* @notice Returns the normalized income normalized income of the reserve
* @notice Returns the normalized income of the reserve
* @param asset The address of the underlying asset of the reserve
* @return The reserve's normalized income
*/
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPoolAddressesProvider.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IPoolAddressesProvider
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPoolAddressesProviderRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IPoolAddressesProviderRegistry
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPoolConfigurator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {ConfiguratorInputTypes} from '../protocol/libraries/types/ConfiguratorInputTypes.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPoolDataProvider.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

interface IPoolDataProvider {
/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPriceOracle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IPriceOracle
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPriceOracleGetter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IPriceOracleGetter
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPriceOracleSentinel.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IPoolAddressesProvider} from './IPoolAddressesProvider.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IReserveInterestRateStrategy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {DataTypes} from '../protocol/libraries/types/DataTypes.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IScaledBalanceToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title IScaledBalanceToken
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ISequencerOracle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title ISequencerOracle
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IStableDebtToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IInitializableDebtToken} from './IInitializableDebtToken.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IVariableDebtToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IScaledBalanceToken} from './IScaledBalanceToken.sol';
import {IInitializableDebtToken} from './IInitializableDebtToken.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/misc/interfaces/IWETH.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

interface IWETH {
function deposit() external payable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IERC20} from '../../dependencies/openzeppelin/contracts/IERC20.sol';
import {WadRayMath} from '../libraries/math/WadRayMath.sol';
Expand Down Expand Up @@ -191,8 +191,8 @@ contract DefaultReserveInterestRateStrategy is IReserveInterestRateStrategy {
}

/// @inheritdoc IReserveInterestRateStrategy
function calculateInterestRates(DataTypes.CalculateInterestRatesParams calldata params)
external
function calculateInterestRates(DataTypes.CalculateInterestRatesParams memory params)
public
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@miguelmtzinf is it needed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are already part of the code (github is not calculating the diff correctly). They have been introduced per BGD's request (for the V2-V3 migration).
Here PRs: #721 and #712

view
override
returns (
Expand Down