UNPKG

hardlydifficult-ethereum-contracts

Version:
402 lines 14.1 kB
{ "contractName": "Log", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_data", "type": "address" } ], "name": "LogAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "LogBytes", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_data", "type": "uint256" } ], "name": "LogUint", "type": "event" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_data\",\"type\":\"address\"}],\"name\":\"LogAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"LogBytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_data\",\"type\":\"uint256\"}],\"name\":\"LogUint\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"Used for debugging and should be removed before a production deploy.\",\"methods\":{},\"title\":\"A contract with events for emiting various data types.\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/circleci/repo/contracts/test-artifacts/Log.sol\":\"Log\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":2000000},\"remappings\":[]},\"sources\":{\"/home/circleci/repo/contracts/test-artifacts/Log.sol\":{\"keccak256\":\"0x84fd23c0cf44bda88189569ae9f972a79ca719650160fa8eaa3b3a9e76cbbb05\",\"urls\":[\"bzz-raw://05929b91acf70c871a10782209a8f91c3926eccc2e707a339ac1817b66fe210a\",\"dweb:/ipfs/QmZ64eqyQ1idS3FACL3VxyJCdfbFAecWrAhjoqGefd2HyD\"]}},\"version\":1}", "bytecode": "0x6080604052348015600f57600080fd5b50603e80601d6000396000f3fe6080604052600080fdfea265627a7a723158206b9f59bd79e3c4442598deaeb440796f945e715343883de548919da9bf93ed2264736f6c63430005110032", "deployedBytecode": "0x6080604052600080fdfea265627a7a723158206b9f59bd79e3c4442598deaeb440796f945e715343883de548919da9bf93ed2264736f6c63430005110032", "sourceMap": "176:111:16:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;176:111:16;;;;;;;", "deployedSourceMap": "176:111:16:-;;;;;", "source": "pragma solidity ^0.5.0;\n\n\n/**\n * @title A contract with events for emiting various data types.\n * @dev Used for debugging and should be removed before a production deploy.\n */\ncontract Log\n{\n event LogAddress(address _data);\n event LogUint(uint _data);\n event LogBytes(bytes _data);\n}\n", "sourcePath": "/home/circleci/repo/contracts/test-artifacts/Log.sol", "ast": { "absolutePath": "/home/circleci/repo/contracts/test-artifacts/Log.sol", "exportedSymbols": { "Log": [ 1641 ] }, "id": 1642, "nodeType": "SourceUnit", "nodes": [ { "id": 1628, "literals": [ "solidity", "^", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:16" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title A contract with events for emiting various data types.\n@dev Used for debugging and should be removed before a production deploy.", "fullyImplemented": true, "id": 1641, "linearizedBaseContracts": [ 1641 ], "name": "Log", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": null, "id": 1632, "name": "LogAddress", "nodeType": "EventDefinition", "parameters": { "id": 1631, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1630, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1632, "src": "210:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1629, "name": "address", "nodeType": "ElementaryTypeName", "src": "210:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "209:15:16" }, "src": "193:32:16" }, { "anonymous": false, "documentation": null, "id": 1636, "name": "LogUint", "nodeType": "EventDefinition", "parameters": { "id": 1635, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1634, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1636, "src": "242:10:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1633, "name": "uint", "nodeType": "ElementaryTypeName", "src": "242:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "241:12:16" }, "src": "228:26:16" }, { "anonymous": false, "documentation": null, "id": 1640, "name": "LogBytes", "nodeType": "EventDefinition", "parameters": { "id": 1639, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1638, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1640, "src": "272:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 1637, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "272:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "271:13:16" }, "src": "257:28:16" } ], "scope": 1642, "src": "176:111:16" } ], "src": "0:288:16" }, "legacyAST": { "absolutePath": "/home/circleci/repo/contracts/test-artifacts/Log.sol", "exportedSymbols": { "Log": [ 1641 ] }, "id": 1642, "nodeType": "SourceUnit", "nodes": [ { "id": 1628, "literals": [ "solidity", "^", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:16" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title A contract with events for emiting various data types.\n@dev Used for debugging and should be removed before a production deploy.", "fullyImplemented": true, "id": 1641, "linearizedBaseContracts": [ 1641 ], "name": "Log", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": null, "id": 1632, "name": "LogAddress", "nodeType": "EventDefinition", "parameters": { "id": 1631, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1630, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1632, "src": "210:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1629, "name": "address", "nodeType": "ElementaryTypeName", "src": "210:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "209:15:16" }, "src": "193:32:16" }, { "anonymous": false, "documentation": null, "id": 1636, "name": "LogUint", "nodeType": "EventDefinition", "parameters": { "id": 1635, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1634, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1636, "src": "242:10:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1633, "name": "uint", "nodeType": "ElementaryTypeName", "src": "242:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "241:12:16" }, "src": "228:26:16" }, { "anonymous": false, "documentation": null, "id": 1640, "name": "LogBytes", "nodeType": "EventDefinition", "parameters": { "id": 1639, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1638, "indexed": false, "name": "_data", "nodeType": "VariableDeclaration", "scope": 1640, "src": "272:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 1637, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "272:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "271:13:16" }, "src": "257:28:16" } ], "scope": 1642, "src": "176:111:16" } ], "src": "0:288:16" }, "compiler": { "name": "solc", "version": "0.5.17+commit.d19bba13.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.23", "updatedAt": "2020-04-07T20:17:34.954Z", "devdoc": { "details": "Used for debugging and should be removed before a production deploy.", "methods": {}, "title": "A contract with events for emiting various data types." }, "userdoc": { "methods": {} } }