UNPKG

arc_dx

Version:

A platform for building DAOs

341 lines 10.5 kB
{ "contractName": "ProposalExecuteInterface", "abi": [ { "constant": false, "inputs": [ { "name": "_proposalId", "type": "bytes32" }, { "name": "_decision", "type": "int256" } ], "name": "executeProposal", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.4.25;\n\ninterface ProposalExecuteInterface {\n function executeProposal(bytes32 _proposalId,int _decision) external returns(bool);\n}\n", "sourcePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol", "ast": { "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol", "exportedSymbols": { "ProposalExecuteInterface": [ 20386 ] }, "id": 20387, "nodeType": "SourceUnit", "nodes": [ { "id": 20376, "literals": [ "solidity", "^", "0.4", ".25" ], "nodeType": "PragmaDirective", "src": "0:24:49" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 20386, "linearizedBaseContracts": [ 20386 ], "name": "ProposalExecuteInterface", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 20385, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "executeProposal", "nodeType": "FunctionDefinition", "parameters": { "id": 20381, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 20378, "name": "_proposalId", "nodeType": "VariableDeclaration", "scope": 20385, "src": "92:19:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 20377, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "92:7:49", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 20380, "name": "_decision", "nodeType": "VariableDeclaration", "scope": 20385, "src": "112:13:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }, "typeName": { "id": 20379, "name": "int", "nodeType": "ElementaryTypeName", "src": "112:3:49", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" } }, "value": null, "visibility": "internal" } ], "src": "91:35:49" }, "payable": false, "returnParameters": { "id": 20384, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 20383, "name": "", "nodeType": "VariableDeclaration", "scope": 20385, "src": "144:4:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 20382, "name": "bool", "nodeType": "ElementaryTypeName", "src": "144:4:49", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "143:6:49" }, "scope": 20386, "src": "67:83:49", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], "scope": 20387, "src": "26:126:49" } ], "src": "0:153:49" }, "legacyAST": { "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol", "exportedSymbols": { "ProposalExecuteInterface": [ 20386 ] }, "id": 20387, "nodeType": "SourceUnit", "nodes": [ { "id": 20376, "literals": [ "solidity", "^", "0.4", ".25" ], "nodeType": "PragmaDirective", "src": "0:24:49" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 20386, "linearizedBaseContracts": [ 20386 ], "name": "ProposalExecuteInterface", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 20385, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "executeProposal", "nodeType": "FunctionDefinition", "parameters": { "id": 20381, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 20378, "name": "_proposalId", "nodeType": "VariableDeclaration", "scope": 20385, "src": "92:19:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 20377, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "92:7:49", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 20380, "name": "_decision", "nodeType": "VariableDeclaration", "scope": 20385, "src": "112:13:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" }, "typeName": { "id": 20379, "name": "int", "nodeType": "ElementaryTypeName", "src": "112:3:49", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" } }, "value": null, "visibility": "internal" } ], "src": "91:35:49" }, "payable": false, "returnParameters": { "id": 20384, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 20383, "name": "", "nodeType": "VariableDeclaration", "scope": 20385, "src": "144:4:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 20382, "name": "bool", "nodeType": "ElementaryTypeName", "src": "144:4:49", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "143:6:49" }, "scope": 20386, "src": "67:83:49", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], "scope": 20387, "src": "26:126:49" } ], "src": "0:153:49" }, "compiler": { "name": "solc", "version": "0.4.25+commit.59dbf8f1.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.0-beta.1", "updatedAt": "2018-10-16T14:16:07.464Z" }