372 lines
12 KiB
JSON
372 lines
12 KiB
JSON
|
{
|
||
|
"contractName": "IConverterUpgrader",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint16",
|
||
|
"name": "_version",
|
||
|
"type": "uint16"
|
||
|
}
|
||
|
],
|
||
|
"name": "upgrade",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "_version",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "upgrade",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_version\",\"type\":\"uint16\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_version\",\"type\":\"bytes32\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterUpgrader.sol\":\"IConverterUpgrader\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterUpgrader.sol\":{\"keccak256\":\"0x456faf61358bfd76498892509cc99f9729f310c9450e28b0d03b5e7cd9752802\",\"license\":\"SEE LICENSE IN LICENSE\",\"urls\":[\"bzz-raw://01f7b3f24cc895a948ea44f8e067d312b55ef1e9cf491908f3fb948d02b914da\",\"dweb:/ipfs/QmfSwZrWFWmT8xeX3iwSq75Vs8pQaQBGkmxJEHehUiPP1N\"]}},\"version\":1}",
|
||
|
"bytecode": "0x",
|
||
|
"deployedBytecode": "0x",
|
||
|
"immutableReferences": {},
|
||
|
"sourceMap": "",
|
||
|
"deployedSourceMap": "",
|
||
|
"source": "// SPDX-License-Identifier: SEE LICENSE IN LICENSE\npragma solidity 0.6.12;\n\n/*\n Converter Upgrader interface\n*/\ninterface IConverterUpgrader {\n function upgrade(bytes32 _version) external;\n function upgrade(uint16 _version) external;\n}\n",
|
||
|
"sourcePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterUpgrader.sol",
|
||
|
"ast": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterUpgrader.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterUpgrader": [
|
||
|
13660
|
||
|
]
|
||
|
},
|
||
|
"id": 13661,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13649,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "51:23:20"
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13660,
|
||
|
"linearizedBaseContracts": [
|
||
|
13660
|
||
|
],
|
||
|
"name": "IConverterUpgrader",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "bc444e13",
|
||
|
"id": 13654,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "upgrade",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13652,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13651,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_version",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13654,
|
||
|
"src": "167:16:20",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bytes32",
|
||
|
"typeString": "bytes32"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13650,
|
||
|
"name": "bytes32",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "167:7:20",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bytes32",
|
||
|
"typeString": "bytes32"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "166:18:20"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13653,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "193:0:20"
|
||
|
},
|
||
|
"scope": 13660,
|
||
|
"src": "150:44:20",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "90f58c96",
|
||
|
"id": 13659,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "upgrade",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13657,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13656,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_version",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13659,
|
||
|
"src": "216:15:20",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint16",
|
||
|
"typeString": "uint16"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13655,
|
||
|
"name": "uint16",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "216:6:20",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint16",
|
||
|
"typeString": "uint16"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "215:17:20"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13658,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "241:0:20"
|
||
|
},
|
||
|
"scope": 13660,
|
||
|
"src": "199:43:20",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13661,
|
||
|
"src": "115:129:20"
|
||
|
}
|
||
|
],
|
||
|
"src": "51:194:20"
|
||
|
},
|
||
|
"legacyAST": {
|
||
|
"absolutePath": "/home/lash/src/ext/cic/grassrootseconomics/bancor-contracts/solidity/contracts/converter/interfaces/IConverterUpgrader.sol",
|
||
|
"exportedSymbols": {
|
||
|
"IConverterUpgrader": [
|
||
|
13660
|
||
|
]
|
||
|
},
|
||
|
"id": 13661,
|
||
|
"license": "SEE LICENSE IN LICENSE",
|
||
|
"nodeType": "SourceUnit",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"id": 13649,
|
||
|
"literals": [
|
||
|
"solidity",
|
||
|
"0.6",
|
||
|
".12"
|
||
|
],
|
||
|
"nodeType": "PragmaDirective",
|
||
|
"src": "51:23:20"
|
||
|
},
|
||
|
{
|
||
|
"abstract": false,
|
||
|
"baseContracts": [],
|
||
|
"contractDependencies": [],
|
||
|
"contractKind": "interface",
|
||
|
"documentation": null,
|
||
|
"fullyImplemented": false,
|
||
|
"id": 13660,
|
||
|
"linearizedBaseContracts": [
|
||
|
13660
|
||
|
],
|
||
|
"name": "IConverterUpgrader",
|
||
|
"nodeType": "ContractDefinition",
|
||
|
"nodes": [
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "bc444e13",
|
||
|
"id": 13654,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "upgrade",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13652,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13651,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_version",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13654,
|
||
|
"src": "167:16:20",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bytes32",
|
||
|
"typeString": "bytes32"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13650,
|
||
|
"name": "bytes32",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "167:7:20",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_bytes32",
|
||
|
"typeString": "bytes32"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "166:18:20"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13653,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "193:0:20"
|
||
|
},
|
||
|
"scope": 13660,
|
||
|
"src": "150:44:20",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
},
|
||
|
{
|
||
|
"body": null,
|
||
|
"documentation": null,
|
||
|
"functionSelector": "90f58c96",
|
||
|
"id": 13659,
|
||
|
"implemented": false,
|
||
|
"kind": "function",
|
||
|
"modifiers": [],
|
||
|
"name": "upgrade",
|
||
|
"nodeType": "FunctionDefinition",
|
||
|
"overrides": null,
|
||
|
"parameters": {
|
||
|
"id": 13657,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"constant": false,
|
||
|
"id": 13656,
|
||
|
"mutability": "mutable",
|
||
|
"name": "_version",
|
||
|
"nodeType": "VariableDeclaration",
|
||
|
"overrides": null,
|
||
|
"scope": 13659,
|
||
|
"src": "216:15:20",
|
||
|
"stateVariable": false,
|
||
|
"storageLocation": "default",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint16",
|
||
|
"typeString": "uint16"
|
||
|
},
|
||
|
"typeName": {
|
||
|
"id": 13655,
|
||
|
"name": "uint16",
|
||
|
"nodeType": "ElementaryTypeName",
|
||
|
"src": "216:6:20",
|
||
|
"typeDescriptions": {
|
||
|
"typeIdentifier": "t_uint16",
|
||
|
"typeString": "uint16"
|
||
|
}
|
||
|
},
|
||
|
"value": null,
|
||
|
"visibility": "internal"
|
||
|
}
|
||
|
],
|
||
|
"src": "215:17:20"
|
||
|
},
|
||
|
"returnParameters": {
|
||
|
"id": 13658,
|
||
|
"nodeType": "ParameterList",
|
||
|
"parameters": [],
|
||
|
"src": "241:0:20"
|
||
|
},
|
||
|
"scope": 13660,
|
||
|
"src": "199:43:20",
|
||
|
"stateMutability": "nonpayable",
|
||
|
"virtual": false,
|
||
|
"visibility": "external"
|
||
|
}
|
||
|
],
|
||
|
"scope": 13661,
|
||
|
"src": "115:129:20"
|
||
|
}
|
||
|
],
|
||
|
"src": "51:194:20"
|
||
|
},
|
||
|
"compiler": {
|
||
|
"name": "solc",
|
||
|
"version": "0.6.12+commit.27d51765.Emscripten.clang"
|
||
|
},
|
||
|
"networks": {},
|
||
|
"schemaVersion": "3.2.3",
|
||
|
"updatedAt": "2020-10-20T08:24:47.747Z",
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
}
|
||
|
}
|