@netvote/elections-solidity
Version:
Elections Contracts
132 lines • 4.87 kB
JSON
{
"contractName": "MockElection",
"abi": [
{
"constant": false,
"inputs": [],
"name": "deductVote",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x60606040523415600e57600080fd5b60838061001c6000396000f300606060405260043610603e5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663de61a73281146043575b600080fd5b3415604d57600080fd5b60536055565b005b5600a165627a7a72305820116d9287ce459b7fe6b00f2715ba939c31f88b5beaf6e74e4cbec7bc994958a40029",
"deployedBytecode": "0x606060405260043610603e5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663de61a73281146043575b600080fd5b3415604d57600080fd5b60536055565b005b5600a165627a7a72305820116d9287ce459b7fe6b00f2715ba939c31f88b5beaf6e74e4cbec7bc994958a40029",
"sourceMap": "895:69:7:-;;;;;;;;;;;;;;;;;",
"deployedSourceMap": "895:69:7:-;;;;;;;;;;;;;;;;;;;;;;;924:37;;;;;;;;;;;;;;;:::o",
"source": "// ------------------------------------------------------------------------------\n// This file is part of netvote.\n//\n// netvote is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// netvote is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with solidity. If not, see <http://www.gnu.org/licenses/>\n//\n// (c) 2017 netvote contributors.\n//------------------------------------------------------------------------------\n\npragma solidity ^0.4.17;\n\n\ncontract MockElection {\n\n function deductVote() public {\n\n }\n\n}",
"sourcePath": "/Users/slanders/netvote/elections-solidity/contracts/elections/mock/MockElection.sol",
"ast": {
"attributes": {
"absolutePath": "/Users/slanders/netvote/elections-solidity/contracts/elections/mock/MockElection.sol",
"exportedSymbols": {
"MockElection": [
807
]
}
},
"children": [
{
"attributes": {
"literals": [
"solidity",
"^",
"0.4",
".17"
]
},
"id": 802,
"name": "PragmaDirective",
"src": "868:24:7"
},
{
"attributes": {
"baseContracts": [
null
],
"contractDependencies": [
null
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts": [
807
],
"name": "MockElection",
"scope": 808
},
"children": [
{
"attributes": {
"constant": false,
"implemented": true,
"isConstructor": false,
"modifiers": [
null
],
"name": "deductVote",
"payable": false,
"scope": 807,
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
"children": [
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 803,
"name": "ParameterList",
"src": "943:2:7"
},
{
"attributes": {
"parameters": [
null
]
},
"children": [],
"id": 804,
"name": "ParameterList",
"src": "953:0:7"
},
{
"attributes": {
"statements": [
null
]
},
"children": [],
"id": 805,
"name": "Block",
"src": "953:8:7"
}
],
"id": 806,
"name": "FunctionDefinition",
"src": "924:37:7"
}
],
"id": 807,
"name": "ContractDefinition",
"src": "895:69:7"
}
],
"id": 808,
"name": "SourceUnit",
"src": "868:96:7"
},
"compiler": {
"name": "solc",
"version": "0.4.18+commit.9cf6e910.Emscripten.clang"
},
"networks": {},
"schemaVersion": "1.0.1",
"updatedAt": "2018-03-26T15:46:12.418Z"
}