mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
33 lines
1.2 KiB
Solidity
33 lines
1.2 KiB
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity 0.6.12;
|
|
|
|
import {UserConfiguration} from '../libraries/configuration/UserConfiguration.sol';
|
|
import {ReserveConfiguration} from '../libraries/configuration/ReserveConfiguration.sol';
|
|
import {ReserveLogic} from '../libraries/logic/ReserveLogic.sol';
|
|
import {ILendingPoolAddressesProvider} from '../../interfaces/ILendingPoolAddressesProvider.sol';
|
|
import {DataTypes} from '../libraries/types/DataTypes.sol';
|
|
|
|
contract LendingPoolStorage {
|
|
using ReserveLogic for DataTypes.ReserveData;
|
|
using ReserveConfiguration for DataTypes.ReserveConfigurationMap;
|
|
using UserConfiguration for DataTypes.UserConfigurationMap;
|
|
|
|
ILendingPoolAddressesProvider internal _addressesProvider;
|
|
|
|
mapping(address => DataTypes.ReserveData) internal _reserves;
|
|
mapping(address => DataTypes.UserConfigurationMap) internal _usersConfig;
|
|
|
|
// the list of the available reserves, structured as a mapping for gas savings reasons
|
|
mapping(uint256 => address) internal _reservesList;
|
|
|
|
uint256 internal _reservesCount;
|
|
|
|
bool internal _paused;
|
|
|
|
uint256 internal _maxStableRateBorrowSizePercent;
|
|
|
|
uint256 internal _flashLoanPremiumTotal;
|
|
|
|
uint256 internal _maxNumberOfReserves;
|
|
}
|