web3-0.8.0.0: test/contracts/Registry.json
{
"contractName": "Registry",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "listingHash",
"type": "bytes32"
}
],
"name": "A",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "sender",
"type": "address"
},
{
"indexed": false,
"name": "listingHash",
"type": "bytes32"
}
],
"name": "B",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "dog",
"type": "address"
},
{
"indexed": false,
"name": "cat",
"type": "bytes32"
}
],
"name": "C",
"type": "event"
}
],
"bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a7230582033480aa8fef567c80a4f8afd205add18d07c6a0f6991c2a4b0c2c20b8220f89b0029",
"deployedBytecode": "0x6080604052600080fd00a165627a7a7230582033480aa8fef567c80a4f8afd205add18d07c6a0f6991c2a4b0c2c20b8220f89b0029",
"sourceMap": "26:163:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26:163:3;;;;;;;",
"deployedSourceMap": "26:163:3:-;;;;;",
"source": "pragma solidity ^0.4.22;\n\ncontract Registry {\n\n\n event A(bytes32 indexed listingHash);\n event B(address indexed sender, bytes32 listingHash);\n event C(address dog, bytes32 cat);\n\n}\n",
"sourcePath": "/home/akru/hsweb3test/contracts/Registry.sol",
"ast": {
"absolutePath": "/home/akru/hsweb3test/contracts/Registry.sol",
"exportedSymbols": {
"Registry": [
343
]
},
"id": 344,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 326,
"literals": [
"solidity",
"^",
"0.4",
".22"
],
"nodeType": "PragmaDirective",
"src": "0:24:3"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"id": 343,
"linearizedBaseContracts": [
343
],
"name": "Registry",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 330,
"name": "A",
"nodeType": "EventDefinition",
"parameters": {
"id": 329,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 328,
"indexed": true,
"name": "listingHash",
"nodeType": "VariableDeclaration",
"scope": 330,
"src": "60:27:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 327,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "60:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "59:29:3"
},
"src": "52:37:3"
},
{
"anonymous": false,
"documentation": null,
"id": 336,
"name": "B",
"nodeType": "EventDefinition",
"parameters": {
"id": 335,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 332,
"indexed": true,
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 336,
"src": "102:22:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 331,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "102:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 334,
"indexed": false,
"name": "listingHash",
"nodeType": "VariableDeclaration",
"scope": 336,
"src": "126:19:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 333,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "126:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "101:45:3"
},
"src": "94:53:3"
},
{
"anonymous": false,
"documentation": null,
"id": 342,
"name": "C",
"nodeType": "EventDefinition",
"parameters": {
"id": 341,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 338,
"indexed": false,
"name": "dog",
"nodeType": "VariableDeclaration",
"scope": 342,
"src": "160:11:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 337,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "160:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 340,
"indexed": false,
"name": "cat",
"nodeType": "VariableDeclaration",
"scope": 342,
"src": "173:11:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 339,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "173:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "159:26:3"
},
"src": "152:34:3"
}
],
"scope": 344,
"src": "26:163:3"
}
],
"src": "0:190:3"
},
"legacyAST": {
"absolutePath": "/home/akru/hsweb3test/contracts/Registry.sol",
"exportedSymbols": {
"Registry": [
343
]
},
"id": 344,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 326,
"literals": [
"solidity",
"^",
"0.4",
".22"
],
"nodeType": "PragmaDirective",
"src": "0:24:3"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"id": 343,
"linearizedBaseContracts": [
343
],
"name": "Registry",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 330,
"name": "A",
"nodeType": "EventDefinition",
"parameters": {
"id": 329,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 328,
"indexed": true,
"name": "listingHash",
"nodeType": "VariableDeclaration",
"scope": 330,
"src": "60:27:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 327,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "60:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "59:29:3"
},
"src": "52:37:3"
},
{
"anonymous": false,
"documentation": null,
"id": 336,
"name": "B",
"nodeType": "EventDefinition",
"parameters": {
"id": 335,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 332,
"indexed": true,
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 336,
"src": "102:22:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 331,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "102:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 334,
"indexed": false,
"name": "listingHash",
"nodeType": "VariableDeclaration",
"scope": 336,
"src": "126:19:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 333,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "126:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "101:45:3"
},
"src": "94:53:3"
},
{
"anonymous": false,
"documentation": null,
"id": 342,
"name": "C",
"nodeType": "EventDefinition",
"parameters": {
"id": 341,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 338,
"indexed": false,
"name": "dog",
"nodeType": "VariableDeclaration",
"scope": 342,
"src": "160:11:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 337,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "160:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 340,
"indexed": false,
"name": "cat",
"nodeType": "VariableDeclaration",
"scope": 342,
"src": "173:11:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 339,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "173:7:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "159:26:3"
},
"src": "152:34:3"
}
],
"scope": 344,
"src": "26:163:3"
}
],
"src": "0:190:3"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-10-17T08:27:57.792Z"
}