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: modify interface versions to support all minor 0.8.x vers #720

Merged
merged 1 commit into from
Oct 28, 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
2 changes: 1 addition & 1 deletion 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
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