{
  "contractName": "IntVoteInterface",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_organization",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_numOfChoices",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_proposer",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_paramsHash",
          "type": "bytes32"
        }
      ],
      "name": "NewProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_organization",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_decision",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_totalReputation",
          "type": "uint256"
        }
      ],
      "name": "ExecuteProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_organization",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_voter",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_vote",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_reputation",
          "type": "uint256"
        }
      ],
      "name": "VoteProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_organization",
          "type": "address"
        }
      ],
      "name": "CancelProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_organization",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_voter",
          "type": "address"
        }
      ],
      "name": "CancelVoting",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_numOfChoices",
          "type": "uint256"
        },
        {
          "name": "_proposalParameters",
          "type": "bytes32"
        },
        {
          "name": "_proposer",
          "type": "address"
        },
        {
          "name": "_organization",
          "type": "address"
        }
      ],
      "name": "propose",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_vote",
          "type": "uint256"
        },
        {
          "name": "_rep",
          "type": "uint256"
        },
        {
          "name": "_voter",
          "type": "address"
        }
      ],
      "name": "vote",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "cancelVote",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getNumberOfChoices",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "isVotable",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_choice",
          "type": "uint256"
        }
      ],
      "name": "voteStatus",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isAbstainAllow",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getAllowedRangeOfChoices",
      "outputs": [
        {
          "name": "min",
          "type": "uint256"
        },
        {
          "name": "max",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "metadata": "",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity ^0.5.4;\n\ninterface IntVoteInterface {\n    //When implementing this interface please do not only override function and modifier,\n    //but also to keep the modifiers on the overridden functions.\n    modifier onlyProposalOwner(bytes32 _proposalId) {revert(); _;}\n    modifier votable(bytes32 _proposalId) {revert(); _;}\n\n    event NewProposal(\n        bytes32 indexed _proposalId,\n        address indexed _organization,\n        uint256 _numOfChoices,\n        address _proposer,\n        bytes32 _paramsHash\n    );\n\n    event ExecuteProposal(bytes32 indexed _proposalId,\n        address indexed _organization,\n        uint256 _decision,\n        uint256 _totalReputation\n    );\n\n    event VoteProposal(\n        bytes32 indexed _proposalId,\n        address indexed _organization,\n        address indexed _voter,\n        uint256 _vote,\n        uint256 _reputation\n    );\n\n    event CancelProposal(bytes32 indexed _proposalId, address indexed _organization );\n    event CancelVoting(bytes32 indexed _proposalId, address indexed _organization, address indexed _voter);\n\n    /**\n     * @dev register a new proposal with the given parameters. Every proposal has a unique ID which is being\n     * generated by calculating keccak256 of a incremented counter.\n     * @param _numOfChoices number of voting choices\n     * @param _proposalParameters defines the parameters of the voting machine used for this proposal\n     * @param _proposer address\n     * @param _organization address - if this address is zero the msg.sender will be used as the organization address.\n     * @return proposal's id.\n     */\n    function propose(\n        uint256 _numOfChoices,\n        bytes32 _proposalParameters,\n        address _proposer,\n        address _organization\n        ) external returns(bytes32);\n\n    function vote(\n        bytes32 _proposalId,\n        uint256 _vote,\n        uint256 _rep,\n        address _voter\n    )\n    external\n    returns(bool);\n\n    function cancelVote(bytes32 _proposalId) external;\n\n    function getNumberOfChoices(bytes32 _proposalId) external view returns(uint256);\n\n    function isVotable(bytes32 _proposalId) external view returns(bool);\n\n    /**\n     * @dev voteStatus returns the reputation voted for a proposal for a specific voting choice.\n     * @param _proposalId the ID of the proposal\n     * @param _choice the index in the\n     * @return voted reputation for the given choice\n     */\n    function voteStatus(bytes32 _proposalId, uint256 _choice) external view returns(uint256);\n\n    /**\n     * @dev isAbstainAllow returns if the voting machine allow abstain (0)\n     * @return bool true or false\n     */\n    function isAbstainAllow() external pure returns(bool);\n\n    /**\n     * @dev getAllowedRangeOfChoices returns the allowed range of choices for a voting machine.\n     * @return min - minimum number of choices\n               max - maximum number of choices\n     */\n    function getAllowedRangeOfChoices() external pure returns(uint256 min, uint256 max);\n}\n",
  "sourcePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
  "ast": {
    "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
    "exportedSymbols": {
      "IntVoteInterface": [
        12909
      ]
    },
    "id": 12910,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 12776,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:48"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 12909,
        "linearizedBaseContracts": [
          12909
        ],
        "name": "IntVoteInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 12784,
              "nodeType": "Block",
              "src": "262:14:48",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 12780,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23695,
                        23696
                      ],
                      "referencedDeclaration": 23695,
                      "src": "263:6:48",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$__$returns$__$",
                        "typeString": "function () pure"
                      }
                    },
                    "id": 12781,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "263:8:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 12782,
                  "nodeType": "ExpressionStatement",
                  "src": "263:8:48"
                },
                {
                  "id": 12783,
                  "nodeType": "PlaceholderStatement",
                  "src": "273:1:48"
                }
              ]
            },
            "documentation": null,
            "id": 12785,
            "name": "onlyProposalOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 12779,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12778,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12785,
                  "src": "241:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12777,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "241:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "240:21:48"
            },
            "src": "214:62:48",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 12793,
              "nodeType": "Block",
              "src": "319:14:48",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 12789,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23695,
                        23696
                      ],
                      "referencedDeclaration": 23695,
                      "src": "320:6:48",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$__$returns$__$",
                        "typeString": "function () pure"
                      }
                    },
                    "id": 12790,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "320:8:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 12791,
                  "nodeType": "ExpressionStatement",
                  "src": "320:8:48"
                },
                {
                  "id": 12792,
                  "nodeType": "PlaceholderStatement",
                  "src": "330:1:48"
                }
              ]
            },
            "documentation": null,
            "id": 12794,
            "name": "votable",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 12788,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12787,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12794,
                  "src": "298:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12786,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "298:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "297:21:48"
            },
            "src": "281:52:48",
            "visibility": "internal"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12806,
            "name": "NewProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12805,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12796,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "366:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12795,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "366:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12798,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "403:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12797,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "403:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12800,
                  "indexed": false,
                  "name": "_numOfChoices",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "442:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12799,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "442:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12802,
                  "indexed": false,
                  "name": "_proposer",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "473:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12801,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "473:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12804,
                  "indexed": false,
                  "name": "_paramsHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "500:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12803,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "500:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "356:169:48"
            },
            "src": "339:187:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12816,
            "name": "ExecuteProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12815,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12808,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "554:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12807,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "554:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12810,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "591:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12809,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "591:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12812,
                  "indexed": false,
                  "name": "_decision",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "630:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12811,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12814,
                  "indexed": false,
                  "name": "_totalReputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "657:24:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12813,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "657:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "553:134:48"
            },
            "src": "532:156:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12828,
            "name": "VoteProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12827,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12818,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "722:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12817,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12820,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "759:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12819,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "759:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12822,
                  "indexed": true,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "798:22:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12821,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "798:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12824,
                  "indexed": false,
                  "name": "_vote",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "830:13:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12823,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "830:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12826,
                  "indexed": false,
                  "name": "_reputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "853:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12825,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "853:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "712:166:48"
            },
            "src": "694:185:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12834,
            "name": "CancelProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12833,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12830,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12834,
                  "src": "906:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12829,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "906:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12832,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12834,
                  "src": "935:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12831,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "935:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "905:61:48"
            },
            "src": "885:82:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12842,
            "name": "CancelVoting",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12841,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12836,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "991:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12835,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "991:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12838,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "1020:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12837,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1020:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12840,
                  "indexed": true,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "1051:22:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12839,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1051:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "990:84:48"
            },
            "src": "972:103:48"
          },
          {
            "body": null,
            "documentation": "@dev register a new proposal with the given parameters. Every proposal has a unique ID which is being\ngenerated by calculating keccak256 of a incremented counter.\n@param _numOfChoices number of voting choices\n@param _proposalParameters defines the parameters of the voting machine used for this proposal\n@param _proposer address\n@param _organization address - if this address is zero the msg.sender will be used as the organization address.\n@return proposal's id.",
            "id": 12855,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "propose",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12851,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12844,
                  "name": "_numOfChoices",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1636:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12843,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1636:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12846,
                  "name": "_proposalParameters",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1667:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12845,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1667:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12848,
                  "name": "_proposer",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1704:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12847,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1704:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12850,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1731:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12849,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1731:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1626:136:48"
            },
            "returnParameters": {
              "id": 12854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12853,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1780:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12852,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1780:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1779:9:48"
            },
            "scope": 12909,
            "src": "1610:179:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12868,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "vote",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12864,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12857,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1818:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12856,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1818:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12859,
                  "name": "_vote",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1847:13:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12858,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1847:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12861,
                  "name": "_rep",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1870:12:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12860,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1870:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12863,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1892:14:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12862,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1892:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1808:104:48"
            },
            "returnParameters": {
              "id": 12867,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12866,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1938:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12865,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1938:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1937:6:48"
            },
            "scope": 12909,
            "src": "1795:149:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12873,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancelVote",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12871,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12870,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12873,
                  "src": "1970:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12869,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1970:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1969:21:48"
            },
            "returnParameters": {
              "id": 12872,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1999:0:48"
            },
            "scope": 12909,
            "src": "1950:50:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12880,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getNumberOfChoices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12876,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12875,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12880,
                  "src": "2034:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12874,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2034:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2033:21:48"
            },
            "returnParameters": {
              "id": 12879,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12878,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12880,
                  "src": "2077:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12877,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2077:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2076:9:48"
            },
            "scope": 12909,
            "src": "2006:80:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12887,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isVotable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12883,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12882,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12887,
                  "src": "2111:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12881,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2111:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2110:21:48"
            },
            "returnParameters": {
              "id": 12886,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12885,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12887,
                  "src": "2154:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12884,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2154:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2153:6:48"
            },
            "scope": 12909,
            "src": "2092:68:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev voteStatus returns the reputation voted for a proposal for a specific voting choice.\n@param _proposalId the ID of the proposal\n@param _choice the index in the\n@return voted reputation for the given choice",
            "id": 12896,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "voteStatus",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12892,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12889,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2440:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12888,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2440:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12891,
                  "name": "_choice",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2461:15:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12890,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2461:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2439:38:48"
            },
            "returnParameters": {
              "id": 12895,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12894,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2500:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12893,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2500:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2499:9:48"
            },
            "scope": 12909,
            "src": "2420:89:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev isAbstainAllow returns if the voting machine allow abstain (0)\n@return bool true or false",
            "id": 12901,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isAbstainAllow",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12897,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2663:2:48"
            },
            "returnParameters": {
              "id": 12900,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12899,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12901,
                  "src": "2688:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12898,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2688:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2687:6:48"
            },
            "scope": 12909,
            "src": "2640:54:48",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev getAllowedRangeOfChoices returns the allowed range of choices for a voting machine.\n@return min - minimum number of choices\nmax - maximum number of choices",
            "id": 12908,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getAllowedRangeOfChoices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12902,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2939:2:48"
            },
            "returnParameters": {
              "id": 12907,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12904,
                  "name": "min",
                  "nodeType": "VariableDeclaration",
                  "scope": 12908,
                  "src": "2964:11:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12903,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2964:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12906,
                  "name": "max",
                  "nodeType": "VariableDeclaration",
                  "scope": 12908,
                  "src": "2977:11:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12905,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2977:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2963:26:48"
            },
            "scope": 12909,
            "src": "2906:84:48",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 12910,
        "src": "25:2967:48"
      }
    ],
    "src": "0:2993:48"
  },
  "legacyAST": {
    "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
    "exportedSymbols": {
      "IntVoteInterface": [
        12909
      ]
    },
    "id": 12910,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 12776,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:48"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 12909,
        "linearizedBaseContracts": [
          12909
        ],
        "name": "IntVoteInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 12784,
              "nodeType": "Block",
              "src": "262:14:48",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 12780,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23695,
                        23696
                      ],
                      "referencedDeclaration": 23695,
                      "src": "263:6:48",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$__$returns$__$",
                        "typeString": "function () pure"
                      }
                    },
                    "id": 12781,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "263:8:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 12782,
                  "nodeType": "ExpressionStatement",
                  "src": "263:8:48"
                },
                {
                  "id": 12783,
                  "nodeType": "PlaceholderStatement",
                  "src": "273:1:48"
                }
              ]
            },
            "documentation": null,
            "id": 12785,
            "name": "onlyProposalOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 12779,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12778,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12785,
                  "src": "241:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12777,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "241:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "240:21:48"
            },
            "src": "214:62:48",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 12793,
              "nodeType": "Block",
              "src": "319:14:48",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 12789,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23695,
                        23696
                      ],
                      "referencedDeclaration": 23695,
                      "src": "320:6:48",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$__$returns$__$",
                        "typeString": "function () pure"
                      }
                    },
                    "id": 12790,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "320:8:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 12791,
                  "nodeType": "ExpressionStatement",
                  "src": "320:8:48"
                },
                {
                  "id": 12792,
                  "nodeType": "PlaceholderStatement",
                  "src": "330:1:48"
                }
              ]
            },
            "documentation": null,
            "id": 12794,
            "name": "votable",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 12788,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12787,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12794,
                  "src": "298:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12786,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "298:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "297:21:48"
            },
            "src": "281:52:48",
            "visibility": "internal"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12806,
            "name": "NewProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12805,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12796,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "366:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12795,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "366:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12798,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "403:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12797,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "403:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12800,
                  "indexed": false,
                  "name": "_numOfChoices",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "442:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12799,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "442:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12802,
                  "indexed": false,
                  "name": "_proposer",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "473:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12801,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "473:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12804,
                  "indexed": false,
                  "name": "_paramsHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 12806,
                  "src": "500:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12803,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "500:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "356:169:48"
            },
            "src": "339:187:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12816,
            "name": "ExecuteProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12815,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12808,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "554:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12807,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "554:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12810,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "591:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12809,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "591:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12812,
                  "indexed": false,
                  "name": "_decision",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "630:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12811,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12814,
                  "indexed": false,
                  "name": "_totalReputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 12816,
                  "src": "657:24:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12813,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "657:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "553:134:48"
            },
            "src": "532:156:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12828,
            "name": "VoteProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12827,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12818,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "722:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12817,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12820,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "759:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12819,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "759:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12822,
                  "indexed": true,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "798:22:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12821,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "798:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12824,
                  "indexed": false,
                  "name": "_vote",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "830:13:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12823,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "830:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12826,
                  "indexed": false,
                  "name": "_reputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 12828,
                  "src": "853:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12825,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "853:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "712:166:48"
            },
            "src": "694:185:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12834,
            "name": "CancelProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12833,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12830,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12834,
                  "src": "906:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12829,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "906:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12832,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12834,
                  "src": "935:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12831,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "935:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "905:61:48"
            },
            "src": "885:82:48"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 12842,
            "name": "CancelVoting",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12841,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12836,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "991:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12835,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "991:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12838,
                  "indexed": true,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "1020:29:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12837,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1020:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12840,
                  "indexed": true,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12842,
                  "src": "1051:22:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12839,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1051:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "990:84:48"
            },
            "src": "972:103:48"
          },
          {
            "body": null,
            "documentation": "@dev register a new proposal with the given parameters. Every proposal has a unique ID which is being\ngenerated by calculating keccak256 of a incremented counter.\n@param _numOfChoices number of voting choices\n@param _proposalParameters defines the parameters of the voting machine used for this proposal\n@param _proposer address\n@param _organization address - if this address is zero the msg.sender will be used as the organization address.\n@return proposal's id.",
            "id": 12855,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "propose",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12851,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12844,
                  "name": "_numOfChoices",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1636:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12843,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1636:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12846,
                  "name": "_proposalParameters",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1667:27:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12845,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1667:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12848,
                  "name": "_proposer",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1704:17:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12847,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1704:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12850,
                  "name": "_organization",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1731:21:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12849,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1731:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1626:136:48"
            },
            "returnParameters": {
              "id": 12854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12853,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12855,
                  "src": "1780:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12852,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1780:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1779:9:48"
            },
            "scope": 12909,
            "src": "1610:179:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12868,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "vote",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12864,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12857,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1818:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12856,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1818:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12859,
                  "name": "_vote",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1847:13:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12858,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1847:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12861,
                  "name": "_rep",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1870:12:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12860,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1870:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12863,
                  "name": "_voter",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1892:14:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12862,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1892:7:48",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1808:104:48"
            },
            "returnParameters": {
              "id": 12867,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12866,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12868,
                  "src": "1938:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12865,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1938:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1937:6:48"
            },
            "scope": 12909,
            "src": "1795:149:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12873,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancelVote",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12871,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12870,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12873,
                  "src": "1970:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12869,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1970:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1969:21:48"
            },
            "returnParameters": {
              "id": 12872,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1999:0:48"
            },
            "scope": 12909,
            "src": "1950:50:48",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12880,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getNumberOfChoices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12876,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12875,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12880,
                  "src": "2034:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12874,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2034:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2033:21:48"
            },
            "returnParameters": {
              "id": 12879,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12878,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12880,
                  "src": "2077:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12877,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2077:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2076:9:48"
            },
            "scope": 12909,
            "src": "2006:80:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 12887,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isVotable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12883,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12882,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12887,
                  "src": "2111:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12881,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2111:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2110:21:48"
            },
            "returnParameters": {
              "id": 12886,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12885,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12887,
                  "src": "2154:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12884,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2154:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2153:6:48"
            },
            "scope": 12909,
            "src": "2092:68:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev voteStatus returns the reputation voted for a proposal for a specific voting choice.\n@param _proposalId the ID of the proposal\n@param _choice the index in the\n@return voted reputation for the given choice",
            "id": 12896,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "voteStatus",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12892,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12889,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2440:19:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12888,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2440:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12891,
                  "name": "_choice",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2461:15:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12890,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2461:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2439:38:48"
            },
            "returnParameters": {
              "id": 12895,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12894,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12896,
                  "src": "2500:7:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12893,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2500:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2499:9:48"
            },
            "scope": 12909,
            "src": "2420:89:48",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev isAbstainAllow returns if the voting machine allow abstain (0)\n@return bool true or false",
            "id": 12901,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isAbstainAllow",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12897,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2663:2:48"
            },
            "returnParameters": {
              "id": 12900,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12899,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 12901,
                  "src": "2688:4:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 12898,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2688:4:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2687:6:48"
            },
            "scope": 12909,
            "src": "2640:54:48",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@dev getAllowedRangeOfChoices returns the allowed range of choices for a voting machine.\n@return min - minimum number of choices\nmax - maximum number of choices",
            "id": 12908,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getAllowedRangeOfChoices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12902,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2939:2:48"
            },
            "returnParameters": {
              "id": 12907,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12904,
                  "name": "min",
                  "nodeType": "VariableDeclaration",
                  "scope": 12908,
                  "src": "2964:11:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12903,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2964:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12906,
                  "name": "max",
                  "nodeType": "VariableDeclaration",
                  "scope": 12908,
                  "src": "2977:11:48",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12905,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2977:7:48",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2963:26:48"
            },
            "scope": 12909,
            "src": "2906:84:48",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 12910,
        "src": "25:2967:48"
      }
    ],
    "src": "0:2993:48"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.401Z",
  "devdoc": {
    "methods": {
      "getAllowedRangeOfChoices()": {
        "details": "getAllowedRangeOfChoices returns the allowed range of choices for a voting machine.",
        "return": "min - minimum number of choices max - maximum number of choices"
      },
      "isAbstainAllow()": {
        "details": "isAbstainAllow returns if the voting machine allow abstain (0)",
        "return": "bool true or false"
      },
      "propose(uint256,bytes32,address,address)": {
        "details": "register a new proposal with the given parameters. Every proposal has a unique ID which is being generated by calculating keccak256 of a incremented counter.",
        "params": {
          "_numOfChoices": "number of voting choices",
          "_organization": "address - if this address is zero the msg.sender will be used as the organization address.",
          "_proposalParameters": "defines the parameters of the voting machine used for this proposal",
          "_proposer": "address"
        },
        "return": "proposal's id."
      },
      "voteStatus(bytes32,uint256)": {
        "details": "voteStatus returns the reputation voted for a proposal for a specific voting choice.",
        "params": {
          "_choice": "the index in the",
          "_proposalId": "the ID of the proposal"
        },
        "return": "voted reputation for the given choice"
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}