@andrekorol/kollateral-contracts
Version:
Kollateral protocol, the flash loan building block
314 lines • 10.9 kB
JSON
{
"contractName": "ILendingPoolCore",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_reserve",
"type": "address"
}
],
"name": "getReserveIsActive",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.7.3+commit.9bfce1f6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserve\",\"type\":\"address\"}],\"name\":\"getReserveIsActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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/ILendingPoolCore.sol\":\"ILendingPoolCore\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolCore.sol\":{\"keccak256\":\"0x0a7a1d395d6ff90fe31aaaf58481d325581d74a9a143e027d2bba93e6efdd6ef\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://c8bcb84aa556a504882753e5a8eebabc0e90bf7e49527cbd2507a192e0d05ee5\",\"dweb:/ipfs/QmbgfHBVyw6ppaLiPXKV5bp3FxCYU6pxRxtQciVQEBEvc1\"]}},\"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 ILendingPoolCore {\n function getReserveIsActive(address _reserve) external view returns (bool);\n}\n",
"sourcePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolCore.sol",
"ast": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolCore.sol",
"exportedSymbols": {
"ILendingPoolCore": [
2456
]
},
"id": 2457,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2448,
"literals": [
"solidity",
"^",
"0.7",
".0"
],
"nodeType": "PragmaDirective",
"src": "640:23:19"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 2456,
"linearizedBaseContracts": [
2456
],
"name": "ILendingPoolCore",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "05075d6e",
"id": 2455,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getReserveIsActive",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2451,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2450,
"mutability": "mutable",
"name": "_reserve",
"nodeType": "VariableDeclaration",
"scope": 2455,
"src": "726:16:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2449,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "726:7:19",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "725:18:19"
},
"returnParameters": {
"id": 2454,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2453,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2455,
"src": "767:4:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2452,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "767:4:19",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "766:6:19"
},
"scope": 2456,
"src": "698:75:19",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 2457,
"src": "665:110:19"
}
],
"src": "640:136:19"
},
"legacyAST": {
"attributes": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolCore.sol",
"exportedSymbols": {
"ILendingPoolCore": [
2456
]
},
"license": "Apache-2.0"
},
"children": [
{
"attributes": {
"literals": [
"solidity",
"^",
"0.7",
".0"
]
},
"id": 2448,
"name": "PragmaDirective",
"src": "640:23:19"
},
{
"attributes": {
"abstract": false,
"baseContracts": [
null
],
"contractDependencies": [
null
],
"contractKind": "interface",
"fullyImplemented": false,
"linearizedBaseContracts": [
2456
],
"name": "ILendingPoolCore",
"scope": 2457
},
"children": [
{
"attributes": {
"functionSelector": "05075d6e",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getReserveIsActive",
"scope": 2456,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
"children": [
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "_reserve",
"scope": 2455,
"stateVariable": false,
"storageLocation": "default",
"type": "address",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "nonpayable",
"type": "address"
},
"id": 2449,
"name": "ElementaryTypeName",
"src": "726:7:19"
}
],
"id": 2450,
"name": "VariableDeclaration",
"src": "726:16:19"
}
],
"id": 2451,
"name": "ParameterList",
"src": "725:18:19"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2455,
"stateVariable": false,
"storageLocation": "default",
"type": "bool",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "bool",
"type": "bool"
},
"id": 2452,
"name": "ElementaryTypeName",
"src": "767:4:19"
}
],
"id": 2453,
"name": "VariableDeclaration",
"src": "767:4:19"
}
],
"id": 2454,
"name": "ParameterList",
"src": "766:6:19"
}
],
"id": 2455,
"name": "FunctionDefinition",
"src": "698:75:19"
}
],
"id": 2456,
"name": "ContractDefinition",
"src": "665:110:19"
}
],
"id": 2457,
"name": "SourceUnit",
"src": "640:136:19"
},
"compiler": {
"name": "solc",
"version": "0.7.3+commit.9bfce1f6.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.3.3",
"updatedAt": "2021-02-01T23:13:33.214Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}