{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "borrowRateMode",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "borrowRate",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint16",
          "name": "referral",
          "type": "uint16"
        }
      ],
      "name": "Borrow",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint16",
          "name": "referral",
          "type": "uint16"
        }
      ],
      "name": "Deposit",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "target",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "initiator",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "premium",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint16",
          "name": "referralCode",
          "type": "uint16"
        }
      ],
      "name": "FlashLoan",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "collateralAsset",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "debtAsset",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "debtToCover",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "liquidatedCollateralAmount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "liquidator",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "receiveAToken",
          "type": "bool"
        }
      ],
      "name": "LiquidationCall",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [],
      "name": "Paused",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "RebalanceStableBorrowRate",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "repayer",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "Repay",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "liquidityRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "stableBorrowRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "variableBorrowRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "liquidityIndex",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "variableBorrowIndex",
          "type": "uint256"
        }
      ],
      "name": "ReserveDataUpdated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "ReserveUsedAsCollateralDisabled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "ReserveUsedAsCollateralEnabled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "rateMode",
          "type": "uint256"
        }
      ],
      "name": "Swap",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [],
      "name": "Unpaused",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "Withdraw",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "interestRateMode",
          "type": "uint256"
        },
        {
          "internalType": "uint16",
          "name": "referralCode",
          "type": "uint16"
        },
        {
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        }
      ],
      "name": "borrow",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "internalType": "uint16",
          "name": "referralCode",
          "type": "uint16"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "from",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "balanceFromAfter",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "balanceToBefore",
          "type": "uint256"
        }
      ],
      "name": "finalizeTransfer",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "receiverAddress",
          "type": "address"
        },
        {
          "internalType": "address[]",
          "name": "assets",
          "type": "address[]"
        },
        {
          "internalType": "uint256[]",
          "name": "amounts",
          "type": "uint256[]"
        },
        {
          "internalType": "uint256[]",
          "name": "modes",
          "type": "uint256[]"
        },
        {
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "params",
          "type": "bytes"
        },
        {
          "internalType": "uint16",
          "name": "referralCode",
          "type": "uint16"
        }
      ],
      "name": "flashLoan",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getAddressesProvider",
      "outputs": [
        {
          "internalType": "contract ILendingPoolAddressesProvider",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        }
      ],
      "name": "getConfiguration",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "data",
              "type": "uint256"
            }
          ],
          "internalType": "struct DataTypes.ReserveConfigurationMap",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        }
      ],
      "name": "getReserveData",
      "outputs": [
        {
          "components": [
            {
              "components": [
                {
                  "internalType": "uint256",
                  "name": "data",
                  "type": "uint256"
                }
              ],
              "internalType": "struct DataTypes.ReserveConfigurationMap",
              "name": "configuration",
              "type": "tuple"
            },
            {
              "internalType": "uint128",
              "name": "liquidityIndex",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "variableBorrowIndex",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "currentLiquidityRate",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "currentVariableBorrowRate",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "currentStableBorrowRate",
              "type": "uint128"
            },
            {
              "internalType": "uint40",
              "name": "lastUpdateTimestamp",
              "type": "uint40"
            },
            {
              "internalType": "address",
              "name": "aTokenAddress",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "stableDebtTokenAddress",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "variableDebtTokenAddress",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "interestRateStrategyAddress",
              "type": "address"
            },
            {
              "internalType": "uint8",
              "name": "id",
              "type": "uint8"
            }
          ],
          "internalType": "struct DataTypes.ReserveData",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        }
      ],
      "name": "getReserveNormalizedIncome",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        }
      ],
      "name": "getReserveNormalizedVariableDebt",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getReservesList",
      "outputs": [
        {
          "internalType": "address[]",
          "name": "",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "getUserAccountData",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "totalCollateralETH",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "totalDebtETH",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "availableBorrowsETH",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "currentLiquidationThreshold",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "ltv",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "healthFactor",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "getUserConfiguration",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "data",
              "type": "uint256"
            }
          ],
          "internalType": "struct DataTypes.UserConfigurationMap",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "aTokenAddress",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "stableDebtAddress",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "variableDebtAddress",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "interestRateStrategyAddress",
          "type": "address"
        }
      ],
      "name": "initReserve",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "collateralAsset",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "debtAsset",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "debtToCover",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "receiveAToken",
          "type": "bool"
        }
      ],
      "name": "liquidationCall",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "paused",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "rebalanceStableBorrowRate",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "rateMode",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        }
      ],
      "name": "repay",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "configuration",
          "type": "uint256"
        }
      ],
      "name": "setConfiguration",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bool",
          "name": "val",
          "type": "bool"
        }
      ],
      "name": "setPause",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "reserve",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "rateStrategyAddress",
          "type": "address"
        }
      ],
      "name": "setReserveInterestRateStrategyAddress",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "useAsCollateral",
          "type": "bool"
        }
      ],
      "name": "setUserUseReserveAsCollateral",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "rateMode",
          "type": "uint256"
        }
      ],
      "name": "swapBorrowRateMode",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "to",
          "type": "address"
        }
      ],
      "name": "withdraw",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "47": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPool.sol",
    "48": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol"
  },
  "ast": {
    "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPool.sol",
    "exportedSymbols": {
      "DataTypes": [
        22839
      ],
      "ILendingPool": [
        15292
      ],
      "ILendingPoolAddressesProvider": [
        15443
      ]
    },
    "id": 15293,
    "license": "agpl-3.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 14915,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "37:23:47"
      },
      {
        "id": 14916,
        "literals": [
          "experimental",
          "ABIEncoderV2"
        ],
        "nodeType": "PragmaDirective",
        "src": "61:33:47"
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol",
        "file": "./ILendingPoolAddressesProvider.sol",
        "id": 14918,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 15293,
        "sourceUnit": 15444,
        "src": "96:82:47",
        "symbolAliases": [
          {
            "foreign": {
              "id": 14917,
              "name": "ILendingPoolAddressesProvider",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "104:29:47",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/protocol/libraries/types/DataTypes.sol",
        "file": "../protocol/libraries/types/DataTypes.sol",
        "id": 14920,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 15293,
        "sourceUnit": 22840,
        "src": "179:68:47",
        "symbolAliases": [
          {
            "foreign": {
              "id": 14919,
              "name": "DataTypes",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "187:9:47",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 15292,
        "linearizedBaseContracts": [
          15292
        ],
        "name": "ILendingPool",
        "nameLocation": "259:12:47",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": {
              "id": 14921,
              "nodeType": "StructuredDocumentation",
              "src": "276:325:47",
              "text": " @dev Emitted on deposit()\n @param reserve The address of the underlying asset of the reserve\n @param user The address initiating the deposit\n @param onBehalfOf The beneficiary of the deposit, receiving the aTokens\n @param amount The amount deposited\n @param referral The referral code used*"
            },
            "id": 14933,
            "name": "Deposit",
            "nameLocation": "610:7:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14932,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14923,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "639:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14933,
                  "src": "623:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14922,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "623:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14925,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "660:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14933,
                  "src": "652:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14924,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "652:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14927,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "686:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14933,
                  "src": "670:26:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14926,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "670:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14929,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "710:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14933,
                  "src": "702:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14928,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "702:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14931,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "referral",
                  "nameLocation": "737:8:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14933,
                  "src": "722:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 14930,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "617:132:47"
            },
            "src": "604:146:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14934,
              "nodeType": "StructuredDocumentation",
              "src": "754:288:47",
              "text": " @dev Emitted on withdraw()\n @param reserve The address of the underlyng asset being withdrawn\n @param user The address initiating the withdrawal, owner of aTokens\n @param to Address that will receive the underlying\n @param amount The amount to be withdrawn*"
            },
            "id": 14944,
            "name": "Withdraw",
            "nameLocation": "1051:8:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14943,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14936,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "1076:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14944,
                  "src": "1060:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14935,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1060:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14938,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "1101:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14944,
                  "src": "1085:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14937,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1085:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14940,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "to",
                  "nameLocation": "1123:2:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14944,
                  "src": "1107:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14939,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1107:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14942,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "1135:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14944,
                  "src": "1127:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14941,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1127:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1059:83:47"
            },
            "src": "1045:98:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14945,
              "nodeType": "StructuredDocumentation",
              "src": "1147:605:47",
              "text": " @dev Emitted on borrow() and flashLoan() when debt needs to be opened\n @param reserve The address of the underlying asset being borrowed\n @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just\n initiator of the transaction on flashLoan()\n @param onBehalfOf The address that will be getting the debt\n @param amount The amount borrowed out\n @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable\n @param borrowRate The numeric rate at which the user has borrowed\n @param referral The referral code used*"
            },
            "id": 14961,
            "name": "Borrow",
            "nameLocation": "1761:6:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14960,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14947,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "1789:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1773:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14946,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1773:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14949,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "1810:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1802:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14948,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1802:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14951,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "1836:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1820:26:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14950,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1820:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14953,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "1860:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1852:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14952,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1852:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14955,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "borrowRateMode",
                  "nameLocation": "1880:14:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1872:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14954,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1872:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14957,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "borrowRate",
                  "nameLocation": "1908:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1900:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14956,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1900:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14959,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "referral",
                  "nameLocation": "1939:8:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14961,
                  "src": "1924:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 14958,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1924:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1767:184:47"
            },
            "src": "1755:197:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14962,
              "nodeType": "StructuredDocumentation",
              "src": "1956:311:47",
              "text": " @dev Emitted on repay()\n @param reserve The address of the underlying asset of the reserve\n @param user The beneficiary of the repayment, getting his debt reduced\n @param repayer The address of the user initiating the repay(), providing the funds\n @param amount The amount repaid*"
            },
            "id": 14972,
            "name": "Repay",
            "nameLocation": "2276:5:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14971,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14964,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "2303:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14972,
                  "src": "2287:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14963,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2287:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14966,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "2332:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14972,
                  "src": "2316:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14965,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2316:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14968,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "repayer",
                  "nameLocation": "2358:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14972,
                  "src": "2342:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14967,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2342:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14970,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "2379:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14972,
                  "src": "2371:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14969,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2371:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2281:108:47"
            },
            "src": "2270:120:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14973,
              "nodeType": "StructuredDocumentation",
              "src": "2394:253:47",
              "text": " @dev Emitted on swapBorrowRateMode()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user swapping his rate mode\n @param rateMode The rate mode that the user wants to swap to*"
            },
            "id": 14981,
            "name": "Swap",
            "nameLocation": "2656:4:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14980,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14975,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "2677:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14981,
                  "src": "2661:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14974,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2661:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14977,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "2702:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14981,
                  "src": "2686:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14976,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2686:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14979,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "rateMode",
                  "nameLocation": "2716:8:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14981,
                  "src": "2708:16:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 14978,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2708:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2660:65:47"
            },
            "src": "2650:76:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14982,
              "nodeType": "StructuredDocumentation",
              "src": "2730:208:47",
              "text": " @dev Emitted on setUserUseReserveAsCollateral()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user enabling the usage as collateral*"
            },
            "id": 14988,
            "name": "ReserveUsedAsCollateralEnabled",
            "nameLocation": "2947:30:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14987,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14984,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "2994:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14988,
                  "src": "2978:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14983,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2978:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14986,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "3019:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14988,
                  "src": "3003:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14985,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3003:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2977:47:47"
            },
            "src": "2941:84:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14989,
              "nodeType": "StructuredDocumentation",
              "src": "3029:208:47",
              "text": " @dev Emitted on setUserUseReserveAsCollateral()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user enabling the usage as collateral*"
            },
            "id": 14995,
            "name": "ReserveUsedAsCollateralDisabled",
            "nameLocation": "3246:31:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 14994,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14991,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "3294:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14995,
                  "src": "3278:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14990,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3278:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 14993,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "3319:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 14995,
                  "src": "3303:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14992,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3303:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3277:47:47"
            },
            "src": "3240:85:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 14996,
              "nodeType": "StructuredDocumentation",
              "src": "3329:213:47",
              "text": " @dev Emitted on rebalanceStableBorrowRate()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user for which the rebalance has been executed*"
            },
            "id": 15002,
            "name": "RebalanceStableBorrowRate",
            "nameLocation": "3551:25:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15001,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 14998,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "3593:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15002,
                  "src": "3577:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14997,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3577:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15000,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "3618:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15002,
                  "src": "3602:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 14999,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3602:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3576:47:47"
            },
            "src": "3545:79:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 15003,
              "nodeType": "StructuredDocumentation",
              "src": "3628:370:47",
              "text": " @dev Emitted on flashLoan()\n @param target The address of the flash loan receiver contract\n @param initiator The address initiating the flash loan\n @param asset The address of the asset being flash borrowed\n @param amount The amount flash borrowed\n @param premium The fee flash borrowed\n @param referralCode The referral code used*"
            },
            "id": 15017,
            "name": "FlashLoan",
            "nameLocation": "4007:9:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15016,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15005,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "target",
                  "nameLocation": "4038:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4022:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15004,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4022:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15007,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "initiator",
                  "nameLocation": "4066:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4050:25:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15006,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4050:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15009,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "4097:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4081:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15008,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4081:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15011,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "4116:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4108:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15010,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4108:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15013,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "premium",
                  "nameLocation": "4136:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4128:15:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15012,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4128:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15015,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "referralCode",
                  "nameLocation": "4156:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15017,
                  "src": "4149:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 15014,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "4149:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4016:156:47"
            },
            "src": "4001:172:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 15018,
              "nodeType": "StructuredDocumentation",
              "src": "4177:56:47",
              "text": " @dev Emitted when the pause is triggered."
            },
            "id": 15020,
            "name": "Paused",
            "nameLocation": "4242:6:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15019,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4248:2:47"
            },
            "src": "4236:15:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 15021,
              "nodeType": "StructuredDocumentation",
              "src": "4255:53:47",
              "text": " @dev Emitted when the pause is lifted."
            },
            "id": 15023,
            "name": "Unpaused",
            "nameLocation": "4317:8:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15022,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4325:2:47"
            },
            "src": "4311:17:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 15024,
              "nodeType": "StructuredDocumentation",
              "src": "4332:928:47",
              "text": " @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via\n LendingPoolCollateral manager using a DELEGATECALL\n This allows to have the events in the generated ABI for LendingPool.\n @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n @param user The address of the borrower getting liquidated\n @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n @param liquidatedCollateralAmount The amount of collateral received by the liiquidator\n @param liquidator The address of the liquidator\n @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n to receive the underlying collateral asset directly*"
            },
            "id": 15040,
            "name": "LiquidationCall",
            "nameLocation": "5269:15:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15039,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15026,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "collateralAsset",
                  "nameLocation": "5306:15:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5290:31:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15025,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5290:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15028,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "debtAsset",
                  "nameLocation": "5343:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5327:25:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15027,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5327:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15030,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "5374:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5358:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15029,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5358:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15032,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "debtToCover",
                  "nameLocation": "5392:11:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5384:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15031,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5384:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15034,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "liquidatedCollateralAmount",
                  "nameLocation": "5417:26:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5409:34:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15033,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5409:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15036,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "liquidator",
                  "nameLocation": "5457:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5449:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15035,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5449:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15038,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "receiveAToken",
                  "nameLocation": "5478:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15040,
                  "src": "5473:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15037,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "5473:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5284:211:47"
            },
            "src": "5263:233:47"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 15041,
              "nodeType": "StructuredDocumentation",
              "src": "5500:722:47",
              "text": " @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared\n in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal,\n the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it\n gets added to the LendingPool ABI\n @param reserve The address of the underlying asset of the reserve\n @param liquidityRate The new liquidity rate\n @param stableBorrowRate The new stable borrow rate\n @param variableBorrowRate The new variable borrow rate\n @param liquidityIndex The new liquidity index\n @param variableBorrowIndex The new variable borrow index*"
            },
            "id": 15055,
            "name": "ReserveDataUpdated",
            "nameLocation": "6231:18:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15054,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15043,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "6271:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6255:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15042,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6255:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15045,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "liquidityRate",
                  "nameLocation": "6292:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6284:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15044,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6284:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15047,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "stableBorrowRate",
                  "nameLocation": "6319:16:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6311:24:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15046,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6311:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15049,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "variableBorrowRate",
                  "nameLocation": "6349:18:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6341:26:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15048,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6341:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15051,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "liquidityIndex",
                  "nameLocation": "6381:14:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6373:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15050,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6373:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15053,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "variableBorrowIndex",
                  "nameLocation": "6409:19:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15055,
                  "src": "6401:27:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15052,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6401:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6249:183:47"
            },
            "src": "6225:208:47"
          },
          {
            "documentation": {
              "id": 15056,
              "nodeType": "StructuredDocumentation",
              "src": "6437:712:47",
              "text": " @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.\n - E.g. User deposits 100 USDC and gets in return 100 aUSDC\n @param asset The address of the underlying asset to deposit\n @param amount The amount to be deposited\n @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user\n   wants to receive them on his own wallet, or a different address if the beneficiary of aTokens\n   is a different wallet\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   0 if the action is executed directly by the user, without any middle-man*"
            },
            "functionSelector": "e8eda9df",
            "id": 15067,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "deposit",
            "nameLocation": "7161:7:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15065,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15058,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "7182:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15067,
                  "src": "7174:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15057,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "7174:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15060,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "7201:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15067,
                  "src": "7193:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15059,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7193:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15062,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "7221:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15067,
                  "src": "7213:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15061,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "7213:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15064,
                  "mutability": "mutable",
                  "name": "referralCode",
                  "nameLocation": "7244:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15067,
                  "src": "7237:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 15063,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "7237:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7168:92:47"
            },
            "returnParameters": {
              "id": 15066,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "7269:0:47"
            },
            "scope": 15292,
            "src": "7152:118:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15068,
              "nodeType": "StructuredDocumentation",
              "src": "7274:665:47",
              "text": " @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned\n E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC\n @param asset The address of the underlying asset to withdraw\n @param amount The underlying amount to be withdrawn\n   - Send the value type(uint256).max in order to withdraw the whole aToken balance\n @param to Address that will receive the underlying, same as msg.sender if the user\n   wants to receive it on his own wallet, or a different address if the beneficiary is a\n   different wallet\n @return The final amount withdrawn*"
            },
            "functionSelector": "69328dec",
            "id": 15079,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "withdraw",
            "nameLocation": "7951:8:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15075,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15070,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "7973:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15079,
                  "src": "7965:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15069,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "7965:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15072,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "7992:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15079,
                  "src": "7984:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15071,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7984:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15074,
                  "mutability": "mutable",
                  "name": "to",
                  "nameLocation": "8012:2:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15079,
                  "src": "8004:10:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15073,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "8004:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7959:59:47"
            },
            "returnParameters": {
              "id": 15078,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15077,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15079,
                  "src": "8037:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15076,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8037:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8036:9:47"
            },
            "scope": 15292,
            "src": "7942:104:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15080,
              "nodeType": "StructuredDocumentation",
              "src": "8050:1189:47",
              "text": " @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower\n already deposited enough collateral, or he was given enough allowance by a credit delegator on the\n corresponding debt token (StableDebtToken or VariableDebtToken)\n - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet\n   and 100 stable/variable debt tokens, depending on the `interestRateMode`\n @param asset The address of the underlying asset to borrow\n @param amount The amount to be borrowed\n @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   0 if the action is executed directly by the user, without any middle-man\n @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself\n calling the function if he wants to borrow against his own collateral, or the address of the credit delegator\n if he has been given credit delegation allowance*"
            },
            "functionSelector": "a415bcad",
            "id": 15093,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "borrow",
            "nameLocation": "9251:6:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15091,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15082,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "9271:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15093,
                  "src": "9263:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15081,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "9263:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15084,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "9290:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15093,
                  "src": "9282:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15083,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9282:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15086,
                  "mutability": "mutable",
                  "name": "interestRateMode",
                  "nameLocation": "9310:16:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15093,
                  "src": "9302:24:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15085,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9302:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15088,
                  "mutability": "mutable",
                  "name": "referralCode",
                  "nameLocation": "9339:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15093,
                  "src": "9332:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 15087,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "9332:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15090,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "9365:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15093,
                  "src": "9357:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15089,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "9357:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9257:122:47"
            },
            "returnParameters": {
              "id": 15092,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "9388:0:47"
            },
            "scope": 15292,
            "src": "9242:147:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15094,
              "nodeType": "StructuredDocumentation",
              "src": "9393:862:47",
              "text": " @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned\n - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address\n @param asset The address of the borrowed underlying asset previously borrowed\n @param amount The amount to repay\n - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`\n @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable\n @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the\n user calling the function if he wants to reduce/remove his own debt, or the address of any other\n other borrower whose debt should be removed\n @return The final amount repaid*"
            },
            "functionSelector": "573ade81",
            "id": 15107,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "repay",
            "nameLocation": "10267:5:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15103,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15096,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "10286:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15107,
                  "src": "10278:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15095,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10278:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15098,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "10305:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15107,
                  "src": "10297:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15097,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10297:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15100,
                  "mutability": "mutable",
                  "name": "rateMode",
                  "nameLocation": "10325:8:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15107,
                  "src": "10317:16:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15099,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10317:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15102,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "10347:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15107,
                  "src": "10339:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15101,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10339:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10272:89:47"
            },
            "returnParameters": {
              "id": 15106,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15105,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15107,
                  "src": "10380:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15104,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10380:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10379:9:47"
            },
            "scope": 15292,
            "src": "10258:131:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15108,
              "nodeType": "StructuredDocumentation",
              "src": "10393:231:47",
              "text": " @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa\n @param asset The address of the underlying asset borrowed\n @param rateMode The rate mode that the user wants to swap to*"
            },
            "functionSelector": "94ba89a2",
            "id": 15115,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "swapBorrowRateMode",
            "nameLocation": "10636:18:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15113,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15110,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "10663:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15115,
                  "src": "10655:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15109,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10655:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15112,
                  "mutability": "mutable",
                  "name": "rateMode",
                  "nameLocation": "10678:8:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15115,
                  "src": "10670:16:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15111,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10670:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10654:33:47"
            },
            "returnParameters": {
              "id": 15114,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "10696:0:47"
            },
            "scope": 15292,
            "src": "10627:70:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15116,
              "nodeType": "StructuredDocumentation",
              "src": "10701:553:47",
              "text": " @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.\n - Users can be rebalanced if the following conditions are satisfied:\n     1. Usage ratio is above 95%\n     2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been\n        borrowed at a stable rate and depositors are not earning enough\n @param asset The address of the underlying asset borrowed\n @param user The address of the user to be rebalanced*"
            },
            "functionSelector": "cd112382",
            "id": 15123,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "rebalanceStableBorrowRate",
            "nameLocation": "11266:25:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15121,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15118,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "11300:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15123,
                  "src": "11292:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15117,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "11292:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15120,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "11315:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15123,
                  "src": "11307:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15119,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "11307:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11291:29:47"
            },
            "returnParameters": {
              "id": 15122,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "11329:0:47"
            },
            "scope": 15292,
            "src": "11257:73:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15124,
              "nodeType": "StructuredDocumentation",
              "src": "11334:266:47",
              "text": " @dev Allows depositors to enable/disable a specific deposited asset as collateral\n @param asset The address of the underlying asset deposited\n @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise*"
            },
            "functionSelector": "5a3b74b9",
            "id": 15131,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setUserUseReserveAsCollateral",
            "nameLocation": "11612:29:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15129,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15126,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "11650:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15131,
                  "src": "11642:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15125,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "11642:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15128,
                  "mutability": "mutable",
                  "name": "useAsCollateral",
                  "nameLocation": "11662:15:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15131,
                  "src": "11657:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15127,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "11657:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11641:37:47"
            },
            "returnParameters": {
              "id": 15130,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "11687:0:47"
            },
            "scope": 15292,
            "src": "11603:85:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15132,
              "nodeType": "StructuredDocumentation",
              "src": "11692:860:47",
              "text": " @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1\n - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives\n   a proportionally amount of the `collateralAsset` plus a bonus to cover market risk\n @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n @param user The address of the borrower getting liquidated\n @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n to receive the underlying collateral asset directly*"
            },
            "functionSelector": "00a718a9",
            "id": 15145,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "liquidationCall",
            "nameLocation": "12564:15:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15143,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15134,
                  "mutability": "mutable",
                  "name": "collateralAsset",
                  "nameLocation": "12593:15:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15145,
                  "src": "12585:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15133,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12585:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15136,
                  "mutability": "mutable",
                  "name": "debtAsset",
                  "nameLocation": "12622:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15145,
                  "src": "12614:17:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15135,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12614:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15138,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "12645:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15145,
                  "src": "12637:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15137,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12637:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15140,
                  "mutability": "mutable",
                  "name": "debtToCover",
                  "nameLocation": "12663:11:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15145,
                  "src": "12655:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15139,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12655:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15142,
                  "mutability": "mutable",
                  "name": "receiveAToken",
                  "nameLocation": "12685:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15145,
                  "src": "12680:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15141,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "12680:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12579:123:47"
            },
            "returnParameters": {
              "id": 15144,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "12711:0:47"
            },
            "scope": 15292,
            "src": "12555:157:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15146,
              "nodeType": "StructuredDocumentation",
              "src": "12716:1376:47",
              "text": " @dev Allows smartcontracts to access the liquidity of the pool within one transaction,\n as long as the amount taken plus a fee is returned.\n IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration.\n For further details please visit https://developers.aave.com\n @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface\n @param assets The addresses of the assets being flash-borrowed\n @param amounts The amounts amounts being flash-borrowed\n @param modes Types of the debt to open if the flash loan is not returned:\n   0 -> Don't open any debt, just revert if funds can't be transferred from the receiver\n   1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n   2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n @param onBehalfOf The address  that will receive the debt in the case of using on `modes` 1 or 2\n @param params Variadic packed params to pass to the receiver as extra information\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   0 if the action is executed directly by the user, without any middle-man*"
            },
            "functionSelector": "ab9c4b5d",
            "id": 15166,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "flashLoan",
            "nameLocation": "14104:9:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15164,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15148,
                  "mutability": "mutable",
                  "name": "receiverAddress",
                  "nameLocation": "14127:15:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14119:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15147,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14119:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15151,
                  "mutability": "mutable",
                  "name": "assets",
                  "nameLocation": "14167:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14148:25:47",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
                    "typeString": "address[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15149,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "14148:7:47",
                      "stateMutability": "nonpayable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "id": 15150,
                    "nodeType": "ArrayTypeName",
                    "src": "14148:9:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
                      "typeString": "address[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15154,
                  "mutability": "mutable",
                  "name": "amounts",
                  "nameLocation": "14198:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14179:26:47",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15152,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "14179:7:47",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 15153,
                    "nodeType": "ArrayTypeName",
                    "src": "14179:9:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15157,
                  "mutability": "mutable",
                  "name": "modes",
                  "nameLocation": "14230:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14211:24:47",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15155,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "14211:7:47",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 15156,
                    "nodeType": "ArrayTypeName",
                    "src": "14211:9:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15159,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "14249:10:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14241:18:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15158,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14241:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15161,
                  "mutability": "mutable",
                  "name": "params",
                  "nameLocation": "14280:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14265:21:47",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 15160,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "14265:5:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15163,
                  "mutability": "mutable",
                  "name": "referralCode",
                  "nameLocation": "14299:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15166,
                  "src": "14292:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 15162,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "14292:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14113:202:47"
            },
            "returnParameters": {
              "id": 15165,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "14324:0:47"
            },
            "scope": 15292,
            "src": "14095:230:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15167,
              "nodeType": "StructuredDocumentation",
              "src": "14329:507:47",
              "text": " @dev Returns the user account data across all the reserves\n @param user The address of the user\n @return totalCollateralETH the total collateral in ETH of the user\n @return totalDebtETH the total debt in ETH of the user\n @return availableBorrowsETH the borrowing power left of the user\n @return currentLiquidationThreshold the liquidation threshold of the user\n @return ltv the loan to value of the user\n @return healthFactor the current health factor of the user*"
            },
            "functionSelector": "bf92857c",
            "id": 15184,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getUserAccountData",
            "nameLocation": "14848:18:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15170,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15169,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "14875:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "14867:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15168,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14867:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14866:14:47"
            },
            "returnParameters": {
              "id": 15183,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15172,
                  "mutability": "mutable",
                  "name": "totalCollateralETH",
                  "nameLocation": "14931:18:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "14923:26:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15171,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14923:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15174,
                  "mutability": "mutable",
                  "name": "totalDebtETH",
                  "nameLocation": "14965:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "14957:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15173,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14957:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15176,
                  "mutability": "mutable",
                  "name": "availableBorrowsETH",
                  "nameLocation": "14993:19:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "14985:27:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15175,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14985:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15178,
                  "mutability": "mutable",
                  "name": "currentLiquidationThreshold",
                  "nameLocation": "15028:27:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "15020:35:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15177,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15020:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15180,
                  "mutability": "mutable",
                  "name": "ltv",
                  "nameLocation": "15071:3:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "15063:11:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15179,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15063:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15182,
                  "mutability": "mutable",
                  "name": "healthFactor",
                  "nameLocation": "15090:12:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15184,
                  "src": "15082:20:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15181,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15082:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14915:193:47"
            },
            "scope": 15292,
            "src": "14839:270:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "7a708e92",
            "id": 15197,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "initReserve",
            "nameLocation": "15122:11:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15195,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15186,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "15147:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15197,
                  "src": "15139:15:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15185,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15139:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15188,
                  "mutability": "mutable",
                  "name": "aTokenAddress",
                  "nameLocation": "15168:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15197,
                  "src": "15160:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15187,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15160:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15190,
                  "mutability": "mutable",
                  "name": "stableDebtAddress",
                  "nameLocation": "15195:17:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15197,
                  "src": "15187:25:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15189,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15187:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15192,
                  "mutability": "mutable",
                  "name": "variableDebtAddress",
                  "nameLocation": "15226:19:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15197,
                  "src": "15218:27:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15191,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15218:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15194,
                  "mutability": "mutable",
                  "name": "interestRateStrategyAddress",
                  "nameLocation": "15259:27:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15197,
                  "src": "15251:35:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15193,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15251:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15133:157:47"
            },
            "returnParameters": {
              "id": 15196,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "15299:0:47"
            },
            "scope": 15292,
            "src": "15113:187:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "1d2118f9",
            "id": 15204,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setReserveInterestRateStrategyAddress",
            "nameLocation": "15313:37:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15202,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15199,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "15359:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15204,
                  "src": "15351:15:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15198,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15351:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15201,
                  "mutability": "mutable",
                  "name": "rateStrategyAddress",
                  "nameLocation": "15376:19:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15204,
                  "src": "15368:27:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15200,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15368:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15350:46:47"
            },
            "returnParameters": {
              "id": 15203,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "15409:0:47"
            },
            "scope": 15292,
            "src": "15304:106:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "b8d29276",
            "id": 15211,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setConfiguration",
            "nameLocation": "15423:16:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15209,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15206,
                  "mutability": "mutable",
                  "name": "reserve",
                  "nameLocation": "15448:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15211,
                  "src": "15440:15:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15205,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15440:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15208,
                  "mutability": "mutable",
                  "name": "configuration",
                  "nameLocation": "15465:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15211,
                  "src": "15457:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15207,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15457:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15439:40:47"
            },
            "returnParameters": {
              "id": 15210,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "15488:0:47"
            },
            "scope": 15292,
            "src": "15414:75:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15212,
              "nodeType": "StructuredDocumentation",
              "src": "15493:176:47",
              "text": " @dev Returns the configuration of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The configuration of the reserve*"
            },
            "functionSelector": "c44b11f7",
            "id": 15220,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getConfiguration",
            "nameLocation": "15681:16:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15215,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15214,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "15706:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15220,
                  "src": "15698:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15213,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15698:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15697:15:47"
            },
            "returnParameters": {
              "id": 15219,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15218,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15220,
                  "src": "15748:40:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ReserveConfigurationMap_$22831_memory_ptr",
                    "typeString": "struct DataTypes.ReserveConfigurationMap"
                  },
                  "typeName": {
                    "id": 15217,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 15216,
                      "name": "DataTypes.ReserveConfigurationMap",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22831,
                      "src": "15748:33:47"
                    },
                    "referencedDeclaration": 22831,
                    "src": "15748:33:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ReserveConfigurationMap_$22831_storage_ptr",
                      "typeString": "struct DataTypes.ReserveConfigurationMap"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15747:42:47"
            },
            "scope": 15292,
            "src": "15672:118:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15221,
              "nodeType": "StructuredDocumentation",
              "src": "15794:159:47",
              "text": " @dev Returns the configuration of the user across all the reserves\n @param user The user address\n @return The configuration of the user*"
            },
            "functionSelector": "4417a583",
            "id": 15229,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getUserConfiguration",
            "nameLocation": "15965:20:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15224,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15223,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "15994:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15229,
                  "src": "15986:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15222,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15986:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15985:14:47"
            },
            "returnParameters": {
              "id": 15228,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15227,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15229,
                  "src": "16035:37:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_UserConfigurationMap_$22834_memory_ptr",
                    "typeString": "struct DataTypes.UserConfigurationMap"
                  },
                  "typeName": {
                    "id": 15226,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 15225,
                      "name": "DataTypes.UserConfigurationMap",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22834,
                      "src": "16035:30:47"
                    },
                    "referencedDeclaration": 22834,
                    "src": "16035:30:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UserConfigurationMap_$22834_storage_ptr",
                      "typeString": "struct DataTypes.UserConfigurationMap"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16034:39:47"
            },
            "scope": 15292,
            "src": "15956:118:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15230,
              "nodeType": "StructuredDocumentation",
              "src": "16078:196:47",
              "text": " @dev Returns the normalized income normalized income of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The reserve's normalized income"
            },
            "functionSelector": "d15e0053",
            "id": 15237,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getReserveNormalizedIncome",
            "nameLocation": "16286:26:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15233,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15232,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "16321:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15237,
                  "src": "16313:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15231,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16313:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16312:15:47"
            },
            "returnParameters": {
              "id": 15236,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15235,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15237,
                  "src": "16351:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15234,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16351:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16350:9:47"
            },
            "scope": 15292,
            "src": "16277:83:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15238,
              "nodeType": "StructuredDocumentation",
              "src": "16364:193:47",
              "text": " @dev Returns the normalized variable debt per unit of asset\n @param asset The address of the underlying asset of the reserve\n @return The reserve normalized variable debt"
            },
            "functionSelector": "386497fd",
            "id": 15245,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getReserveNormalizedVariableDebt",
            "nameLocation": "16569:32:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15241,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15240,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "16610:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15245,
                  "src": "16602:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15239,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16602:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16601:15:47"
            },
            "returnParameters": {
              "id": 15244,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15243,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15245,
                  "src": "16640:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15242,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16640:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16639:9:47"
            },
            "scope": 15292,
            "src": "16560:89:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 15246,
              "nodeType": "StructuredDocumentation",
              "src": "16653:178:47",
              "text": " @dev Returns the state and configuration of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The state of the reserve*"
            },
            "functionSelector": "35ea6a75",
            "id": 15254,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getReserveData",
            "nameLocation": "16843:14:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15249,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15248,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "16866:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15254,
                  "src": "16858:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15247,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16858:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16857:15:47"
            },
            "returnParameters": {
              "id": 15253,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15252,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15254,
                  "src": "16896:28:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ReserveData_$22828_memory_ptr",
                    "typeString": "struct DataTypes.ReserveData"
                  },
                  "typeName": {
                    "id": 15251,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 15250,
                      "name": "DataTypes.ReserveData",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22828,
                      "src": "16896:21:47"
                    },
                    "referencedDeclaration": 22828,
                    "src": "16896:21:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ReserveData_$22828_storage_ptr",
                      "typeString": "struct DataTypes.ReserveData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16895:30:47"
            },
            "scope": 15292,
            "src": "16834:92:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "d5ed3933",
            "id": 15269,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "finalizeTransfer",
            "nameLocation": "16939:16:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15267,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15256,
                  "mutability": "mutable",
                  "name": "asset",
                  "nameLocation": "16969:5:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "16961:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15255,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16961:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15258,
                  "mutability": "mutable",
                  "name": "from",
                  "nameLocation": "16988:4:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "16980:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15257,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16980:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15260,
                  "mutability": "mutable",
                  "name": "to",
                  "nameLocation": "17006:2:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "16998:10:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15259,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16998:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15262,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "17022:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "17014:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15261,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17014:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15264,
                  "mutability": "mutable",
                  "name": "balanceFromAfter",
                  "nameLocation": "17042:16:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "17034:24:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15263,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17034:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15266,
                  "mutability": "mutable",
                  "name": "balanceToBefore",
                  "nameLocation": "17072:15:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15269,
                  "src": "17064:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15265,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17064:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16955:136:47"
            },
            "returnParameters": {
              "id": 15268,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17100:0:47"
            },
            "scope": 15292,
            "src": "16930:171:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "d1946dbc",
            "id": 15275,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getReservesList",
            "nameLocation": "17114:15:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15270,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17129:2:47"
            },
            "returnParameters": {
              "id": 15274,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15273,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15275,
                  "src": "17155:16:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                    "typeString": "address[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 15271,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "17155:7:47",
                      "stateMutability": "nonpayable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "id": 15272,
                    "nodeType": "ArrayTypeName",
                    "src": "17155:9:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
                      "typeString": "address[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17154:18:47"
            },
            "scope": 15292,
            "src": "17105:68:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "fe65acfe",
            "id": 15281,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getAddressesProvider",
            "nameLocation": "17186:20:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15276,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17206:2:47"
            },
            "returnParameters": {
              "id": 15280,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15279,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15281,
                  "src": "17232:29:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$15443",
                    "typeString": "contract ILendingPoolAddressesProvider"
                  },
                  "typeName": {
                    "id": 15278,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 15277,
                      "name": "ILendingPoolAddressesProvider",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 15443,
                      "src": "17232:29:47"
                    },
                    "referencedDeclaration": 15443,
                    "src": "17232:29:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$15443",
                      "typeString": "contract ILendingPoolAddressesProvider"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17231:31:47"
            },
            "scope": 15292,
            "src": "17177:86:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "bedb86fb",
            "id": 15286,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setPause",
            "nameLocation": "17276:8:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15284,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15283,
                  "mutability": "mutable",
                  "name": "val",
                  "nameLocation": "17290:3:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 15286,
                  "src": "17285:8:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15282,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "17285:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17284:10:47"
            },
            "returnParameters": {
              "id": 15285,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17303:0:47"
            },
            "scope": 15292,
            "src": "17267:37:47",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "5c975abb",
            "id": 15291,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "paused",
            "nameLocation": "17317:6:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15287,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17323:2:47"
            },
            "returnParameters": {
              "id": 15290,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15289,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15291,
                  "src": "17349:4:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15288,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "17349:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17348:6:47"
            },
            "scope": 15292,
            "src": "17308:47:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 15293,
        "src": "249:17108:47",
        "usedErrors": []
      }
    ],
    "src": "37:17321:47"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.6+commit.11564f7e"
  },
  "contractName": "ILendingPool",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [
    "ILendingPoolAddressesProvider"
  ],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "events": {
      "Borrow(address,address,address,uint256,uint256,uint256,uint16)": {
        "details": "Emitted on borrow() and flashLoan() when debt needs to be opened",
        "params": {
          "amount": "The amount borrowed out",
          "borrowRate": "The numeric rate at which the user has borrowed",
          "borrowRateMode": "The rate mode: 1 for Stable, 2 for Variable",
          "onBehalfOf": "The address that will be getting the debt",
          "referral": "The referral code used*",
          "reserve": "The address of the underlying asset being borrowed",
          "user": "The address of the user initiating the borrow(), receiving the funds on borrow() or just initiator of the transaction on flashLoan()"
        }
      },
      "Deposit(address,address,address,uint256,uint16)": {
        "details": "Emitted on deposit()",
        "params": {
          "amount": "The amount deposited",
          "onBehalfOf": "The beneficiary of the deposit, receiving the aTokens",
          "referral": "The referral code used*",
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The address initiating the deposit"
        }
      },
      "FlashLoan(address,address,address,uint256,uint256,uint16)": {
        "details": "Emitted on flashLoan()",
        "params": {
          "amount": "The amount flash borrowed",
          "asset": "The address of the asset being flash borrowed",
          "initiator": "The address initiating the flash loan",
          "premium": "The fee flash borrowed",
          "referralCode": "The referral code used*",
          "target": "The address of the flash loan receiver contract"
        }
      },
      "LiquidationCall(address,address,address,uint256,uint256,address,bool)": {
        "details": "Emitted when a borrower is liquidated. This event is emitted by the LendingPool via LendingPoolCollateral manager using a DELEGATECALL This allows to have the events in the generated ABI for LendingPool.",
        "params": {
          "collateralAsset": "The address of the underlying asset used as collateral, to receive as result of the liquidation",
          "debtAsset": "The address of the underlying borrowed asset to be repaid with the liquidation",
          "debtToCover": "The debt amount of borrowed `asset` the liquidator wants to cover",
          "liquidatedCollateralAmount": "The amount of collateral received by the liiquidator",
          "liquidator": "The address of the liquidator",
          "receiveAToken": "`true` if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly*",
          "user": "The address of the borrower getting liquidated"
        }
      },
      "Paused()": {
        "details": "Emitted when the pause is triggered."
      },
      "RebalanceStableBorrowRate(address,address)": {
        "details": "Emitted on rebalanceStableBorrowRate()",
        "params": {
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The address of the user for which the rebalance has been executed*"
        }
      },
      "Repay(address,address,address,uint256)": {
        "details": "Emitted on repay()",
        "params": {
          "amount": "The amount repaid*",
          "repayer": "The address of the user initiating the repay(), providing the funds",
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The beneficiary of the repayment, getting his debt reduced"
        }
      },
      "ReserveDataUpdated(address,uint256,uint256,uint256,uint256,uint256)": {
        "details": "Emitted when the state of a reserve is updated. NOTE: This event is actually declared in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal, the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it gets added to the LendingPool ABI",
        "params": {
          "liquidityIndex": "The new liquidity index",
          "liquidityRate": "The new liquidity rate",
          "reserve": "The address of the underlying asset of the reserve",
          "stableBorrowRate": "The new stable borrow rate",
          "variableBorrowIndex": "The new variable borrow index*",
          "variableBorrowRate": "The new variable borrow rate"
        }
      },
      "ReserveUsedAsCollateralDisabled(address,address)": {
        "details": "Emitted on setUserUseReserveAsCollateral()",
        "params": {
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The address of the user enabling the usage as collateral*"
        }
      },
      "ReserveUsedAsCollateralEnabled(address,address)": {
        "details": "Emitted on setUserUseReserveAsCollateral()",
        "params": {
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The address of the user enabling the usage as collateral*"
        }
      },
      "Swap(address,address,uint256)": {
        "details": "Emitted on swapBorrowRateMode()",
        "params": {
          "rateMode": "The rate mode that the user wants to swap to*",
          "reserve": "The address of the underlying asset of the reserve",
          "user": "The address of the user swapping his rate mode"
        }
      },
      "Unpaused()": {
        "details": "Emitted when the pause is lifted."
      },
      "Withdraw(address,address,address,uint256)": {
        "details": "Emitted on withdraw()",
        "params": {
          "amount": "The amount to be withdrawn*",
          "reserve": "The address of the underlyng asset being withdrawn",
          "to": "Address that will receive the underlying",
          "user": "The address initiating the withdrawal, owner of aTokens"
        }
      }
    },
    "kind": "dev",
    "methods": {
      "borrow(address,uint256,uint256,uint16,address)": {
        "details": "Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower already deposited enough collateral, or he was given enough allowance by a credit delegator on the corresponding debt token (StableDebtToken or VariableDebtToken) - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet   and 100 stable/variable debt tokens, depending on the `interestRateMode`",
        "params": {
          "amount": "The amount to be borrowed",
          "asset": "The address of the underlying asset to borrow",
          "interestRateMode": "The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable",
          "onBehalfOf": "Address of the user who will receive the debt. Should be the address of the borrower itself calling the function if he wants to borrow against his own collateral, or the address of the credit delegator if he has been given credit delegation allowance*",
          "referralCode": "Code used to register the integrator originating the operation, for potential rewards.   0 if the action is executed directly by the user, without any middle-man"
        }
      },
      "deposit(address,uint256,address,uint16)": {
        "details": "Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens. - E.g. User deposits 100 USDC and gets in return 100 aUSDC",
        "params": {
          "amount": "The amount to be deposited",
          "asset": "The address of the underlying asset to deposit",
          "onBehalfOf": "The address that will receive the aTokens, same as msg.sender if the user   wants to receive them on his own wallet, or a different address if the beneficiary of aTokens   is a different wallet",
          "referralCode": "Code used to register the integrator originating the operation, for potential rewards.   0 if the action is executed directly by the user, without any middle-man*"
        }
      },
      "flashLoan(address,address[],uint256[],uint256[],address,bytes,uint16)": {
        "details": "Allows smartcontracts to access the liquidity of the pool within one transaction, as long as the amount taken plus a fee is returned. IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration. For further details please visit https://developers.aave.com",
        "params": {
          "amounts": "The amounts amounts being flash-borrowed",
          "assets": "The addresses of the assets being flash-borrowed",
          "modes": "Types of the debt to open if the flash loan is not returned:   0 -> Don't open any debt, just revert if funds can't be transferred from the receiver   1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address   2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address",
          "onBehalfOf": "The address  that will receive the debt in the case of using on `modes` 1 or 2",
          "params": "Variadic packed params to pass to the receiver as extra information",
          "receiverAddress": "The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface",
          "referralCode": "Code used to register the integrator originating the operation, for potential rewards.   0 if the action is executed directly by the user, without any middle-man*"
        }
      },
      "getConfiguration(address)": {
        "details": "Returns the configuration of the reserve",
        "params": {
          "asset": "The address of the underlying asset of the reserve"
        },
        "returns": {
          "_0": "The configuration of the reserve*"
        }
      },
      "getReserveData(address)": {
        "details": "Returns the state and configuration of the reserve",
        "params": {
          "asset": "The address of the underlying asset of the reserve"
        },
        "returns": {
          "_0": "The state of the reserve*"
        }
      },
      "getReserveNormalizedIncome(address)": {
        "details": "Returns the normalized income normalized income of the reserve",
        "params": {
          "asset": "The address of the underlying asset of the reserve"
        },
        "returns": {
          "_0": "The reserve's normalized income"
        }
      },
      "getReserveNormalizedVariableDebt(address)": {
        "details": "Returns the normalized variable debt per unit of asset",
        "params": {
          "asset": "The address of the underlying asset of the reserve"
        },
        "returns": {
          "_0": "The reserve normalized variable debt"
        }
      },
      "getUserAccountData(address)": {
        "details": "Returns the user account data across all the reserves",
        "params": {
          "user": "The address of the user"
        },
        "returns": {
          "availableBorrowsETH": "the borrowing power left of the user",
          "currentLiquidationThreshold": "the liquidation threshold of the user",
          "healthFactor": "the current health factor of the user*",
          "ltv": "the loan to value of the user",
          "totalCollateralETH": "the total collateral in ETH of the user",
          "totalDebtETH": "the total debt in ETH of the user"
        }
      },
      "getUserConfiguration(address)": {
        "details": "Returns the configuration of the user across all the reserves",
        "params": {
          "user": "The user address"
        },
        "returns": {
          "_0": "The configuration of the user*"
        }
      },
      "liquidationCall(address,address,address,uint256,bool)": {
        "details": "Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1 - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives   a proportionally amount of the `collateralAsset` plus a bonus to cover market risk",
        "params": {
          "collateralAsset": "The address of the underlying asset used as collateral, to receive as result of the liquidation",
          "debtAsset": "The address of the underlying borrowed asset to be repaid with the liquidation",
          "debtToCover": "The debt amount of borrowed `asset` the liquidator wants to cover",
          "receiveAToken": "`true` if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly*",
          "user": "The address of the borrower getting liquidated"
        }
      },
      "rebalanceStableBorrowRate(address,address)": {
        "details": "Rebalances the stable interest rate of a user to the current stable rate defined on the reserve. - Users can be rebalanced if the following conditions are satisfied:     1. Usage ratio is above 95%     2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been        borrowed at a stable rate and depositors are not earning enough",
        "params": {
          "asset": "The address of the underlying asset borrowed",
          "user": "The address of the user to be rebalanced*"
        }
      },
      "repay(address,uint256,uint256,address)": {
        "notice": "Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address",
        "params": {
          "amount": "The amount to repay - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`",
          "asset": "The address of the borrowed underlying asset previously borrowed",
          "onBehalfOf": "Address of the user who will get his debt reduced/removed. Should be the address of the user calling the function if he wants to reduce/remove his own debt, or the address of any other other borrower whose debt should be removed",
          "rateMode": "The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable"
        },
        "returns": {
          "_0": "The final amount repaid*"
        }
      },
      "setUserUseReserveAsCollateral(address,bool)": {
        "details": "Allows depositors to enable/disable a specific deposited asset as collateral",
        "params": {
          "asset": "The address of the underlying asset deposited",
          "useAsCollateral": "`true` if the user wants to use the deposit as collateral, `false` otherwise*"
        }
      },
      "swapBorrowRateMode(address,uint256)": {
        "details": "Allows a borrower to swap his debt between stable and variable mode, or viceversa",
        "params": {
          "asset": "The address of the underlying asset borrowed",
          "rateMode": "The rate mode that the user wants to swap to*"
        }
      },
      "withdraw(address,uint256,address)": {
        "details": "Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC",
        "params": {
          "amount": "The underlying amount to be withdrawn   - Send the value type(uint256).max in order to withdraw the whole aToken balance",
          "asset": "The address of the underlying asset to withdraw",
          "to": "Address that will receive the underlying, same as msg.sender if the user   wants to receive it on his own wallet, or a different address if the beneficiary is a   different wallet"
        },
        "returns": {
          "_0": "The final amount withdrawn*"
        }
      }
    },
    "version": 1
  },
  "offset": [
    249,
    17357
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "21b1696aaa31a3aa27204cdcab1ea00bcfa93054",
  "source": "// SPDX-License-Identifier: agpl-3.0\npragma solidity ^0.8.0;\npragma experimental ABIEncoderV2;\n\nimport {ILendingPoolAddressesProvider} from './ILendingPoolAddressesProvider.sol';\nimport {DataTypes} from '../protocol/libraries/types/DataTypes.sol';\n\ninterface ILendingPool {\n  /**\n   * @dev Emitted on deposit()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The address initiating the deposit\n   * @param onBehalfOf The beneficiary of the deposit, receiving the aTokens\n   * @param amount The amount deposited\n   * @param referral The referral code used\n   **/\n  event Deposit(\n    address indexed reserve,\n    address user,\n    address indexed onBehalfOf,\n    uint256 amount,\n    uint16 indexed referral\n  );\n\n  /**\n   * @dev Emitted on withdraw()\n   * @param reserve The address of the underlyng asset being withdrawn\n   * @param user The address initiating the withdrawal, owner of aTokens\n   * @param to Address that will receive the underlying\n   * @param amount The amount to be withdrawn\n   **/\n  event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount);\n\n  /**\n   * @dev Emitted on borrow() and flashLoan() when debt needs to be opened\n   * @param reserve The address of the underlying asset being borrowed\n   * @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just\n   * initiator of the transaction on flashLoan()\n   * @param onBehalfOf The address that will be getting the debt\n   * @param amount The amount borrowed out\n   * @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable\n   * @param borrowRate The numeric rate at which the user has borrowed\n   * @param referral The referral code used\n   **/\n  event Borrow(\n    address indexed reserve,\n    address user,\n    address indexed onBehalfOf,\n    uint256 amount,\n    uint256 borrowRateMode,\n    uint256 borrowRate,\n    uint16 indexed referral\n  );\n\n  /**\n   * @dev Emitted on repay()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The beneficiary of the repayment, getting his debt reduced\n   * @param repayer The address of the user initiating the repay(), providing the funds\n   * @param amount The amount repaid\n   **/\n  event Repay(\n    address indexed reserve,\n    address indexed user,\n    address indexed repayer,\n    uint256 amount\n  );\n\n  /**\n   * @dev Emitted on swapBorrowRateMode()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The address of the user swapping his rate mode\n   * @param rateMode The rate mode that the user wants to swap to\n   **/\n  event Swap(address indexed reserve, address indexed user, uint256 rateMode);\n\n  /**\n   * @dev Emitted on setUserUseReserveAsCollateral()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The address of the user enabling the usage as collateral\n   **/\n  event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user);\n\n  /**\n   * @dev Emitted on setUserUseReserveAsCollateral()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The address of the user enabling the usage as collateral\n   **/\n  event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user);\n\n  /**\n   * @dev Emitted on rebalanceStableBorrowRate()\n   * @param reserve The address of the underlying asset of the reserve\n   * @param user The address of the user for which the rebalance has been executed\n   **/\n  event RebalanceStableBorrowRate(address indexed reserve, address indexed user);\n\n  /**\n   * @dev Emitted on flashLoan()\n   * @param target The address of the flash loan receiver contract\n   * @param initiator The address initiating the flash loan\n   * @param asset The address of the asset being flash borrowed\n   * @param amount The amount flash borrowed\n   * @param premium The fee flash borrowed\n   * @param referralCode The referral code used\n   **/\n  event FlashLoan(\n    address indexed target,\n    address indexed initiator,\n    address indexed asset,\n    uint256 amount,\n    uint256 premium,\n    uint16 referralCode\n  );\n\n  /**\n   * @dev Emitted when the pause is triggered.\n   */\n  event Paused();\n\n  /**\n   * @dev Emitted when the pause is lifted.\n   */\n  event Unpaused();\n\n  /**\n   * @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via\n   * LendingPoolCollateral manager using a DELEGATECALL\n   * This allows to have the events in the generated ABI for LendingPool.\n   * @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n   * @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n   * @param user The address of the borrower getting liquidated\n   * @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n   * @param liquidatedCollateralAmount The amount of collateral received by the liiquidator\n   * @param liquidator The address of the liquidator\n   * @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n   * to receive the underlying collateral asset directly\n   **/\n  event LiquidationCall(\n    address indexed collateralAsset,\n    address indexed debtAsset,\n    address indexed user,\n    uint256 debtToCover,\n    uint256 liquidatedCollateralAmount,\n    address liquidator,\n    bool receiveAToken\n  );\n\n  /**\n   * @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared\n   * in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal,\n   * the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it\n   * gets added to the LendingPool ABI\n   * @param reserve The address of the underlying asset of the reserve\n   * @param liquidityRate The new liquidity rate\n   * @param stableBorrowRate The new stable borrow rate\n   * @param variableBorrowRate The new variable borrow rate\n   * @param liquidityIndex The new liquidity index\n   * @param variableBorrowIndex The new variable borrow index\n   **/\n  event ReserveDataUpdated(\n    address indexed reserve,\n    uint256 liquidityRate,\n    uint256 stableBorrowRate,\n    uint256 variableBorrowRate,\n    uint256 liquidityIndex,\n    uint256 variableBorrowIndex\n  );\n\n  /**\n   * @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.\n   * - E.g. User deposits 100 USDC and gets in return 100 aUSDC\n   * @param asset The address of the underlying asset to deposit\n   * @param amount The amount to be deposited\n   * @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user\n   *   wants to receive them on his own wallet, or a different address if the beneficiary of aTokens\n   *   is a different wallet\n   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   *   0 if the action is executed directly by the user, without any middle-man\n   **/\n  function deposit(\n    address asset,\n    uint256 amount,\n    address onBehalfOf,\n    uint16 referralCode\n  ) external;\n\n  /**\n   * @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned\n   * E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC\n   * @param asset The address of the underlying asset to withdraw\n   * @param amount The underlying amount to be withdrawn\n   *   - Send the value type(uint256).max in order to withdraw the whole aToken balance\n   * @param to Address that will receive the underlying, same as msg.sender if the user\n   *   wants to receive it on his own wallet, or a different address if the beneficiary is a\n   *   different wallet\n   * @return The final amount withdrawn\n   **/\n  function withdraw(\n    address asset,\n    uint256 amount,\n    address to\n  ) external returns (uint256);\n\n  /**\n   * @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower\n   * already deposited enough collateral, or he was given enough allowance by a credit delegator on the\n   * corresponding debt token (StableDebtToken or VariableDebtToken)\n   * - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet\n   *   and 100 stable/variable debt tokens, depending on the `interestRateMode`\n   * @param asset The address of the underlying asset to borrow\n   * @param amount The amount to be borrowed\n   * @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable\n   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   *   0 if the action is executed directly by the user, without any middle-man\n   * @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself\n   * calling the function if he wants to borrow against his own collateral, or the address of the credit delegator\n   * if he has been given credit delegation allowance\n   **/\n  function borrow(\n    address asset,\n    uint256 amount,\n    uint256 interestRateMode,\n    uint16 referralCode,\n    address onBehalfOf\n  ) external;\n\n  /**\n   * @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned\n   * - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address\n   * @param asset The address of the borrowed underlying asset previously borrowed\n   * @param amount The amount to repay\n   * - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`\n   * @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable\n   * @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the\n   * user calling the function if he wants to reduce/remove his own debt, or the address of any other\n   * other borrower whose debt should be removed\n   * @return The final amount repaid\n   **/\n  function repay(\n    address asset,\n    uint256 amount,\n    uint256 rateMode,\n    address onBehalfOf\n  ) external returns (uint256);\n\n  /**\n   * @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa\n   * @param asset The address of the underlying asset borrowed\n   * @param rateMode The rate mode that the user wants to swap to\n   **/\n  function swapBorrowRateMode(address asset, uint256 rateMode) external;\n\n  /**\n   * @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.\n   * - Users can be rebalanced if the following conditions are satisfied:\n   *     1. Usage ratio is above 95%\n   *     2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been\n   *        borrowed at a stable rate and depositors are not earning enough\n   * @param asset The address of the underlying asset borrowed\n   * @param user The address of the user to be rebalanced\n   **/\n  function rebalanceStableBorrowRate(address asset, address user) external;\n\n  /**\n   * @dev Allows depositors to enable/disable a specific deposited asset as collateral\n   * @param asset The address of the underlying asset deposited\n   * @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise\n   **/\n  function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external;\n\n  /**\n   * @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1\n   * - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives\n   *   a proportionally amount of the `collateralAsset` plus a bonus to cover market risk\n   * @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n   * @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n   * @param user The address of the borrower getting liquidated\n   * @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n   * @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n   * to receive the underlying collateral asset directly\n   **/\n  function liquidationCall(\n    address collateralAsset,\n    address debtAsset,\n    address user,\n    uint256 debtToCover,\n    bool receiveAToken\n  ) external;\n\n  /**\n   * @dev Allows smartcontracts to access the liquidity of the pool within one transaction,\n   * as long as the amount taken plus a fee is returned.\n   * IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration.\n   * For further details please visit https://developers.aave.com\n   * @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface\n   * @param assets The addresses of the assets being flash-borrowed\n   * @param amounts The amounts amounts being flash-borrowed\n   * @param modes Types of the debt to open if the flash loan is not returned:\n   *   0 -> Don't open any debt, just revert if funds can't be transferred from the receiver\n   *   1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n   *   2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n   * @param onBehalfOf The address  that will receive the debt in the case of using on `modes` 1 or 2\n   * @param params Variadic packed params to pass to the receiver as extra information\n   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n   *   0 if the action is executed directly by the user, without any middle-man\n   **/\n  function flashLoan(\n    address receiverAddress,\n    address[] calldata assets,\n    uint256[] calldata amounts,\n    uint256[] calldata modes,\n    address onBehalfOf,\n    bytes calldata params,\n    uint16 referralCode\n  ) external;\n\n  /**\n   * @dev Returns the user account data across all the reserves\n   * @param user The address of the user\n   * @return totalCollateralETH the total collateral in ETH of the user\n   * @return totalDebtETH the total debt in ETH of the user\n   * @return availableBorrowsETH the borrowing power left of the user\n   * @return currentLiquidationThreshold the liquidation threshold of the user\n   * @return ltv the loan to value of the user\n   * @return healthFactor the current health factor of the user\n   **/\n  function getUserAccountData(address user)\n    external\n    view\n    returns (\n      uint256 totalCollateralETH,\n      uint256 totalDebtETH,\n      uint256 availableBorrowsETH,\n      uint256 currentLiquidationThreshold,\n      uint256 ltv,\n      uint256 healthFactor\n    );\n\n  function initReserve(\n    address reserve,\n    address aTokenAddress,\n    address stableDebtAddress,\n    address variableDebtAddress,\n    address interestRateStrategyAddress\n  ) external;\n\n  function setReserveInterestRateStrategyAddress(address reserve, address rateStrategyAddress)\n    external;\n\n  function setConfiguration(address reserve, uint256 configuration) external;\n\n  /**\n   * @dev Returns the configuration of the reserve\n   * @param asset The address of the underlying asset of the reserve\n   * @return The configuration of the reserve\n   **/\n  function getConfiguration(address asset)\n    external\n    view\n    returns (DataTypes.ReserveConfigurationMap memory);\n\n  /**\n   * @dev Returns the configuration of the user across all the reserves\n   * @param user The user address\n   * @return The configuration of the user\n   **/\n  function getUserConfiguration(address user)\n    external\n    view\n    returns (DataTypes.UserConfigurationMap memory);\n\n  /**\n   * @dev Returns the normalized income normalized income of the reserve\n   * @param asset The address of the underlying asset of the reserve\n   * @return The reserve's normalized income\n   */\n  function getReserveNormalizedIncome(address asset) external view returns (uint256);\n\n  /**\n   * @dev Returns the normalized variable debt per unit of asset\n   * @param asset The address of the underlying asset of the reserve\n   * @return The reserve normalized variable debt\n   */\n  function getReserveNormalizedVariableDebt(address asset) external view returns (uint256);\n\n  /**\n   * @dev Returns the state and configuration of the reserve\n   * @param asset The address of the underlying asset of the reserve\n   * @return The state of the reserve\n   **/\n  function getReserveData(address asset) external view returns (DataTypes.ReserveData memory);\n\n  function finalizeTransfer(\n    address asset,\n    address from,\n    address to,\n    uint256 amount,\n    uint256 balanceFromAfter,\n    uint256 balanceToBefore\n  ) external;\n\n  function getReservesList() external view returns (address[] memory);\n\n  function getAddressesProvider() external view returns (ILendingPoolAddressesProvider);\n\n  function setPause(bool val) external;\n\n  function paused() external view returns (bool);\n}\n",
  "sourceMap": "",
  "sourcePath": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPool.sol",
  "type": "interface"
}