jcc-solidity-utils
Version:
jcc solidity utils
1,617 lines • 184 kB
JSON
{
"contractName": "IResolver",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"name": "a",
"type": "address"
}
],
"name": "AddrChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"name": "coinType",
"type": "uint256"
},
{
"indexed": false,
"name": "newAddress",
"type": "bytes"
}
],
"name": "AddressChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"name": "name",
"type": "string"
}
],
"name": "NameChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": true,
"name": "contentType",
"type": "uint256"
}
],
"name": "ABIChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"name": "x",
"type": "bytes32"
},
{
"indexed": false,
"name": "y",
"type": "bytes32"
}
],
"name": "PubkeyChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": true,
"name": "indexedKey",
"type": "string"
},
{
"indexed": false,
"name": "key",
"type": "string"
}
],
"name": "TextChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"name": "hash",
"type": "bytes"
}
],
"name": "ContenthashChanged",
"type": "event"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "contentTypes",
"type": "uint256"
}
],
"name": "ABI",
"outputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "coinType",
"type": "uint256"
}
],
"name": "addr",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "addr",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "contenthash",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "dnsrr",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "pubkey",
"outputs": [
{
"name": "x",
"type": "bytes32"
},
{
"name": "y",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "key",
"type": "string"
}
],
"name": "text",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "interfaceID",
"type": "bytes4"
}
],
"name": "interfaceImplementer",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "contentType",
"type": "uint256"
},
{
"name": "data",
"type": "bytes"
}
],
"name": "setABI",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "coinType",
"type": "uint256"
},
{
"name": "a",
"type": "bytes"
}
],
"name": "setAddr",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "_addr",
"type": "address"
}
],
"name": "setAddr",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "hash",
"type": "bytes"
}
],
"name": "setContenthash",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "data",
"type": "bytes"
}
],
"name": "setDnsrr",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "_name",
"type": "string"
}
],
"name": "setName",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "x",
"type": "bytes32"
},
{
"name": "y",
"type": "bytes32"
}
],
"name": "setPubkey",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "key",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"name": "setText",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "node",
"type": "bytes32"
},
{
"name": "interfaceID",
"type": "bytes4"
},
{
"name": "implementer",
"type": "address"
}
],
"name": "setInterface",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "interfaceID",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "pure",
"type": "function"
}
],
"metadata": "",
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity >=0.4.24;\n\n/**\n * A generic resolver interface which includes all the functions\n */\ninterface IResolver {\n event AddrChanged(bytes32 indexed node, address a);\n event AddressChanged(\n bytes32 indexed node,\n uint256 coinType,\n bytes newAddress\n );\n event NameChanged(bytes32 indexed node, string name);\n event ABIChanged(bytes32 indexed node, uint256 indexed contentType);\n event PubkeyChanged(bytes32 indexed node, bytes32 x, bytes32 y);\n event TextChanged(\n bytes32 indexed node,\n string indexed indexedKey,\n string key\n );\n event ContenthashChanged(bytes32 indexed node, bytes hash);\n\n function ABI(bytes32 node, uint256 contentTypes)\n external\n view\n returns (uint256, bytes memory);\n\n function addr(bytes32 node) external view returns (address);\n\n function addr(bytes32 node, uint256 coinType)\n external\n view\n returns (bytes memory);\n\n function contenthash(bytes32 node) external view returns (bytes memory);\n\n function dnsrr(bytes32 node) external view returns (bytes memory);\n\n function name(bytes32 node) external view returns (string memory);\n\n function pubkey(bytes32 node) external view returns (bytes32 x, bytes32 y);\n\n function text(bytes32 node, string key) external view returns (string memory);\n\n function interfaceImplementer(bytes32 node, bytes4 interfaceID)\n external\n view\n returns (address);\n\n function setABI(\n bytes32 node,\n uint256 contentType,\n bytes data\n ) external;\n\n function setAddr(bytes32 node, address _addr) external;\n\n function setAddr(\n bytes32 node,\n uint256 coinType,\n bytes a\n ) external;\n\n function setContenthash(bytes32 node, bytes hash) external;\n\n function setDnsrr(bytes32 node, bytes data) external;\n\n function setName(bytes32 node, string _name) external;\n\n function setPubkey(\n bytes32 node,\n bytes32 x,\n bytes32 y\n ) external;\n\n function setText(\n bytes32 node,\n string key,\n string value\n ) external;\n\n function setInterface(\n bytes32 node,\n bytes4 interfaceID,\n address implementer\n ) external;\n\n function supportsInterface(bytes4 interfaceID) external pure returns (bool);\n}\n",
"sourcePath": "/Users/chtian/Documents/01_work/01_develope/jcc/jcc-solidity-utils/contracts/interface/IResolver.sol",
"ast": {
"absolutePath": "/Users/chtian/Documents/01_work/01_develope/jcc/jcc-solidity-utils/contracts/interface/IResolver.sol",
"exportedSymbols": {
"IResolver": [
1293
]
},
"id": 1294,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1089,
"literals": [
"solidity",
">=",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:25:9"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "A generic resolver interface which includes all the functions",
"fullyImplemented": false,
"id": 1293,
"linearizedBaseContracts": [
1293
],
"name": "IResolver",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 1095,
"name": "AddrChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1094,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1091,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1095,
"src": "142:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1090,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "142:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1093,
"indexed": false,
"name": "a",
"nodeType": "VariableDeclaration",
"scope": 1095,
"src": "164:9:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1092,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "164:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "141:33:9"
},
"src": "124:51:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1103,
"name": "AddressChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1102,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1097,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1103,
"src": "204:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1096,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "204:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1099,
"indexed": false,
"name": "coinType",
"nodeType": "VariableDeclaration",
"scope": 1103,
"src": "230:16:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1098,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "230:7:9",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1101,
"indexed": false,
"name": "newAddress",
"nodeType": "VariableDeclaration",
"scope": 1103,
"src": "252:16:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1100,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "252:5:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "198:74:9"
},
"src": "178:95:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1109,
"name": "NameChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1108,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1105,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1109,
"src": "294:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1104,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "294:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1107,
"indexed": false,
"name": "name",
"nodeType": "VariableDeclaration",
"scope": 1109,
"src": "316:11:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 1106,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "316:6:9",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "293:35:9"
},
"src": "276:53:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1115,
"name": "ABIChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1114,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1111,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1115,
"src": "349:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1110,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "349:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1113,
"indexed": true,
"name": "contentType",
"nodeType": "VariableDeclaration",
"scope": 1115,
"src": "371:27:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1112,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "371:7:9",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "348:51:9"
},
"src": "332:68:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1123,
"name": "PubkeyChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1122,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1117,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1123,
"src": "423:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1116,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "423:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1119,
"indexed": false,
"name": "x",
"nodeType": "VariableDeclaration",
"scope": 1123,
"src": "445:9:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1118,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "445:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1121,
"indexed": false,
"name": "y",
"nodeType": "VariableDeclaration",
"scope": 1123,
"src": "456:9:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1120,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "456:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "422:44:9"
},
"src": "403:64:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1131,
"name": "TextChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1130,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1125,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1131,
"src": "493:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1124,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "493:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1127,
"indexed": true,
"name": "indexedKey",
"nodeType": "VariableDeclaration",
"scope": 1131,
"src": "519:25:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 1126,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "519:6:9",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1129,
"indexed": false,
"name": "key",
"nodeType": "VariableDeclaration",
"scope": 1131,
"src": "550:10:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 1128,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "550:6:9",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "487:77:9"
},
"src": "470:95:9"
},
{
"anonymous": false,
"documentation": null,
"id": 1137,
"name": "ContenthashChanged",
"nodeType": "EventDefinition",
"parameters": {
"id": 1136,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1133,
"indexed": true,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1137,
"src": "593:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1132,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "593:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1135,
"indexed": false,
"name": "hash",
"nodeType": "VariableDeclaration",
"scope": 1137,
"src": "615:10:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1134,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "615:5:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "592:34:9"
},
"src": "568:59:9"
},
{
"body": null,
"documentation": null,
"id": 1148,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "ABI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1142,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1139,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1148,
"src": "644:12:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1138,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "644:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1141,
"name": "contentTypes",
"nodeType": "VariableDeclaration",
"scope": 1148,
"src": "658:20:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1140,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "658:7:9",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "643:36:9"
},
"payable": false,
"returnParameters": {
"id": 1147,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1144,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1148,
"src": "715:7:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1143,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "715:7:9",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1146,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1148,
"src": "724:5:9",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1145,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "724:5:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "714:23:9"
},
"scope": 1293,
"src": "631:107:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1155,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "addr",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1151,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1150,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1155,
"src": "756:12:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1149,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "756:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "755:14:9"
},
"payable": false,
"returnParameters": {
"id": 1154,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1153,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1155,
"src": "793:7:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1152,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "793:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "792:9:9"
},
"scope": 1293,
"src": "742:60:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1164,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "addr",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1160,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1157,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1164,
"src": "820:12:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1156,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "820:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1159,
"name": "coinType",
"nodeType": "VariableDeclaration",
"scope": 1164,
"src": "834:16:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1158,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "834:7:9",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "819:32:9"
},
"payable": false,
"returnParameters": {
"id": 1163,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1162,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1164,
"src": "887:5:9",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1161,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "887:5:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "886:14:9"
},
"scope": 1293,
"src": "806:95:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1171,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "contenthash",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1167,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1166,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1171,
"src": "926:12:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1165,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "926:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "925:14:9"
},
"payable": false,
"returnParameters": {
"id": 1170,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1169,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1171,
"src": "963:5:9",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1168,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "963:5:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "962:14:9"
},
"scope": 1293,
"src": "905:72:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1178,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "dnsrr",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1174,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1173,
"name": "node",
"nodeType": "VariableDeclaration",
"scope": 1178,
"src": "996:12:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1172,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "996:7:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "995:14:9"
},
"payable": false,
"returnParameters": {
"id": 1177,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1176,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1178,
"src": "1033:5:9",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 1175,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1033:5:9",
"typeDescriptions": {
"typeIdentifier": "t_