@andrekorol/kollateral-contracts
Version:
Kollateral protocol, the flash loan building block
525 lines • 18.1 kB
JSON
{
"contractName": "ILendingPoolAddressesProvider",
"abi": [
{
"inputs": [],
"name": "getLendingPool",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLendingPoolCore",
"outputs": [
{
"internalType": "address payable",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLendingPoolParametersProvider",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.7.3+commit.9bfce1f6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getLendingPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLendingPoolCore\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLendingPoolParametersProvider\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolAddressesProvider.sol\":\"ILendingPoolAddressesProvider\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolAddressesProvider.sol\":{\"keccak256\":\"0xbadf15d542d9a305bd83bbf2ea5598bb8a4b51cc23dd3fb6884939fdf501be6f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://69252ae62cca09c7d8341e637bf0c4fde7c6c8c3827456d8921ae0dbf95dfd8e\",\"dweb:/ipfs/QmU9JMmtZNbDveDCzgsTPsQkga4zhr8JAKbZchDvmcECkK\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "/*\n\n Copyright 2020 Kollateral LLC.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\n// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.7.0;\n\ninterface ILendingPoolAddressesProvider {\n function getLendingPool() external view returns (address);\n\n function getLendingPoolCore() external view returns (address payable);\n\n function getLendingPoolParametersProvider() external view returns (address);\n}\n",
"sourcePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolAddressesProvider.sol",
"ast": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolAddressesProvider.sol",
"exportedSymbols": {
"ILendingPoolAddressesProvider": [
2446
]
},
"id": 2447,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2430,
"literals": [
"solidity",
"^",
"0.7",
".0"
],
"nodeType": "PragmaDirective",
"src": "640:23:18"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 2446,
"linearizedBaseContracts": [
2446
],
"name": "ILendingPoolAddressesProvider",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "0261bf8b",
"id": 2435,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getLendingPool",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2431,
"nodeType": "ParameterList",
"parameters": [],
"src": "734:2:18"
},
"returnParameters": {
"id": 2434,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2433,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2435,
"src": "760:7:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2432,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "760:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "759:9:18"
},
"scope": 2446,
"src": "711:58:18",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "ed6ff760",
"id": 2440,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getLendingPoolCore",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2436,
"nodeType": "ParameterList",
"parameters": [],
"src": "802:2:18"
},
"returnParameters": {
"id": 2439,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2438,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2440,
"src": "828:15:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
},
"typeName": {
"id": 2437,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "828:15:18",
"stateMutability": "payable",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"visibility": "internal"
}
],
"src": "827:17:18"
},
"scope": 2446,
"src": "775:70:18",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "04061d8e",
"id": 2445,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getLendingPoolParametersProvider",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2441,
"nodeType": "ParameterList",
"parameters": [],
"src": "892:2:18"
},
"returnParameters": {
"id": 2444,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2443,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2445,
"src": "918:7:18",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2442,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "918:7:18",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "917:9:18"
},
"scope": 2446,
"src": "851:76:18",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 2447,
"src": "665:264:18"
}
],
"src": "640:290:18"
},
"legacyAST": {
"attributes": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolAddressesProvider.sol",
"exportedSymbols": {
"ILendingPoolAddressesProvider": [
2446
]
},
"license": "Apache-2.0"
},
"children": [
{
"attributes": {
"literals": [
"solidity",
"^",
"0.7",
".0"
]
},
"id": 2430,
"name": "PragmaDirective",
"src": "640:23:18"
},
{
"attributes": {
"abstract": false,
"baseContracts": [
null
],
"contractDependencies": [
null
],
"contractKind": "interface",
"fullyImplemented": false,
"linearizedBaseContracts": [
2446
],
"name": "ILendingPoolAddressesProvider",
"scope": 2447
},
"children": [
{
"attributes": {
"functionSelector": "0261bf8b",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getLendingPool",
"scope": 2446,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
"children": [
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 2431,
"name": "ParameterList",
"src": "734:2:18"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2435,
"stateVariable": false,
"storageLocation": "default",
"type": "address",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "nonpayable",
"type": "address"
},
"id": 2432,
"name": "ElementaryTypeName",
"src": "760:7:18"
}
],
"id": 2433,
"name": "VariableDeclaration",
"src": "760:7:18"
}
],
"id": 2434,
"name": "ParameterList",
"src": "759:9:18"
}
],
"id": 2435,
"name": "FunctionDefinition",
"src": "711:58:18"
},
{
"attributes": {
"functionSelector": "ed6ff760",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getLendingPoolCore",
"scope": 2446,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
"children": [
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 2436,
"name": "ParameterList",
"src": "802:2:18"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2440,
"stateVariable": false,
"storageLocation": "default",
"type": "address payable",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "payable",
"type": "address payable"
},
"id": 2437,
"name": "ElementaryTypeName",
"src": "828:15:18"
}
],
"id": 2438,
"name": "VariableDeclaration",
"src": "828:15:18"
}
],
"id": 2439,
"name": "ParameterList",
"src": "827:17:18"
}
],
"id": 2440,
"name": "FunctionDefinition",
"src": "775:70:18"
},
{
"attributes": {
"functionSelector": "04061d8e",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getLendingPoolParametersProvider",
"scope": 2446,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
"children": [
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 2441,
"name": "ParameterList",
"src": "892:2:18"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2445,
"stateVariable": false,
"storageLocation": "default",
"type": "address",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "nonpayable",
"type": "address"
},
"id": 2442,
"name": "ElementaryTypeName",
"src": "918:7:18"
}
],
"id": 2443,
"name": "VariableDeclaration",
"src": "918:7:18"
}
],
"id": 2444,
"name": "ParameterList",
"src": "917:9:18"
}
],
"id": 2445,
"name": "FunctionDefinition",
"src": "851:76:18"
}
],
"id": 2446,
"name": "ContractDefinition",
"src": "665:264:18"
}
],
"id": 2447,
"name": "SourceUnit",
"src": "640:290:18"
},
"compiler": {
"name": "solc",
"version": "0.7.3+commit.9bfce1f6.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.3.3",
"updatedAt": "2021-02-01T23:13:33.213Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}