@andrekorol/kollateral-contracts
Version:
Kollateral protocol, the flash loan building block
314 lines • 11.1 kB
JSON
{
"contractName": "ILendingPoolParametersProvider",
"abi": [
{
"inputs": [],
"name": "getFlashLoanFeesInBips",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.7.3+commit.9bfce1f6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getFlashLoanFeesInBips\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolParametersProvider.sol\":\"ILendingPoolParametersProvider\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolParametersProvider.sol\":{\"keccak256\":\"0x5e3cbf60f6b1d1707876c03194566b5b983fde316e5e2ea6bb462c8ccd1f9ba3\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://5c87a747a9ad781091b9691bdae1916c21c86df798740f2e026b73ed3b69d814\",\"dweb:/ipfs/QmXyZQPyJhWvXPDWmAbZieDqBAzKsybDGbrjXQB6aydF3Z\"]}},\"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 ILendingPoolParametersProvider {\n function getFlashLoanFeesInBips() external pure returns (uint256, uint256);\n}\n",
"sourcePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolParametersProvider.sol",
"ast": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolParametersProvider.sol",
"exportedSymbols": {
"ILendingPoolParametersProvider": [
2466
]
},
"id": 2467,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2458,
"literals": [
"solidity",
"^",
"0.7",
".0"
],
"nodeType": "PragmaDirective",
"src": "640:23:20"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 2466,
"linearizedBaseContracts": [
2466
],
"name": "ILendingPoolParametersProvider",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "586feb40",
"id": 2465,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getFlashLoanFeesInBips",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2459,
"nodeType": "ParameterList",
"parameters": [],
"src": "743:2:20"
},
"returnParameters": {
"id": 2464,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2461,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2465,
"src": "769:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2460,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "769:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 2463,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2465,
"src": "778:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2462,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "778:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "768:18:20"
},
"scope": 2466,
"src": "712:75:20",
"stateMutability": "pure",
"virtual": false,
"visibility": "external"
}
],
"scope": 2467,
"src": "665:124:20"
}
],
"src": "640:150:20"
},
"legacyAST": {
"attributes": {
"absolutePath": "/Users/andrekorol/src/kollateral/protocol/contracts/liquidity/aave/ILendingPoolParametersProvider.sol",
"exportedSymbols": {
"ILendingPoolParametersProvider": [
2466
]
},
"license": "Apache-2.0"
},
"children": [
{
"attributes": {
"literals": [
"solidity",
"^",
"0.7",
".0"
]
},
"id": 2458,
"name": "PragmaDirective",
"src": "640:23:20"
},
{
"attributes": {
"abstract": false,
"baseContracts": [
null
],
"contractDependencies": [
null
],
"contractKind": "interface",
"fullyImplemented": false,
"linearizedBaseContracts": [
2466
],
"name": "ILendingPoolParametersProvider",
"scope": 2467
},
"children": [
{
"attributes": {
"functionSelector": "586feb40",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getFlashLoanFeesInBips",
"scope": 2466,
"stateMutability": "pure",
"virtual": false,
"visibility": "external"
},
"children": [
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 2459,
"name": "ParameterList",
"src": "743:2:20"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2465,
"stateVariable": false,
"storageLocation": "default",
"type": "uint256",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "uint256",
"type": "uint256"
},
"id": 2460,
"name": "ElementaryTypeName",
"src": "769:7:20"
}
],
"id": 2461,
"name": "VariableDeclaration",
"src": "769:7:20"
},
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"scope": 2465,
"stateVariable": false,
"storageLocation": "default",
"type": "uint256",
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "uint256",
"type": "uint256"
},
"id": 2462,
"name": "ElementaryTypeName",
"src": "778:7:20"
}
],
"id": 2463,
"name": "VariableDeclaration",
"src": "778:7:20"
}
],
"id": 2464,
"name": "ParameterList",
"src": "768:18:20"
}
],
"id": 2465,
"name": "FunctionDefinition",
"src": "712:75:20"
}
],
"id": 2466,
"name": "ContractDefinition",
"src": "665:124:20"
}
],
"id": 2467,
"name": "SourceUnit",
"src": "640:150:20"
},
"compiler": {
"name": "solc",
"version": "0.7.3+commit.9bfce1f6.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.3.3",
"updatedAt": "2021-02-01T23:13:33.220Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}