{
  "contractName": "SchemeRegistrar",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "parameters",
      "outputs": [
        {
          "name": "voteRegisterParams",
          "type": "bytes32"
        },
        {
          "name": "voteRemoveParams",
          "type": "bytes32"
        },
        {
          "name": "intVote",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "organizationsProposals",
      "outputs": [
        {
          "name": "scheme",
          "type": "address"
        },
        {
          "name": "addScheme",
          "type": "bool"
        },
        {
          "name": "parametersHash",
          "type": "bytes32"
        },
        {
          "name": "permissions",
          "type": "bytes4"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "proposalsInfo",
      "outputs": [
        {
          "name": "blockNumber",
          "type": "uint256"
        },
        {
          "name": "avatar",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "balanceOfStakingToken",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "reputationOf",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getTotalReputationSupply",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "stakingTokenTransfer",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "mintReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "burnReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_intVoteInterface",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_scheme",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_parametersHash",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_permissions",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "NewSchemeProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_intVoteInterface",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_scheme",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "RemoveSchemeProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "ProposalExecuted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "ProposalDeleted",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "executeProposal",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_voteRegisterParams",
          "type": "bytes32"
        },
        {
          "name": "_voteRemoveParams",
          "type": "bytes32"
        },
        {
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "setParameters",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_voteRegisterParams",
          "type": "bytes32"
        },
        {
          "name": "_voteRemoveParams",
          "type": "bytes32"
        },
        {
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "getParametersHash",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_scheme",
          "type": "address"
        },
        {
          "name": "_parametersHash",
          "type": "bytes32"
        },
        {
          "name": "_permissions",
          "type": "bytes4"
        },
        {
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeScheme",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_scheme",
          "type": "address"
        },
        {
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeToRemoveScheme",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"parameters\",\"outputs\":[{\"name\":\"voteRegisterParams\",\"type\":\"bytes32\"},{\"name\":\"voteRemoveParams\",\"type\":\"bytes32\"},{\"name\":\"intVote\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"organizationsProposals\",\"outputs\":[{\"name\":\"scheme\",\"type\":\"address\"},{\"name\":\"addScheme\",\"type\":\"bool\"},{\"name\":\"parametersHash\",\"type\":\"bytes32\"},{\"name\":\"permissions\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_voteRegisterParams\",\"type\":\"bytes32\"},{\"name\":\"_voteRemoveParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"setParameters\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_scheme\",\"type\":\"address\"},{\"name\":\"_parametersHash\",\"type\":\"bytes32\"},{\"name\":\"_permissions\",\"type\":\"bytes4\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeScheme\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_voteRegisterParams\",\"type\":\"bytes32\"},{\"name\":\"_voteRemoveParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"getParametersHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"executeProposal\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"stakingTokenTransfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"mintReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_scheme\",\"type\":\"address\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeToRemoveScheme\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_scheme\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_parametersHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_permissions\",\"type\":\"bytes4\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"NewSchemeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_scheme\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"RemoveSchemeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"ProposalDeleted\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"The SchemeRegistrar is used for registering and unregistering schemes at organizations\",\"methods\":{\"executeProposal(bytes32,int256)\":{\"details\":\"execution of proposals, can only be called by the voting machine in which the vote is held.\",\"params\":{\"_param\":\"a parameter of the voting result, 1 yes and 2 is no.\",\"_proposalId\":\"the ID of the voting in the voting machine\"}},\"proposeScheme(address,address,bytes32,bytes4,string)\":{\"details\":\"create a proposal to register a schemeNB: not only proposes the vote, but also votes for it\",\"params\":{\"_avatar\":\"the address of the organization the scheme will be registered for\",\"_descriptionHash\":\"proposal's description hash\",\"_parametersHash\":\"a hash of the configuration of the _scheme\",\"_permissions\":\"the permission of the scheme to be registered\",\"_scheme\":\"the address of the scheme to be registered\"},\"return\":\"a proposal Id\"},\"proposeToRemoveScheme(address,address,string)\":{\"details\":\"propose to remove a scheme for a controller\",\"params\":{\"_avatar\":\"the address of the controller from which we want to remove a scheme\",\"_descriptionHash\":\"proposal description hash NB: not only registers the proposal, but also votes for it\",\"_scheme\":\"the address of the scheme we want to remove\"}},\"setParameters(bytes32,bytes32,address)\":{\"details\":\"hash the parameters, save them if necessary, and return the hash value\"}},\"title\":\"A registrar for Schemes for organizations\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol\":\"SchemeRegistrar\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzzr://b0af60e651a75274a028dc4b53d06091a46ca0efa3bfb4153879e76cf86a49dc\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzzr://e8050774c20b9b22636b47cdd353eaf5df72e0bca8f2b8569365be30f4eaef0c\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzzr://7ba306fdbad344e01474e3ae9c37b27b64efdc1cb17ffc0f3ec1c4427fde359d\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzzr://d1f293a0bbaa292296a83977cb36a14048db404a32e3f6aa9bd79ea61ac3c4c3\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzzr://cd706a2dc7540d093b591a280b464256c596ddad598b68886e6db2e7958f9916\"]},\"@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol\":{\"keccak256\":\"0x13934eeba4d723347fceb4feaee0ed5a48d5d27f1b68800f0c0cc0ee91ead7c3\",\"urls\":[\"bzzr://2bc30a10df89be1b737371373224b7d5c5003f62ebd9d4566e13da309ad55b1a\"]},\"@daostack/arc/contracts/universalSchemes/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzzr://6cd99ec0b19ae06f7845a3ca56d2dc43ec122cfa809969248e6742e0c56076ca\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzzr://29eac5d525cc39129df30c5b8deada4350d40c5261a85ce0b29c12fe80b10b15\"]},\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":{\"keccak256\":\"0x4052c6f57add891f5f6514a7837f54955ac1f3ad4654fa45d864e4aad19864ba\",\"urls\":[\"bzzr://b013e9ee810bf43f6de254cc61dceb59a9cf102d795d4abc527c2989ff5df568\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"@daostack/infra/contracts/libs/RealMath.sol\":{\"keccak256\":\"0x3ee79c4b483da327916ac36f9d5cc6a1f2f0363db3ad06793ec67f46e1f653db\",\"urls\":[\"bzzr://548cdb33afa45d2d4bfb0ed3f557257f77c7d9ae142326d04584e20d00c153d3\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocol.sol\":{\"keccak256\":\"0x0321da6019e0e1a7fc4e1ca484d7d5d376805abb17f9eb9c46a6731e9dfe58dc\",\"urls\":[\"bzzr://4cf93479ffb97b0f90d2974a0404136bfda093edb9e4b6dd3d9737a29202ee63\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocolLogic.sol\":{\"keccak256\":\"0xfea638b11db020fed40daf661f626ec94f3adba9728f9a9fde40dcc371910dcf\",\"urls\":[\"bzzr://8ee66ecd78ab82cf87a7f9beb15434950ff9752a059731b3b579ab27af97be81\"]},\"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\":{\"keccak256\":\"0x877991da94b1fe9c2accf69367b32fff474c4e4f7897e9cf5a61fa5d1378908f\",\"urls\":[\"bzzr://a7bb7b3a39a1553cb39378801976c8b192b801f9627098385eca24e62440826b\"]},\"@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol\":{\"keccak256\":\"0xb80a153793e1723b35e70ba1c3800975fbc1fae63c989cfb8134a4e58085e181\",\"urls\":[\"bzzr://e5ff7e9f77e596fff366bb31326a7d2ca82d0fdeed1d612c09589eb9fb69d9bf\"]},\"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\":{\"keccak256\":\"0xec215d305f0aa5a5193b6f0302a1aa6bb84e85460167f80b261faf9d30564563\",\"urls\":[\"bzzr://baae21ef9ee3e315191aece7767d3a9ab62810aff5063ad144cb2120eebdabf0\"]},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"keccak256\":\"0xb48974d92a87053dc1d6c5389f3d1b2ad522dec23afcb508eaa935d98dfdc0b6\",\"urls\":[\"bzzr://e665a84309432c27a26e622665dd97ff29d4d6ad7ad655d6e2c50226a5e99b56\"]},\"openzeppelin-solidity/contracts/math/Math.sol\":{\"keccak256\":\"0x37605dd0606b349cfb1b679892e1bb0ef4ddc16dedb06e229cc4402610a7a848\",\"urls\":[\"bzzr://c2253b0f57a80ee1ab7d90192aec144310e9c9a420d2ca2fcfd5999ae66e8f33\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x965012d27b4262d7a41f5028cbb30c51ebd9ecd4be8fb30380aaa7a3c64fbc8b\",\"urls\":[\"bzzr://41ca38f6b0fa4b77b0feec43e422cfbec48b7eb38a41edf0b85c77e8d9a296b1\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzzr://08894efa2a557982070beda6a81a032407e70532d24bdafe80d39660c74904d9\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xba431353cb4fe70777ac026231eb5468e41aa1e81240a2b8136917acc5fff4dc\",\"urls\":[\"bzzr://80cd02a56e6e33504318124d0d645c82e615cc8a4b5829cc9d82d17635c644c8\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol\":{\"keccak256\":\"0xa3e68fd7f987c8fbdaf4867d428a69a15f3cf2f69709a5b0a0fbef750b0e6fbc\",\"urls\":[\"bzzr://f4ebb7c5b9e429b98b07e2caca6156c13c3724e9b1191cca8423ab8427bc6265\"]},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzzr://48248e86f64407a95f241d6c5c8cfea6b4d4ebf4ebb467e5c98c8af3868fafe4\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x5c731061b804fa256fc8c05150eafe5d20b6bb94541a8f187912bf84f7033f34\",\"urls\":[\"bzzr://63fc4af0d7a99a770925b96a6cf48f25fc00d30274266f82db05f30baa238267\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b50611c1f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ee5760003560e060020a900480639588378e11610090578063bea75f281161006a578063bea75f28146103e1578063d29b5d2f1461041d578063e7ac593e1461044f578063f81f8bf61461050e576100ee565b80639588378e146103615780639d4c162d1461038d578063b551c373146103c4576100ee565b80635099e006116100cc5780635099e006146101e157806360bdbb3f146102b65780636b8eb40314610303578063771822611461032f576100ee565b806302506804146100f357806306e3a978146101375780630a6687fd1461019d575b600080fd5b6101106004803603602081101561010957600080fd5b5035610540565b604080519384526020840192909252600160a060020a031682820152519081900360600190f35b6101636004803603604081101561014d57600080fd5b50600160a060020a038135169060200135610569565b60408051600160a060020a039095168552921515602085015283830191909152600160e060020a0319166060830152519081900360800190f35b6101cf600480360360608110156101b357600080fd5b5080359060208101359060400135600160a060020a03166105bf565b60408051918252519081900360200190f35b6101cf600480360360a08110156101f757600080fd5b600160a060020a038235811692602081013590911691604082013591600160e060020a03196060820135169181019060a08101608082013564010000000081111561024157600080fd5b82018360208201111561025357600080fd5b8035906020019184600183028401116401000000008311171561027557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061061b945050505050565b6102e2600480360360408110156102cc57600080fd5b50600160a060020a0381351690602001356109d7565b60408051928352600160a060020a0390911660208301528051918290030190f35b6101cf6004803603604081101561031957600080fd5b50600160a060020a038135169060200135610a01565b6101cf6004803603606081101561034557600080fd5b5080359060208101359060400135600160a060020a0316610ac6565b6101cf6004803603604081101561037757600080fd5b50600160a060020a038135169060200135610b13565b6103b0600480360360408110156103a357600080fd5b5080359060200135610c3f565b604080519115158252519081900360200190f35b6101cf600480360360208110156103da57600080fd5b5035611024565b6103b0600480360360808110156103f757600080fd5b50600160a060020a0381358116916020810135909116906040810135906060013561117c565b6103b06004803603606081101561043357600080fd5b50803590600160a060020a03602082013516906040013561133a565b6101cf6004803603606081101561046557600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561049957600080fd5b8201836020820111156104ab57600080fd5b803590602001918460018302840111640100000000831117156104cd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114ef945050505050565b6103b06004803603606081101561052457600080fd5b50803590600160a060020a0360208201351690604001356117a0565b6002602081905260009182526040909120805460018201549190920154600160a060020a031683565b60016020818152600093845260408085209091529183529120805491810154600290910154600160a060020a0383169274010000000000000000000000000000000000000000900460ff16919060e060020a0284565b6000806105cd858585610ac6565b600081815260026020819052604090912087815560018101879055018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff199091161790559150509392505050565b6000600160a060020a038516151561067d576040805160e560020a62461bcd02815260206004820152601560248201527f736368656d652063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b610685611b75565b600260006106928961191d565b81526020808201929092526040908101600090812082516060810184528154808252600183015482870152600292830154600160a060020a0390811683870181905286517f88737b5e000000000000000000000000000000000000000000000000000000008152600481019590955260248501929092523360448501528d166064840152935190955091936388737b5e9260848084019382900301818787803b15801561073e57600080fd5b505af1158015610752573d6000803e3d6000fd5b505050506040513d602081101561076857600080fd5b50519050610774611b95565b60806040519081016040528089600160a060020a03168152602001600115158152602001888152602001877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525090508260400151600160a060020a0316828a600160a060020a03167fcc9180a05805acc3615b472c3ba00cdc9cd2c6e0e0b3648d60eb58f2c1001b848b8b8b8b6040518085600160a060020a0316600160a060020a03168152602001848152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200180602001828103825283818151815260200191508051906020019080838360005b838110156108a0578181015183820152602001610888565b50505050905090810190601f1680156108cd5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4600160a060020a03808a166000818152600160208181526040808420888552825280842087518154848a01511515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019928a1673ffffffffffffffffffffffffffffffffffffffff19928316179290921691909117825582890151828601556060909801516002909101805460e060020a90920463ffffffff1990921691909117905580518082018252438152808301958652988101518616845283825280842088855290915290912095518655905194018054949091169390911692909217909155905095945050505050565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b33600090815260208181526040808320848452909152812060010154600160a060020a0316801515610a37576000915050610ac0565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b158015610a9057600080fd5b505afa158015610aa4573d6000803e3d6000fd5b505050506040513d6020811015610aba57600080fd5b50519150505b92915050565b6040805160208082019590955280820193909352600160a060020a03919091166c010000000000000000000000000260608301528051808303605401815260749092019052805191012090565b6000610b1d611bbc565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515610b66576000915050610ac0565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610ba657600080fd5b505afa158015610bba573d6000803e3d6000fd5b505050506040513d6020811015610bd057600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610a9057600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515610caa576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320878452909152902060010154600160a060020a0316610cd7611b95565b50600160a060020a0381811660009081526001602081815260408084208a8552825292839020835160808101855281549586168082527401000000000000000000000000000000000000000090960460ff1615159281019290925291820154928101929092526002015460e060020a02600160e060020a0319166060820152901515610d6257600080fd5b600160a060020a03821660008181526001602081815260408084208b8552909152808320805474ffffffffffffffffffffffffffffffffffffffffff191681559182018390556002909101805463ffffffff19169055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610fd857600082600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610e2657600080fd5b505afa158015610e3a573d6000803e3d6000fd5b505050506040513d6020811015610e5057600080fd5b5051602083015190915015610f25578151604080840151606085015182517fe869d45f000000000000000000000000000000000000000000000000000000008152600160a060020a0394851660048201526024810192909252600160e060020a0319166044820152858316606482015290519183169163e869d45f916084808201926020929091908290030181600087803b158015610eee57600080fd5b505af1158015610f02573d6000803e3d6000fd5b505050506040513d6020811015610f1857600080fd5b50511515610f2557600080fd5b81602001511515610fd6578151604080517f039de01d000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152858316602482015290519183169163039de01d916044808201926020929091908290030181600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b50511515610fd657600080fd5b505b6040805186815290518791600160a060020a038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b600061102e611bbc565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515611077576000915050611177565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156110b757600080fd5b505afa1580156110cb573d6000803e3d6000fd5b505050506040513d60208110156110e157600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561114757600080fd5b505afa15801561115b573d6000803e3d6000fd5b505050506040513d602081101561117157600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156111e7576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561121d576000925050611331565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561125957600080fd5b505afa15801561126d573d6000803e3d6000fd5b505050506040513d602081101561128357600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561130157600080fd5b505af1158015611315573d6000803e3d6000fd5b505050506040513d602081101561132b57600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156113a5576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156113db5760009250506114e7565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561141757600080fd5b505afa15801561142b573d6000803e3d6000fd5b505050506040513d602081101561144157600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b1580156114b757600080fd5b505af11580156114cb573d6000803e3d6000fd5b505050506040513d60208110156114e157600080fd5b50519250505b509392505050565b6000600160a060020a0383161515611551576040805160e560020a62461bcd02815260206004820152601560248201527f736368656d652063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b600061155c8561191d565b9050611566611b75565b506000818152600260208181526040808420815160608101835281548152600182015481850181905291850154600160a060020a0390811682850181905284517f88737b5e000000000000000000000000000000000000000000000000000000008152600481019790975260248701939093523360448701528b166064860152915191949093909284926388737b5e92608480820193929182900301818787803b15801561161357600080fd5b505af1158015611627573d6000803e3d6000fd5b505050506040513d602081101561163d57600080fd5b5051600160a060020a0389811660008181526001602090815260408083208684528252808320805473ffffffffffffffffffffffffffffffffffffffff19168e871690811790915581519081528083018281528d51928201929092528c519697509488169587957f504b6bd2558241a5f0532c970f3444e1fc24e1f7cf3d7c49a8d213bd612e9055948f948f9492936060850192918601918190849084905b838110156116f45781810151838201526020016116dc565b50505050905090810190601f1680156117215780820380516001836020036101000a031916815260200191505b50935050505060405180910390a4604080518082018252438152600160a060020a03998a166020808301918252958301518b1660009081528087528381208582529096529190942093518455516001909301805473ffffffffffffffffffffffffffffffffffffffff1916939098169290921790965595945050505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a0316151561180b576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156118415760009250506114e7565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561187d57600080fd5b505afa158015611891573d6000803e3d6000fd5b505050506040513d60208110156118a757600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b1580156114b757600080fd5b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561195b57600080fd5b505afa15801561196f573d6000803e3d6000fd5b505050506040513d602081101561198557600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b1580156119f057600080fd5b505afa158015611a04573d6000803e3d6000fd5b505050506040513d6020811015611a1a57600080fd5b50511515611a72576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611aae57600080fd5b505afa158015611ac2573d6000803e3d6000fd5b505050506040513d6020811015611ad857600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611b4357600080fd5b505afa158015611b57573d6000803e3d6000fd5b505050506040513d6020811015611b6d57600080fd5b505192915050565b604080516060810182526000808252602082018190529181019190915290565b60408051608081018252600080825260208201819052918101829052606081019190915290565b60408051808201909152600080825260208201529056fe6f6e6c7920566f74696e674d616368696e650000000000000000000000000000a165627a7a72305820e8d54dbe7c8c069cc5c8767fd0c52b354585226051550d37e3d262635a8fa1fb0029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ee5760003560e060020a900480639588378e11610090578063bea75f281161006a578063bea75f28146103e1578063d29b5d2f1461041d578063e7ac593e1461044f578063f81f8bf61461050e576100ee565b80639588378e146103615780639d4c162d1461038d578063b551c373146103c4576100ee565b80635099e006116100cc5780635099e006146101e157806360bdbb3f146102b65780636b8eb40314610303578063771822611461032f576100ee565b806302506804146100f357806306e3a978146101375780630a6687fd1461019d575b600080fd5b6101106004803603602081101561010957600080fd5b5035610540565b604080519384526020840192909252600160a060020a031682820152519081900360600190f35b6101636004803603604081101561014d57600080fd5b50600160a060020a038135169060200135610569565b60408051600160a060020a039095168552921515602085015283830191909152600160e060020a0319166060830152519081900360800190f35b6101cf600480360360608110156101b357600080fd5b5080359060208101359060400135600160a060020a03166105bf565b60408051918252519081900360200190f35b6101cf600480360360a08110156101f757600080fd5b600160a060020a038235811692602081013590911691604082013591600160e060020a03196060820135169181019060a08101608082013564010000000081111561024157600080fd5b82018360208201111561025357600080fd5b8035906020019184600183028401116401000000008311171561027557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061061b945050505050565b6102e2600480360360408110156102cc57600080fd5b50600160a060020a0381351690602001356109d7565b60408051928352600160a060020a0390911660208301528051918290030190f35b6101cf6004803603604081101561031957600080fd5b50600160a060020a038135169060200135610a01565b6101cf6004803603606081101561034557600080fd5b5080359060208101359060400135600160a060020a0316610ac6565b6101cf6004803603604081101561037757600080fd5b50600160a060020a038135169060200135610b13565b6103b0600480360360408110156103a357600080fd5b5080359060200135610c3f565b604080519115158252519081900360200190f35b6101cf600480360360208110156103da57600080fd5b5035611024565b6103b0600480360360808110156103f757600080fd5b50600160a060020a0381358116916020810135909116906040810135906060013561117c565b6103b06004803603606081101561043357600080fd5b50803590600160a060020a03602082013516906040013561133a565b6101cf6004803603606081101561046557600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561049957600080fd5b8201836020820111156104ab57600080fd5b803590602001918460018302840111640100000000831117156104cd57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114ef945050505050565b6103b06004803603606081101561052457600080fd5b50803590600160a060020a0360208201351690604001356117a0565b6002602081905260009182526040909120805460018201549190920154600160a060020a031683565b60016020818152600093845260408085209091529183529120805491810154600290910154600160a060020a0383169274010000000000000000000000000000000000000000900460ff16919060e060020a0284565b6000806105cd858585610ac6565b600081815260026020819052604090912087815560018101879055018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff199091161790559150509392505050565b6000600160a060020a038516151561067d576040805160e560020a62461bcd02815260206004820152601560248201527f736368656d652063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b610685611b75565b600260006106928961191d565b81526020808201929092526040908101600090812082516060810184528154808252600183015482870152600292830154600160a060020a0390811683870181905286517f88737b5e000000000000000000000000000000000000000000000000000000008152600481019590955260248501929092523360448501528d166064840152935190955091936388737b5e9260848084019382900301818787803b15801561073e57600080fd5b505af1158015610752573d6000803e3d6000fd5b505050506040513d602081101561076857600080fd5b50519050610774611b95565b60806040519081016040528089600160a060020a03168152602001600115158152602001888152602001877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525090508260400151600160a060020a0316828a600160a060020a03167fcc9180a05805acc3615b472c3ba00cdc9cd2c6e0e0b3648d60eb58f2c1001b848b8b8b8b6040518085600160a060020a0316600160a060020a03168152602001848152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200180602001828103825283818151815260200191508051906020019080838360005b838110156108a0578181015183820152602001610888565b50505050905090810190601f1680156108cd5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4600160a060020a03808a166000818152600160208181526040808420888552825280842087518154848a01511515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019928a1673ffffffffffffffffffffffffffffffffffffffff19928316179290921691909117825582890151828601556060909801516002909101805460e060020a90920463ffffffff1990921691909117905580518082018252438152808301958652988101518616845283825280842088855290915290912095518655905194018054949091169390911692909217909155905095945050505050565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b33600090815260208181526040808320848452909152812060010154600160a060020a0316801515610a37576000915050610ac0565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b158015610a9057600080fd5b505afa158015610aa4573d6000803e3d6000fd5b505050506040513d6020811015610aba57600080fd5b50519150505b92915050565b6040805160208082019590955280820193909352600160a060020a03919091166c010000000000000000000000000260608301528051808303605401815260749092019052805191012090565b6000610b1d611bbc565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515610b66576000915050610ac0565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610ba657600080fd5b505afa158015610bba573d6000803e3d6000fd5b505050506040513d6020811015610bd057600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610a9057600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515610caa576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320878452909152902060010154600160a060020a0316610cd7611b95565b50600160a060020a0381811660009081526001602081815260408084208a8552825292839020835160808101855281549586168082527401000000000000000000000000000000000000000090960460ff1615159281019290925291820154928101929092526002015460e060020a02600160e060020a0319166060820152901515610d6257600080fd5b600160a060020a03821660008181526001602081815260408084208b8552909152808320805474ffffffffffffffffffffffffffffffffffffffffff191681559182018390556002909101805463ffffffff19169055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610fd857600082600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610e2657600080fd5b505afa158015610e3a573d6000803e3d6000fd5b505050506040513d6020811015610e5057600080fd5b5051602083015190915015610f25578151604080840151606085015182517fe869d45f000000000000000000000000000000000000000000000000000000008152600160a060020a0394851660048201526024810192909252600160e060020a0319166044820152858316606482015290519183169163e869d45f916084808201926020929091908290030181600087803b158015610eee57600080fd5b505af1158015610f02573d6000803e3d6000fd5b505050506040513d6020811015610f1857600080fd5b50511515610f2557600080fd5b81602001511515610fd6578151604080517f039de01d000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152858316602482015290519183169163039de01d916044808201926020929091908290030181600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b50511515610fd657600080fd5b505b6040805186815290518791600160a060020a038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b600061102e611bbc565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515611077576000915050611177565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156110b757600080fd5b505afa1580156110cb573d6000803e3d6000fd5b505050506040513d60208110156110e157600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561114757600080fd5b505afa15801561115b573d6000803e3d6000fd5b505050506040513d602081101561117157600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156111e7576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561121d576000925050611331565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561125957600080fd5b505afa15801561126d573d6000803e3d6000fd5b505050506040513d602081101561128357600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561130157600080fd5b505af1158015611315573d6000803e3d6000fd5b505050506040513d602081101561132b57600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156113a5576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156113db5760009250506114e7565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561141757600080fd5b505afa15801561142b573d6000803e3d6000fd5b505050506040513d602081101561144157600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b1580156114b757600080fd5b505af11580156114cb573d6000803e3d6000fd5b505050506040513d60208110156114e157600080fd5b50519250505b509392505050565b6000600160a060020a0383161515611551576040805160e560020a62461bcd02815260206004820152601560248201527f736368656d652063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b600061155c8561191d565b9050611566611b75565b506000818152600260208181526040808420815160608101835281548152600182015481850181905291850154600160a060020a0390811682850181905284517f88737b5e000000000000000000000000000000000000000000000000000000008152600481019790975260248701939093523360448701528b166064860152915191949093909284926388737b5e92608480820193929182900301818787803b15801561161357600080fd5b505af1158015611627573d6000803e3d6000fd5b505050506040513d602081101561163d57600080fd5b5051600160a060020a0389811660008181526001602090815260408083208684528252808320805473ffffffffffffffffffffffffffffffffffffffff19168e871690811790915581519081528083018281528d51928201929092528c519697509488169587957f504b6bd2558241a5f0532c970f3444e1fc24e1f7cf3d7c49a8d213bd612e9055948f948f9492936060850192918601918190849084905b838110156116f45781810151838201526020016116dc565b50505050905090810190601f1680156117215780820380516001836020036101000a031916815260200191505b50935050505060405180910390a4604080518082018252438152600160a060020a03998a166020808301918252958301518b1660009081528087528381208582529096529190942093518455516001909301805473ffffffffffffffffffffffffffffffffffffffff1916939098169290921790965595945050505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a0316151561180b576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611bd4833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156118415760009250506114e7565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561187d57600080fd5b505afa158015611891573d6000803e3d6000fd5b505050506040513d60208110156118a757600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b1580156114b757600080fd5b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561195b57600080fd5b505afa15801561196f573d6000803e3d6000fd5b505050506040513d602081101561198557600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b1580156119f057600080fd5b505afa158015611a04573d6000803e3d6000fd5b505050506040513d6020811015611a1a57600080fd5b50511515611a72576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611aae57600080fd5b505afa158015611ac2573d6000803e3d6000fd5b505050506040513d6020811015611ad857600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611b4357600080fd5b505afa158015611b57573d6000803e3d6000fd5b505050506040513d6020811015611b6d57600080fd5b505192915050565b604080516060810182526000808252602082018190529181019190915290565b60408051608081018252600080825260208201819052918101829052606081019190915290565b60408051808201909152600080825260208201529056fe6f6e6c7920566f74696e674d616368696e650000000000000000000000000000a165627a7a72305820e8d54dbe7c8c069cc5c8767fd0c52b354585226051550d37e3d262635a8fa1fb0029",
  "sourceMap": "429:6894:39:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6894:39;;;;;;;",
  "deployedSourceMap": "429:6894:39:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6894:39;;;;;;;;-1:-1:-1;;;429:6894:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1884:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:46:39;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1884:46:39;;;;;;;;;;;;;;1559:80;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1559:80:39;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1559:80:39;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1559:80:39;;;;;;;;;;;;;;3523:489;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3523:489:39;;;;;;;;;;;-1:-1:-1;;;;;3523:489:39;;:::i;:::-;;;;;;;;;;;;;;;;4809:1306;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;4809:1306:39;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4809:1306:39;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4809:1306:39;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4809:1306:39;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;4809:1306:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4809:1306:39;;-1:-1:-1;4809:1306:39;;-1:-1:-1;;;;;4809:1306:39:i;598:73:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:43;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;598:73:43;;;;;;;;;;;;;;;;2000:346;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:43;;;;;;;;:::i;4018:274:39:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4018:274:39;;;;;;;;;;;-1:-1:-1;;;;;4018:274:39;;:::i;2693:345:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:43;;;;;;;;:::i;2196:1224:39:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2196:1224:39;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2352:335:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:43;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:43;;;;;;;;;;;;;;;;;;;;;;:::i;678:410::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:43;;;-1:-1:-1;;;;;678:410:43;;;;;;;;;;:::i;6466:855:39:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;6466:855:39;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6466:855:39;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6466:855:39;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;6466:855:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6466:855:39;;-1:-1:-1;6466:855:39;;-1:-1:-1;;;;;6466:855:39:i;1094:410:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:43;;;-1:-1:-1;;;;;1094:410:43;;;;;;;;;;:::i;1884:46:39:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1884:46:39;;:::o;1559:80::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1559:80:39;;;;;;;;;;-1:-1:-1;;;1559:80:39;;:::o;3523:489::-;3674:7;3697:18;3718:67;3736:19;3757:17;3776:8;3718:17;:67::i;:::-;3795:22;;;;:10;:22;;;;;;;;:63;;;3868:39;;;:59;;;3937:30;:41;;-1:-1:-1;;;;;3937:41:39;;-1:-1:-1;;3937:41:39;;;;;;3697:88;-1:-1:-1;;3523:489:39;;;;;:::o;4809:1306::-;5012:7;-1:-1:-1;;;;;5062:21:39;;;;5054:55;;;;;-1:-1:-1;;;;;5054:55:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;5119:34;;:::i;:::-;5156:10;:48;5167:36;5195:7;5167:27;:36::i;:::-;5156:48;;;;;;;;;;;;;;-1:-1:-1;5156:48:39;;;5119:85;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5119:85:39;;;;;;;;;5236:160;;;;;;;;;;;;;;;;;;;5346:10;5236:160;;;;;;;;;;;;5119:85;;-1:-1:-1;;;5236:32:39;;:160;;;;;;;;;;-1:-1:-1;5119:85:39;5236:160;;;5:2:-1;;;;30:1;27;20:12;5:2;5236:160:39;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5236:160:39;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5236:160:39;;-1:-1:-1;5407:30:39;;:::i;:::-;5440:168;;;;;;;;;5477:7;-1:-1:-1;;;;;5440:168:39;;;;;5554:4;5440:168;;;;;;5514:15;5440:168;;;;5585:12;5440:168;;;;;;5407:201;;5716:16;:24;;;-1:-1:-1;;;;;5623:222:39;5684:10;5662:7;-1:-1:-1;;;;;5623:222:39;;5755:7;5764:15;5793:12;5819:16;5623:222;;;;-1:-1:-1;;;;;5623:222:39;-1:-1:-1;;;;;5623:222:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5623:222:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5855:40:39;;;;;;;:22;:40;;;;;;;;:52;;;;;;;;:63;;;;;;;;;;;;-1:-1:-1;;5855:63:39;;;-1:-1:-1;;5855:63:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5855:63:39;;;-1:-1:-1;;5855:63:39;;;;;;;;;5991:90;;;;;;;6030:12;5991:90;;;;;;;;5950:24;;;;5928:48;;;;;;;;;;:60;;;;;;;;;:153;;;;;;;;;;;;;;;;;;;;;;;;;5896:10;-1:-1:-1;4809:1306:39;;;;;;;:::o;598:73:43:-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:43;;:::o;2000:346::-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:43;2190:58;;2186:97;;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:43;;2331:6;2299:40;;;;;-1:-1:-1;;;2299:40:43;;;;;;;-1:-1:-1;;;;;2299:40:43;-1:-1:-1;;;;;2299:40:43;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:43;;-1:-1:-1;;2000:346:43;;;;;:::o;4018:274:39:-;4218:66;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4218:66:39;;;;;;;;;;;;26:21:-1;;;22:32;;6:49;;4218:66:39;;;;;;4208:77;;;;;;4018:274::o;2693:345:43:-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:43;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:43;;;;;;;2876:28;2872:67;;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:43;;:34;;;;;-1:-1:-1;;;2955:34:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:43;3010:20;;2955:76;;;;;;-1:-1:-1;;;;;2955:76:43;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2196:1224:39;443:10:43;2305:4:39;429:25:43;;;;;;;;;;;:38;;;;;;;;:45;;;2284:11:39;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;2351:10:39;2321:13;2337:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2337:45:39;2392:30;;:::i;:::-;-1:-1:-1;;;;;;2425:39:39;;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2392:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2392:85:39;-1:-1:-1;;;;;;2392:85:39;;;;;;2495:29;;2487:38;;;;;;-1:-1:-1;;;;;2542:39:39;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2535:59;;-1:-1:-1;;2535:59:39;;;;;;;;;;;;;;;-1:-1:-1;;2535:59:39;;;2609:45;2582:11;;2542:39;2609:45;;;2668:6;2678:1;2668:11;2664:660;;;2747:30;2800:6;-1:-1:-1;;;;;2800:12:39;;:14;;;;;-1:-1:-1;;;2800:14:39;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2800:14:39;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2800:14:39;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2800:14:39;;2861:18;;;2800:14;;-1:-1:-1;2857:286:39;;;2958:15;;2999:23;;;;;3048:20;;;;2907:203;;;;;-1:-1:-1;;;;;2907:203:39;;;;;;;;;;;;;;-1:-1:-1;;;;;;2907:203:39;;;;;;;;;;;;;;:25;;;;;;:203;;;;;;;;;;;;;;;2958:15;2907:25;:203;;;5:2:-1;;;;30:1;27;20:12;5:2;2907:203:39;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2907:203:39;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2907:203:39;2899:229;;;;;;;;3191:8;:18;;;3190:19;3186:128;;;3265:15;;3237:61;;;;;;-1:-1:-1;;;;;3237:61:39;;;;;;;;;;;;;;;;:27;;;;;;:61;;;;;;;;;;;;;;;3265:15;3237:27;:61;;;5:2:-1;;;;30:1;27;20:12;5:2;3237:61:39;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3237:61:39;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3237:61:39;3229:70;;;;;;;;2664:660;;3338:54;;;;;;;;3372:11;;-1:-1:-1;;;;;3338:54:39;;;;;;;;;;;;-1:-1:-1;3409:4:39;;2196:1224;-1:-1:-1;;;;;2196:1224:39:o;2352:335:43:-;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:43;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:43;;;;;;;2531:28;2527:67;;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:43;;:34;;;;;-1:-1:-1;;;2610:34:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:43;2659:20;;2610:70;;;;;;;;;;;;;;-1:-1:-1;;;;;2610:48:43;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:43;;-1:-1:-1;;2352:335:43;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:43;1810:19;;1806:62;;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:43;;:14;;;;;-1:-1:-1;;;1904:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:43;1884:103;;;;;;-1:-1:-1;;;;;1884:103:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:43;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:43;;-1:-1:-1;;529:1:43;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:43;917:19;;913:62;;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:43;;:14;;;;;-1:-1:-1;;;1011:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:43;991:90;;;;;;;;;;;;-1:-1:-1;;;;;991:90:43;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:43;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:43;;-1:-1:-1;;529:1:43;678:410;;;;;;:::o;6466:855:39:-;6585:7;-1:-1:-1;;;;;6616:21:39;;;;6608:55;;;;;-1:-1:-1;;;;;6608:55:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;6673:18;6694:36;6722:7;6694:27;:36::i;:::-;6673:57;;6740:24;;:::i;:::-;-1:-1:-1;6767:22:39;;;;:10;:22;;;;;;;;6740:49;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6740:49:39;;;;;;;;;6872:73;;;;;;;;;;;;;;;;;;;6916:10;6872:73;;;;;;;;;;;;6740:49;;;;6767:22;;6740:49;;6872:15;;:73;;;;;6767:22;6872:73;;;;;;6767:22;6740:49;6872:73;;;5:2:-1;;;;30:1;27;20:12;5:2;6872:73:39;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6872:73:39;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6872:73:39;-1:-1:-1;;;;;6955:40:39;;;;;;;:22;6872:73;6955:40;;;;;;;:52;;;;;;;;:69;;-1:-1:-1;;6955:69:39;;;;;;;;;;7039:95;;;;;;;;;;;;;;;;;;;;;;6872:73;;-1:-1:-1;7039:95:39;;;;6872:73;;7039:95;;6955:69;;7039:95;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7039:95:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7197:90;;;;;;;;7236:12;7197:90;;-1:-1:-1;;;;;7197:90:39;;;;;;;;;;7166:14;;;;7144:38;;-1:-1:-1;7144:38:39;;;;;;;;;:50;;;;;;;;;;:143;;;;;;;;;;;-1:-1:-1;;7144:143:39;;;;;;;;;;;;:50;6466:855;-1:-1:-1;;;;;6466:855:39:o;1094:410:43:-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:43;1333:19;;1329:62;;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:43;;:14;;;;;-1:-1:-1;;;1427:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:43;1407:90;;;;;;;;;;;;-1:-1:-1;;;;;1407:90:43;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:43;:90;;;5:2:-1;;;;30:1;27;20:12;299:340:40;374:7;421;-1:-1:-1;;;;;421:13:40;;:15;;;;;-1:-1:-1;;;421:15:40;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;421:15:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;421:15:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;421:15:40;401:88;;;;;;465:4;401:88;;;;-1:-1:-1;;;;;401:88:40;;;;;;;;;:55;;;;;;;:88;;;;;421:15;;401:88;;;;;;;:55;:88;;;5:2:-1;;;;30:1;27;20:12;5:2;401:88:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;401:88:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;401:88:40;393:133;;;;;;;-1:-1:-1;;;;;393:133:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:7;-1:-1:-1;;;;;563:13:40;;:15;;;;;-1:-1:-1;;;563:15:40;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:15:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;563:15:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;563:15:40;543:89;;;;;;608:4;543:89;;;;-1:-1:-1;;;;;543:89:40;;;;;;;;;:56;;;;;;;:89;;;;;563:15;;543:89;;;;;;;:56;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;543:89:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;543:89:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;543:89:40;;299:340;-1:-1:-1;;299:340:40:o;429:6894:39:-;;;;;;;;;-1:-1:-1;429:6894:39;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;429:6894:39;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;429:6894:39;;;;;;;;:::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\";\nimport \"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\";\nimport \"./UniversalScheme.sol\";\nimport \"../votingMachines/VotingMachineCallbacks.sol\";\n\n\n/**\n * @title A registrar for Schemes for organizations\n * @dev The SchemeRegistrar is used for registering and unregistering schemes at organizations\n */\n\ncontract SchemeRegistrar is UniversalScheme, VotingMachineCallbacks, ProposalExecuteInterface {\n    event NewSchemeProposal(\n        address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _intVoteInterface,\n        address _scheme,\n        bytes32 _parametersHash,\n        bytes4 _permissions,\n        string _descriptionHash\n    );\n\n    event RemoveSchemeProposal(address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _intVoteInterface,\n        address _scheme,\n        string _descriptionHash\n    );\n\n    event ProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId, int256 _param);\n    event ProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\n\n    // a SchemeProposal is a  proposal to add or remove a scheme to/from the an organization\n    struct SchemeProposal {\n        address scheme; //\n        bool addScheme; // true: add a scheme, false: remove a scheme.\n        bytes32 parametersHash;\n        bytes4 permissions;\n    }\n\n    // A mapping from the organization (Avatar) address to the saved data of the organization:\n    mapping(address=>mapping(bytes32=>SchemeProposal)) public organizationsProposals;\n\n    // A mapping from hashes to parameters (use to store a particular configuration on the controller)\n    struct Parameters {\n        bytes32 voteRegisterParams;\n        bytes32 voteRemoveParams;\n        IntVoteInterface intVote;\n    }\n\n    mapping(bytes32=>Parameters) public parameters;\n\n    /**\n    * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _param a parameter of the voting result, 1 yes and 2 is no.\n    */\n    function executeProposal(bytes32 _proposalId, int256 _param) external onlyVotingMachine(_proposalId) returns(bool) {\n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        SchemeProposal memory proposal = organizationsProposals[address(avatar)][_proposalId];\n        require(proposal.scheme != address(0));\n        delete organizationsProposals[address(avatar)][_proposalId];\n        emit ProposalDeleted(address(avatar), _proposalId);\n        if (_param == 1) {\n\n          // Define controller and get the params:\n            ControllerInterface controller = ControllerInterface(avatar.owner());\n\n          // Add a scheme:\n            if (proposal.addScheme) {\n                require(controller.registerScheme(\n                        proposal.scheme,\n                        proposal.parametersHash,\n                        proposal.permissions,\n                        address(avatar))\n                );\n            }\n          // Remove a scheme:\n            if (!proposal.addScheme) {\n                require(controller.unregisterScheme(proposal.scheme, address(avatar)));\n            }\n        }\n        emit ProposalExecuted(address(avatar), _proposalId, _param);\n        return true;\n    }\n\n    /**\n    * @dev hash the parameters, save them if necessary, and return the hash value\n    */\n    function setParameters(\n        bytes32 _voteRegisterParams,\n        bytes32 _voteRemoveParams,\n        IntVoteInterface _intVote\n    ) public returns(bytes32)\n    {\n        bytes32 paramsHash = getParametersHash(_voteRegisterParams, _voteRemoveParams, _intVote);\n        parameters[paramsHash].voteRegisterParams = _voteRegisterParams;\n        parameters[paramsHash].voteRemoveParams = _voteRemoveParams;\n        parameters[paramsHash].intVote = _intVote;\n        return paramsHash;\n    }\n\n    function getParametersHash(\n        bytes32 _voteRegisterParams,\n        bytes32 _voteRemoveParams,\n        IntVoteInterface _intVote\n    ) public pure returns(bytes32)\n    {\n        return keccak256(abi.encodePacked(_voteRegisterParams, _voteRemoveParams, _intVote));\n    }\n\n    /**\n    * @dev create a proposal to register a scheme\n    * @param _avatar the address of the organization the scheme will be registered for\n    * @param _scheme the address of the scheme to be registered\n    * @param _parametersHash a hash of the configuration of the _scheme\n    * @param _permissions the permission of the scheme to be registered\n    * @param _descriptionHash proposal's description hash\n    * @return a proposal Id\n    * @dev NB: not only proposes the vote, but also votes for it\n    */\n    function proposeScheme(\n        Avatar _avatar,\n        address _scheme,\n        bytes32 _parametersHash,\n        bytes4 _permissions,\n        string memory _descriptionHash\n    )\n    public\n    returns(bytes32)\n    {\n        // propose\n        require(_scheme != address(0), \"scheme cannot be zero\");\n        Parameters memory controllerParams = parameters[getParametersFromController(_avatar)];\n\n        bytes32 proposalId = controllerParams.intVote.propose(\n            2,\n            controllerParams.voteRegisterParams,\n            msg.sender,\n            address(_avatar)\n        );\n\n        SchemeProposal memory proposal = SchemeProposal({\n            scheme: _scheme,\n            parametersHash: _parametersHash,\n            addScheme: true,\n            permissions: _permissions\n        });\n        emit NewSchemeProposal(\n            address(_avatar),\n            proposalId,\n            address(controllerParams.intVote),\n            _scheme, _parametersHash,\n            _permissions,\n            _descriptionHash\n        );\n        organizationsProposals[address(_avatar)][proposalId] = proposal;\n        proposalsInfo[address(controllerParams.intVote)][proposalId] = ProposalInfo({\n            blockNumber:block.number,\n            avatar:_avatar\n        });\n        return proposalId;\n    }\n\n    /**\n    * @dev propose to remove a scheme for a controller\n    * @param _avatar the address of the controller from which we want to remove a scheme\n    * @param _scheme the address of the scheme we want to remove\n    * @param _descriptionHash proposal description hash\n    * NB: not only registers the proposal, but also votes for it\n    */\n    function proposeToRemoveScheme(Avatar _avatar, address _scheme, string memory _descriptionHash)\n    public\n    returns(bytes32)\n    {\n        require(_scheme != address(0), \"scheme cannot be zero\");\n        bytes32 paramsHash = getParametersFromController(_avatar);\n        Parameters memory params = parameters[paramsHash];\n\n        IntVoteInterface intVote = params.intVote;\n        bytes32 proposalId = intVote.propose(2, params.voteRemoveParams, msg.sender, address(_avatar));\n        organizationsProposals[address(_avatar)][proposalId].scheme = _scheme;\n        emit RemoveSchemeProposal(address(_avatar), proposalId, address(intVote), _scheme, _descriptionHash);\n        proposalsInfo[address(params.intVote)][proposalId] = ProposalInfo({\n            blockNumber:block.number,\n            avatar:_avatar\n        });\n        return proposalId;\n    }\n}\n",
  "sourcePath": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
    "exportedSymbols": {
      "SchemeRegistrar": [
        8310
      ]
    },
    "id": 8311,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 7860,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:39"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 7861,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 12910,
        "src": "25:71:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "id": 7862,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 12986,
        "src": "97:86:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 7863,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 8358,
        "src": "184:31:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 7864,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 9126,
        "src": "216:54:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7865,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8357,
              "src": "457:15:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$8357",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 7866,
            "nodeType": "InheritanceSpecifier",
            "src": "457:15:39"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7867,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9125,
              "src": "474:22:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$9125",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 7868,
            "nodeType": "InheritanceSpecifier",
            "src": "474:22:39"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7869,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 12921,
              "src": "498:24:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$12921",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 7870,
            "nodeType": "InheritanceSpecifier",
            "src": "498:24:39"
          }
        ],
        "contractDependencies": [
          8357,
          8368,
          9125,
          12921,
          12985
        ],
        "contractKind": "contract",
        "documentation": "@title A registrar for Schemes for organizations\n@dev The SchemeRegistrar is used for registering and unregistering schemes at organizations",
        "fullyImplemented": true,
        "id": 8310,
        "linearizedBaseContracts": [
          8310,
          12921,
          9125,
          12985,
          8357,
          8368
        ],
        "name": "SchemeRegistrar",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 7886,
            "name": "NewSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7885,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7872,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "562:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7871,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7874,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "595:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7873,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7876,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "632:33:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7875,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7878,
                  "indexed": false,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "675:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7877,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7880,
                  "indexed": false,
                  "name": "_parametersHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "700:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7879,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "700:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7882,
                  "indexed": false,
                  "name": "_permissions",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "733:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 7881,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "733:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7884,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "762:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 7883,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "762:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:239:39"
            },
            "src": "529:263:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7898,
            "name": "RemoveSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7897,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7888,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "825:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7887,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "825:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7890,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "858:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7889,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "858:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7892,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "895:33:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7891,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "895:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7894,
                  "indexed": false,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "938:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7893,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "938:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7896,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "963:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 7895,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "963:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "824:168:39"
            },
            "src": "798:195:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7906,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7900,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1022:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7899,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1022:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7902,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1047:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7901,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1047:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7904,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1076:13:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7903,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1076:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1021:69:39"
            },
            "src": "999:92:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7912,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7911,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7908,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7912,
                  "src": "1118:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7907,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7910,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7912,
                  "src": "1143:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7909,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1143:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:54:39"
            },
            "src": "1096:76:39"
          },
          {
            "canonicalName": "SchemeRegistrar.SchemeProposal",
            "id": 7921,
            "members": [
              {
                "constant": false,
                "id": 7914,
                "name": "scheme",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1303:14:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 7913,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1303:7:39",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7916,
                "name": "addScheme",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1330:14:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                },
                "typeName": {
                  "id": 7915,
                  "name": "bool",
                  "nodeType": "ElementaryTypeName",
                  "src": "1330:4:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7918,
                "name": "parametersHash",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1401:22:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7917,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1401:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7920,
                "name": "permissions",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1433:18:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes4",
                  "typeString": "bytes4"
                },
                "typeName": {
                  "id": 7919,
                  "name": "bytes4",
                  "nodeType": "ElementaryTypeName",
                  "src": "1433:6:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "SchemeProposal",
            "nodeType": "StructDefinition",
            "scope": 8310,
            "src": "1271:187:39",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 7927,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 8310,
            "src": "1559:80:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal))"
            },
            "typeName": {
              "id": 7926,
              "keyType": {
                "id": 7922,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1567:7:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1559:50:39",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal))"
              },
              "valueType": {
                "id": 7925,
                "keyType": {
                  "id": 7923,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1584:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1576:32:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                  "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 7924,
                  "name": "SchemeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 7921,
                  "src": "1593:14:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                    "typeString": "struct SchemeRegistrar.SchemeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "SchemeRegistrar.Parameters",
            "id": 7934,
            "members": [
              {
                "constant": false,
                "id": 7929,
                "name": "voteRegisterParams",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1777:26:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7928,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1777:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7931,
                "name": "voteRemoveParams",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1813:24:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7930,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1813:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7933,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1847:24:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 7932,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12909,
                  "src": "1847:16:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 8310,
            "src": "1749:129:39",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 7938,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 8310,
            "src": "1884:46:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
              "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters)"
            },
            "typeName": {
              "id": 7937,
              "keyType": {
                "id": 7935,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1892:7:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1884:28:39",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 7936,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 7934,
                "src": "1901:10:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                  "typeString": "struct SchemeRegistrar.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8053,
              "nodeType": "Block",
              "src": "2311:1109:39",
              "statements": [
                {
                  "assignments": [
                    7951
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7951,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 8053,
                      "src": "2321:13:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$2010",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 7950,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 2010,
                        "src": "2321:6:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 7959,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 7952,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "2337:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 7955,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 7953,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "2351:3:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 7954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2351:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2337:25:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 7957,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 7956,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2363:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2337:38:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 7958,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 8835,
                    "src": "2337:45:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2321:61:39"
                },
                {
                  "assignments": [
                    7961
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7961,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 8053,
                      "src": "2392:30:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 7960,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7921,
                        "src": "2392:14:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 7969,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 7962,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7927,
                        "src": "2425:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                        }
                      },
                      "id": 7966,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 7964,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "2456:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 7963,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2448:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 7965,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2448:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2425:39:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                      }
                    },
                    "id": 7968,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 7967,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7940,
                      "src": "2465:11:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2425:52:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2392:85:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 7976,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 7971,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7961,
                            "src": "2495:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 7972,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "scheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7914,
                          "src": "2495:15:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 7974,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2522:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 7973,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2514:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 7975,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2514:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "2495:29:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 7970,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "2487:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 7977,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2487:38:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7978,
                  "nodeType": "ExpressionStatement",
                  "src": "2487:38:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 7986,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2535:59:39",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 7979,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7927,
                          "src": "2542:22:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 7983,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 7981,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 7951,
                              "src": "2573:6:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 7980,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2565:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 7982,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2565:15:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2542:39:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 7985,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 7984,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2582:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2542:52:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7987,
                  "nodeType": "ExpressionStatement",
                  "src": "2535:59:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 7990,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "2633:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 7989,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2625:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 7991,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2625:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 7992,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2642:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 7988,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7912,
                      "src": "2609:15:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 7993,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2609:45:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7994,
                  "nodeType": "EmitStatement",
                  "src": "2604:50:39"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 7997,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 7995,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7942,
                      "src": "2668:6:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 7996,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2678:1:39",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2668:11:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 8042,
                  "nodeType": "IfStatement",
                  "src": "2664:660:39",
                  "trueBody": {
                    "id": 8041,
                    "nodeType": "Block",
                    "src": "2681:643:39",
                    "statements": [
                      {
                        "assignments": [
                          7999
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 7999,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 8041,
                            "src": "2747:30:39",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 7998,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 3699,
                              "src": "2747:19:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 8005,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 8001,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 7951,
                                  "src": "2800:6:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 8002,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 23021,
                                "src": "2800:12:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 8003,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2800:14:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 8000,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 3699,
                            "src": "2780:19:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 8004,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2780:35:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2747:68:39"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8006,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7961,
                            "src": "2861:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 8007,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "addScheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7916,
                          "src": "2861:18:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 8024,
                        "nodeType": "IfStatement",
                        "src": "2857:286:39",
                        "trueBody": {
                          "id": 8023,
                          "nodeType": "Block",
                          "src": "2881:262:39",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8011,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "2958:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8012,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7914,
                                        "src": "2958:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8013,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "2999:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8014,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "parametersHash",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7918,
                                        "src": "2999:23:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8015,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "3048:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8016,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "permissions",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7920,
                                        "src": "3048:20:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 8018,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 7951,
                                            "src": "3102:6:39",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 8017,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3094:7:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 8019,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3094:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        },
                                        {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 8009,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7999,
                                        "src": "2907:10:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 8010,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3516,
                                      "src": "2907:25:39",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes4_$_t_address_$returns$_t_bool_$",
                                        "typeString": "function (address,bytes32,bytes4,address) external returns (bool)"
                                      }
                                    },
                                    "id": 8020,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2907:203:39",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 8008,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "2899:7:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 8021,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2899:229:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 8022,
                              "nodeType": "ExpressionStatement",
                              "src": "2899:229:39"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "id": 8027,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "UnaryOperation",
                          "operator": "!",
                          "prefix": true,
                          "src": "3190:19:39",
                          "subExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 8025,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 7961,
                              "src": "3191:8:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                              }
                            },
                            "id": 8026,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "addScheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 7916,
                            "src": "3191:18:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 8040,
                        "nodeType": "IfStatement",
                        "src": "3186:128:39",
                        "trueBody": {
                          "id": 8039,
                          "nodeType": "Block",
                          "src": "3211:103:39",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8031,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "3265:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8032,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7914,
                                        "src": "3265:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 8034,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 7951,
                                            "src": "3290:6:39",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 8033,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3282:7:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 8035,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3282:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 8029,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7999,
                                        "src": "3237:10:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 8030,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "unregisterScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3525,
                                      "src": "3237:27:39",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$_t_bool_$",
                                        "typeString": "function (address,address) external returns (bool)"
                                      }
                                    },
                                    "id": 8036,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3237:61:39",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 8028,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "3229:7:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 8037,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3229:70:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 8038,
                              "nodeType": "ExpressionStatement",
                              "src": "3229:70:39"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8045,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "3363:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8044,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3355:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8046,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3355:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8047,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "3372:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8048,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7942,
                        "src": "3385:6:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      ],
                      "id": 8043,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7906,
                      "src": "3338:16:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 8049,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3338:54:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8050,
                  "nodeType": "EmitStatement",
                  "src": "3333:59:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 8051,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3409:4:39",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 7949,
                  "id": 8052,
                  "nodeType": "Return",
                  "src": "3402:11:39"
                }
              ]
            },
            "documentation": "@dev execution of proposals, can only be called by the voting machine in which the vote is held.\n@param _proposalId the ID of the voting in the voting machine\n@param _param a parameter of the voting result, 1 yes and 2 is no.",
            "id": 8054,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 7945,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 7940,
                    "src": "2284:11:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 7946,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 7944,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8859,
                  "src": "2266:17:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2266:30:39"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 7943,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7940,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2221:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7939,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2221:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7942,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2242:13:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7941,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2242:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2220:36:39"
            },
            "returnParameters": {
              "id": 7949,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7948,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2305:4:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7947,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2305:4:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2304:6:39"
            },
            "scope": 8310,
            "src": "2196:1224:39",
            "stateMutability": "nonpayable",
            "superFunction": 12920,
            "visibility": "external"
          },
          {
            "body": {
              "id": 8096,
              "nodeType": "Block",
              "src": "3687:325:39",
              "statements": [
                {
                  "assignments": [
                    8066
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8066,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 8096,
                      "src": "3697:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8065,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3697:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8072,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8068,
                        "name": "_voteRegisterParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8056,
                        "src": "3736:19:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8069,
                        "name": "_voteRemoveParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8058,
                        "src": "3757:17:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8070,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8060,
                        "src": "3776:8:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 8067,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8118,
                      "src": "3718:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_contract$_IntVoteInterface_$12909_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 8071,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3718:67:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3697:88:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8078,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8073,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3795:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8075,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8074,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3806:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3795:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8076,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteRegisterParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7929,
                      "src": "3795:41:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8077,
                      "name": "_voteRegisterParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8056,
                      "src": "3839:19:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3795:63:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 8079,
                  "nodeType": "ExpressionStatement",
                  "src": "3795:63:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8085,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8080,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3868:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8082,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8081,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3879:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3868:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8083,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteRemoveParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7931,
                      "src": "3868:39:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8084,
                      "name": "_voteRemoveParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8058,
                      "src": "3910:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3868:59:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 8086,
                  "nodeType": "ExpressionStatement",
                  "src": "3868:59:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8092,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8087,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3937:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8089,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8088,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3948:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3937:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8090,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7933,
                      "src": "3937:30:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8091,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8060,
                      "src": "3970:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "3937:41:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 8093,
                  "nodeType": "ExpressionStatement",
                  "src": "3937:41:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8094,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8066,
                    "src": "3995:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8064,
                  "id": 8095,
                  "nodeType": "Return",
                  "src": "3988:17:39"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 8097,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8061,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8056,
                  "name": "_voteRegisterParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3555:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8055,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3555:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8058,
                  "name": "_voteRemoveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3592:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8057,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3592:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8060,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3627:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8059,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "3627:16:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3545:113:39"
            },
            "returnParameters": {
              "id": 8064,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8063,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3674:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8062,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3674:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3673:9:39"
            },
            "scope": 8310,
            "src": "3523:489:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8117,
              "nodeType": "Block",
              "src": "4191:101:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8111,
                            "name": "_voteRegisterParams",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8099,
                            "src": "4235:19:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 8112,
                            "name": "_voteRemoveParams",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8101,
                            "src": "4256:17:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 8113,
                            "name": "_intVote",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8103,
                            "src": "4275:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            },
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            },
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 8109,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23677,
                            "src": "4218:3:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 8110,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "4218:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 8114,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4218:66:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "id": 8108,
                      "name": "keccak256",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23684,
                      "src": "4208:9:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                        "typeString": "function (bytes memory) pure returns (bytes32)"
                      }
                    },
                    "id": 8115,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4208:77:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8107,
                  "id": 8116,
                  "nodeType": "Return",
                  "src": "4201:84:39"
                }
              ]
            },
            "documentation": null,
            "id": 8118,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8104,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8099,
                  "name": "_voteRegisterParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4054:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8098,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4054:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8101,
                  "name": "_voteRemoveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4091:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8100,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4091:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8103,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4126:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8102,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "4126:16:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4044:113:39"
            },
            "returnParameters": {
              "id": 8107,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8106,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4178:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8105,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4178:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4177:9:39"
            },
            "scope": 8310,
            "src": "4018:274:39",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8216,
              "nodeType": "Block",
              "src": "5025:1090:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 8138,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 8134,
                          "name": "_scheme",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8122,
                          "src": "5062:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 8136,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5081:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 8135,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5073:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8137,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5073:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "5062:21:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "736368656d652063616e6e6f74206265207a65726f",
                        "id": 8139,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5085:23:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        },
                        "value": "scheme cannot be zero"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        }
                      ],
                      "id": 8133,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "5054:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 8140,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5054:55:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8141,
                  "nodeType": "ExpressionStatement",
                  "src": "5054:55:39"
                },
                {
                  "assignments": [
                    8143
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8143,
                      "name": "controllerParams",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5119:34:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8142,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7934,
                        "src": "5119:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                          "typeString": "struct SchemeRegistrar.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8149,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 8144,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7938,
                      "src": "5156:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                      }
                    },
                    "id": 8148,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 8146,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8120,
                          "src": "5195:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 8145,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          8356
                        ],
                        "referencedDeclaration": 8356,
                        "src": "5167:27:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 8147,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5167:36:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "5156:48:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                      "typeString": "struct SchemeRegistrar.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5119:85:39"
                },
                {
                  "assignments": [
                    8151
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8151,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5215:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8150,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "5215:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8164,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 8155,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5282:1:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8156,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8143,
                          "src": "5297:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8157,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteRegisterParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7929,
                        "src": "5297:35:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8158,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "5346:3:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 8159,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "5346:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8161,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8120,
                            "src": "5378:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8160,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5370:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8162,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5370:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8152,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8143,
                          "src": "5236:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8153,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7933,
                        "src": "5236:24:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 8154,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "5236:32:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 8163,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5236:160:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5215:181:39"
                },
                {
                  "assignments": [
                    8166
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8166,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5407:30:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8165,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7921,
                        "src": "5407:14:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8173,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8168,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8122,
                        "src": "5477:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8169,
                        "name": "_parametersHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8124,
                        "src": "5514:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "74727565",
                        "id": 8170,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "bool",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5554:4:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "value": "true"
                      },
                      {
                        "argumentTypes": null,
                        "id": 8171,
                        "name": "_permissions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8126,
                        "src": "5585:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 8167,
                      "name": "SchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7921,
                      "src": "5440:14:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_SchemeProposal_$7921_storage_ptr_$",
                        "typeString": "type(struct SchemeRegistrar.SchemeProposal storage pointer)"
                      }
                    },
                    "id": 8172,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "scheme",
                      "parametersHash",
                      "addScheme",
                      "permissions"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5440:168:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory",
                      "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5407:201:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8176,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8120,
                            "src": "5662:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8175,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5654:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8177,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5654:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8178,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5684:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 8180,
                              "name": "controllerParams",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8143,
                              "src": "5716:16:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                "typeString": "struct SchemeRegistrar.Parameters memory"
                              }
                            },
                            "id": 8181,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 7933,
                            "src": "5716:24:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 8179,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5708:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8182,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5708:33:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8183,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8122,
                        "src": "5755:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8184,
                        "name": "_parametersHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8124,
                        "src": "5764:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8185,
                        "name": "_permissions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8126,
                        "src": "5793:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8186,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8128,
                        "src": "5819:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 8174,
                      "name": "NewSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7886,
                      "src": "5623:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_bytes32_$_t_bytes4_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,bytes32,bytes4,string memory)"
                      }
                    },
                    "id": 8187,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5623:222:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8188,
                  "nodeType": "EmitStatement",
                  "src": "5618:227:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8197,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8189,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7927,
                          "src": "5855:22:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 8194,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 8191,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8120,
                              "src": "5886:7:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 8190,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5878:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8192,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5878:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5855:40:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 8195,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8193,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5896:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5855:52:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8196,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8166,
                      "src": "5910:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                      }
                    },
                    "src": "5855:63:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "id": 8198,
                  "nodeType": "ExpressionStatement",
                  "src": "5855:63:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8212,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8199,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "5928:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 8205,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 8201,
                                "name": "controllerParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8143,
                                "src": "5950:16:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                  "typeString": "struct SchemeRegistrar.Parameters memory"
                                }
                              },
                              "id": 8202,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 7933,
                              "src": "5950:24:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 8200,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5942:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8203,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5942:33:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5928:48:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 8206,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8204,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5977:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5928:60:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8208,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "6030:5:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 8209,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "6030:12:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 8210,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8120,
                          "src": "6063:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8207,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "5991:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 8211,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5991:90:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5928:153:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 8213,
                  "nodeType": "ExpressionStatement",
                  "src": "5928:153:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8214,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8151,
                    "src": "6098:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8132,
                  "id": 8215,
                  "nodeType": "Return",
                  "src": "6091:17:39"
                }
              ]
            },
            "documentation": "@dev create a proposal to register a scheme\n@param _avatar the address of the organization the scheme will be registered for\n@param _scheme the address of the scheme to be registered\n@param _parametersHash a hash of the configuration of the _scheme\n@param _permissions the permission of the scheme to be registered\n@param _descriptionHash proposal's description hash\n@return a proposal Id\n@dev NB: not only proposes the vote, but also votes for it",
            "id": 8217,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8129,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8120,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4841:14:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8119,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "4841:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8122,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4865:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8121,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4865:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8124,
                  "name": "_parametersHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4890:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8123,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4890:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8126,
                  "name": "_permissions",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4923:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 8125,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "4923:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8128,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4952:30:39",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 8127,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4952:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4831:157:39"
            },
            "returnParameters": {
              "id": 8132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8131,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "5012:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8130,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "5012:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5011:9:39"
            },
            "scope": 8310,
            "src": "4809:1306:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8308,
              "nodeType": "Block",
              "src": "6598:723:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 8233,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 8229,
                          "name": "_scheme",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8221,
                          "src": "6616:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 8231,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "6635:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 8230,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6627:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8232,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6627:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "6616:21:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "736368656d652063616e6e6f74206265207a65726f",
                        "id": 8234,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6639:23:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        },
                        "value": "scheme cannot be zero"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        }
                      ],
                      "id": 8228,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "6608:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 8235,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6608:55:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8236,
                  "nodeType": "ExpressionStatement",
                  "src": "6608:55:39"
                },
                {
                  "assignments": [
                    8238
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8238,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6673:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8237,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6673:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8242,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8240,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8219,
                        "src": "6722:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "id": 8239,
                      "name": "getParametersFromController",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        8356
                      ],
                      "referencedDeclaration": 8356,
                      "src": "6694:27:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                        "typeString": "function (contract Avatar) view returns (bytes32)"
                      }
                    },
                    "id": 8241,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6694:36:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6673:57:39"
                },
                {
                  "assignments": [
                    8244
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8244,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6740:24:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8243,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7934,
                        "src": "6740:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                          "typeString": "struct SchemeRegistrar.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8248,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 8245,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7938,
                      "src": "6767:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                      }
                    },
                    "id": 8247,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 8246,
                      "name": "paramsHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8238,
                      "src": "6778:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6767:22:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                      "typeString": "struct SchemeRegistrar.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6740:49:39"
                },
                {
                  "assignments": [
                    8250
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8250,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6800:24:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8249,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12909,
                        "src": "6800:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8253,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 8251,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8244,
                      "src": "6827:6:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters memory"
                      }
                    },
                    "id": 8252,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 7933,
                    "src": "6827:14:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6800:41:39"
                },
                {
                  "assignments": [
                    8255
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8255,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6851:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8254,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6851:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8267,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 8258,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6888:1:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8259,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8244,
                          "src": "6891:6:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8260,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteRemoveParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7931,
                        "src": "6891:23:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8261,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "6916:3:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 8262,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6916:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8264,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8219,
                            "src": "6936:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8263,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6928:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8265,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6928:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8256,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8250,
                        "src": "6872:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 8257,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "6872:15:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 8266,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6872:73:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6851:94:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8277,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 8268,
                            "name": "organizationsProposals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7927,
                            "src": "6955:22:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                            }
                          },
                          "id": 8273,
                          "indexExpression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 8270,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8219,
                                "src": "6986:7:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 8269,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6978:7:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": "address"
                            },
                            "id": 8271,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6978:16:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "6955:40:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                          }
                        },
                        "id": 8274,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8272,
                          "name": "proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8255,
                          "src": "6996:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6955:52:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                          "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                        }
                      },
                      "id": 8275,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "scheme",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7914,
                      "src": "6955:59:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8276,
                      "name": "_scheme",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8221,
                      "src": "7017:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "6955:69:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 8278,
                  "nodeType": "ExpressionStatement",
                  "src": "6955:69:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8281,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8219,
                            "src": "7068:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8280,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7060:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8282,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7060:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8283,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8255,
                        "src": "7078:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8285,
                            "name": "intVote",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8250,
                            "src": "7098:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 8284,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7090:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8286,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7090:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8287,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8221,
                        "src": "7108:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8288,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8223,
                        "src": "7117:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 8279,
                      "name": "RemoveSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7898,
                      "src": "7039:20:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,string memory)"
                      }
                    },
                    "id": 8289,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7039:95:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8290,
                  "nodeType": "EmitStatement",
                  "src": "7034:100:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8304,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8291,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "7144:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 8297,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 8293,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8244,
                                "src": "7166:6:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                  "typeString": "struct SchemeRegistrar.Parameters memory"
                                }
                              },
                              "id": 8294,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 7933,
                              "src": "7166:14:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 8292,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "7158:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8295,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7158:23:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7144:38:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 8298,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8296,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8255,
                        "src": "7183:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "7144:50:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8300,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "7236:5:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 8301,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7236:12:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 8302,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8219,
                          "src": "7269:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8299,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "7197:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 8303,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7197:90:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "7144:143:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 8305,
                  "nodeType": "ExpressionStatement",
                  "src": "7144:143:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8306,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8255,
                    "src": "7304:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8227,
                  "id": 8307,
                  "nodeType": "Return",
                  "src": "7297:17:39"
                }
              ]
            },
            "documentation": "@dev propose to remove a scheme for a controller\n@param _avatar the address of the controller from which we want to remove a scheme\n@param _scheme the address of the scheme we want to remove\n@param _descriptionHash proposal description hash\nNB: not only registers the proposal, but also votes for it",
            "id": 8309,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeToRemoveScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8224,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8219,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6497:14:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8218,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "6497:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8221,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6513:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8220,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6513:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8223,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6530:30:39",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 8222,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6530:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6496:65:39"
            },
            "returnParameters": {
              "id": 8227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8226,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6585:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8225,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6585:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6584:9:39"
            },
            "scope": 8310,
            "src": "6466:855:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 8311,
        "src": "429:6894:39"
      }
    ],
    "src": "0:7324:39"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
    "exportedSymbols": {
      "SchemeRegistrar": [
        8310
      ]
    },
    "id": 8311,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 7860,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:39"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 7861,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 12910,
        "src": "25:71:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "id": 7862,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 12986,
        "src": "97:86:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 7863,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 8358,
        "src": "184:31:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 7864,
        "nodeType": "ImportDirective",
        "scope": 8311,
        "sourceUnit": 9126,
        "src": "216:54:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7865,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8357,
              "src": "457:15:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$8357",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 7866,
            "nodeType": "InheritanceSpecifier",
            "src": "457:15:39"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7867,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9125,
              "src": "474:22:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$9125",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 7868,
            "nodeType": "InheritanceSpecifier",
            "src": "474:22:39"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 7869,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 12921,
              "src": "498:24:39",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$12921",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 7870,
            "nodeType": "InheritanceSpecifier",
            "src": "498:24:39"
          }
        ],
        "contractDependencies": [
          8357,
          8368,
          9125,
          12921,
          12985
        ],
        "contractKind": "contract",
        "documentation": "@title A registrar for Schemes for organizations\n@dev The SchemeRegistrar is used for registering and unregistering schemes at organizations",
        "fullyImplemented": true,
        "id": 8310,
        "linearizedBaseContracts": [
          8310,
          12921,
          9125,
          12985,
          8357,
          8368
        ],
        "name": "SchemeRegistrar",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 7886,
            "name": "NewSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7885,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7872,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "562:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7871,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7874,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "595:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7873,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7876,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "632:33:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7875,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7878,
                  "indexed": false,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "675:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7877,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7880,
                  "indexed": false,
                  "name": "_parametersHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "700:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7879,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "700:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7882,
                  "indexed": false,
                  "name": "_permissions",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "733:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 7881,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "733:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7884,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7886,
                  "src": "762:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 7883,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "762:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:239:39"
            },
            "src": "529:263:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7898,
            "name": "RemoveSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7897,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7888,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "825:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7887,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "825:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7890,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "858:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7889,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "858:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7892,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "895:33:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7891,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "895:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7894,
                  "indexed": false,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "938:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7893,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "938:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7896,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 7898,
                  "src": "963:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 7895,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "963:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "824:168:39"
            },
            "src": "798:195:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7906,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7900,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1022:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7899,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1022:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7902,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1047:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7901,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1047:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7904,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 7906,
                  "src": "1076:13:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7903,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1076:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1021:69:39"
            },
            "src": "999:92:39"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 7912,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 7911,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7908,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 7912,
                  "src": "1118:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7907,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7910,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 7912,
                  "src": "1143:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7909,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1143:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:54:39"
            },
            "src": "1096:76:39"
          },
          {
            "canonicalName": "SchemeRegistrar.SchemeProposal",
            "id": 7921,
            "members": [
              {
                "constant": false,
                "id": 7914,
                "name": "scheme",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1303:14:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 7913,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1303:7:39",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7916,
                "name": "addScheme",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1330:14:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                },
                "typeName": {
                  "id": 7915,
                  "name": "bool",
                  "nodeType": "ElementaryTypeName",
                  "src": "1330:4:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7918,
                "name": "parametersHash",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1401:22:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7917,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1401:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7920,
                "name": "permissions",
                "nodeType": "VariableDeclaration",
                "scope": 7921,
                "src": "1433:18:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes4",
                  "typeString": "bytes4"
                },
                "typeName": {
                  "id": 7919,
                  "name": "bytes4",
                  "nodeType": "ElementaryTypeName",
                  "src": "1433:6:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "SchemeProposal",
            "nodeType": "StructDefinition",
            "scope": 8310,
            "src": "1271:187:39",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 7927,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 8310,
            "src": "1559:80:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal))"
            },
            "typeName": {
              "id": 7926,
              "keyType": {
                "id": 7922,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1567:7:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1559:50:39",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal))"
              },
              "valueType": {
                "id": 7925,
                "keyType": {
                  "id": 7923,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1584:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1576:32:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                  "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 7924,
                  "name": "SchemeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 7921,
                  "src": "1593:14:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                    "typeString": "struct SchemeRegistrar.SchemeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "SchemeRegistrar.Parameters",
            "id": 7934,
            "members": [
              {
                "constant": false,
                "id": 7929,
                "name": "voteRegisterParams",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1777:26:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7928,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1777:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7931,
                "name": "voteRemoveParams",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1813:24:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 7930,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1813:7:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 7933,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 7934,
                "src": "1847:24:39",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 7932,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12909,
                  "src": "1847:16:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 8310,
            "src": "1749:129:39",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 7938,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 8310,
            "src": "1884:46:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
              "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters)"
            },
            "typeName": {
              "id": 7937,
              "keyType": {
                "id": 7935,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1892:7:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1884:28:39",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 7936,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 7934,
                "src": "1901:10:39",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                  "typeString": "struct SchemeRegistrar.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8053,
              "nodeType": "Block",
              "src": "2311:1109:39",
              "statements": [
                {
                  "assignments": [
                    7951
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7951,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 8053,
                      "src": "2321:13:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$2010",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 7950,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 2010,
                        "src": "2321:6:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 7959,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 7952,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "2337:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 7955,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 7953,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "2351:3:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 7954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2351:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2337:25:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 7957,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 7956,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2363:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2337:38:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 7958,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 8835,
                    "src": "2337:45:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2321:61:39"
                },
                {
                  "assignments": [
                    7961
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7961,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 8053,
                      "src": "2392:30:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 7960,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7921,
                        "src": "2392:14:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 7969,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 7962,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7927,
                        "src": "2425:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                        }
                      },
                      "id": 7966,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 7964,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "2456:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 7963,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2448:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 7965,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2448:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2425:39:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                      }
                    },
                    "id": 7968,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 7967,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7940,
                      "src": "2465:11:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2425:52:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2392:85:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 7976,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 7971,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7961,
                            "src": "2495:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 7972,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "scheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7914,
                          "src": "2495:15:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 7974,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2522:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 7973,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2514:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 7975,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2514:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "2495:29:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 7970,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "2487:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 7977,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2487:38:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7978,
                  "nodeType": "ExpressionStatement",
                  "src": "2487:38:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 7986,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2535:59:39",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 7979,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7927,
                          "src": "2542:22:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 7983,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 7981,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 7951,
                              "src": "2573:6:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 7980,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2565:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 7982,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2565:15:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2542:39:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 7985,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 7984,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2582:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2542:52:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7987,
                  "nodeType": "ExpressionStatement",
                  "src": "2535:59:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 7990,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "2633:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 7989,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2625:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 7991,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2625:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 7992,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "2642:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 7988,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7912,
                      "src": "2609:15:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 7993,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2609:45:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7994,
                  "nodeType": "EmitStatement",
                  "src": "2604:50:39"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 7997,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 7995,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7942,
                      "src": "2668:6:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 7996,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2678:1:39",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2668:11:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 8042,
                  "nodeType": "IfStatement",
                  "src": "2664:660:39",
                  "trueBody": {
                    "id": 8041,
                    "nodeType": "Block",
                    "src": "2681:643:39",
                    "statements": [
                      {
                        "assignments": [
                          7999
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 7999,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 8041,
                            "src": "2747:30:39",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 7998,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 3699,
                              "src": "2747:19:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 8005,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 8001,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 7951,
                                  "src": "2800:6:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 8002,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 23021,
                                "src": "2800:12:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 8003,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2800:14:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 8000,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 3699,
                            "src": "2780:19:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 8004,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2780:35:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2747:68:39"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8006,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7961,
                            "src": "2861:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 8007,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "addScheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7916,
                          "src": "2861:18:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 8024,
                        "nodeType": "IfStatement",
                        "src": "2857:286:39",
                        "trueBody": {
                          "id": 8023,
                          "nodeType": "Block",
                          "src": "2881:262:39",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8011,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "2958:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8012,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7914,
                                        "src": "2958:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8013,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "2999:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8014,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "parametersHash",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7918,
                                        "src": "2999:23:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8015,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "3048:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8016,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "permissions",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7920,
                                        "src": "3048:20:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 8018,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 7951,
                                            "src": "3102:6:39",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 8017,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3094:7:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 8019,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3094:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        },
                                        {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 8009,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7999,
                                        "src": "2907:10:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 8010,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3516,
                                      "src": "2907:25:39",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_bytes4_$_t_address_$returns$_t_bool_$",
                                        "typeString": "function (address,bytes32,bytes4,address) external returns (bool)"
                                      }
                                    },
                                    "id": 8020,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2907:203:39",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 8008,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "2899:7:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 8021,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2899:229:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 8022,
                              "nodeType": "ExpressionStatement",
                              "src": "2899:229:39"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "id": 8027,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "UnaryOperation",
                          "operator": "!",
                          "prefix": true,
                          "src": "3190:19:39",
                          "subExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 8025,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 7961,
                              "src": "3191:8:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                              }
                            },
                            "id": 8026,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "addScheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 7916,
                            "src": "3191:18:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 8040,
                        "nodeType": "IfStatement",
                        "src": "3186:128:39",
                        "trueBody": {
                          "id": 8039,
                          "nodeType": "Block",
                          "src": "3211:103:39",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 8031,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7961,
                                          "src": "3265:8:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 8032,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 7914,
                                        "src": "3265:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 8034,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 7951,
                                            "src": "3290:6:39",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 8033,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3282:7:39",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 8035,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3282:15:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 8029,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7999,
                                        "src": "3237:10:39",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 8030,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "unregisterScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3525,
                                      "src": "3237:27:39",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$_t_bool_$",
                                        "typeString": "function (address,address) external returns (bool)"
                                      }
                                    },
                                    "id": 8036,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3237:61:39",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 8028,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "3229:7:39",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 8037,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3229:70:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 8038,
                              "nodeType": "ExpressionStatement",
                              "src": "3229:70:39"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8045,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7951,
                            "src": "3363:6:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8044,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3355:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8046,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3355:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8047,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7940,
                        "src": "3372:11:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8048,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7942,
                        "src": "3385:6:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      ],
                      "id": 8043,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7906,
                      "src": "3338:16:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 8049,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3338:54:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8050,
                  "nodeType": "EmitStatement",
                  "src": "3333:59:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 8051,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3409:4:39",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 7949,
                  "id": 8052,
                  "nodeType": "Return",
                  "src": "3402:11:39"
                }
              ]
            },
            "documentation": "@dev execution of proposals, can only be called by the voting machine in which the vote is held.\n@param _proposalId the ID of the voting in the voting machine\n@param _param a parameter of the voting result, 1 yes and 2 is no.",
            "id": 8054,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 7945,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 7940,
                    "src": "2284:11:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 7946,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 7944,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8859,
                  "src": "2266:17:39",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2266:30:39"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 7943,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7940,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2221:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7939,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2221:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7942,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2242:13:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7941,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2242:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2220:36:39"
            },
            "returnParameters": {
              "id": 7949,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7948,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8054,
                  "src": "2305:4:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7947,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2305:4:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2304:6:39"
            },
            "scope": 8310,
            "src": "2196:1224:39",
            "stateMutability": "nonpayable",
            "superFunction": 12920,
            "visibility": "external"
          },
          {
            "body": {
              "id": 8096,
              "nodeType": "Block",
              "src": "3687:325:39",
              "statements": [
                {
                  "assignments": [
                    8066
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8066,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 8096,
                      "src": "3697:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8065,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3697:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8072,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8068,
                        "name": "_voteRegisterParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8056,
                        "src": "3736:19:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8069,
                        "name": "_voteRemoveParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8058,
                        "src": "3757:17:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8070,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8060,
                        "src": "3776:8:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 8067,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8118,
                      "src": "3718:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_contract$_IntVoteInterface_$12909_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 8071,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3718:67:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3697:88:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8078,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8073,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3795:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8075,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8074,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3806:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3795:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8076,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteRegisterParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7929,
                      "src": "3795:41:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8077,
                      "name": "_voteRegisterParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8056,
                      "src": "3839:19:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3795:63:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 8079,
                  "nodeType": "ExpressionStatement",
                  "src": "3795:63:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8085,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8080,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3868:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8082,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8081,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3879:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3868:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8083,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteRemoveParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7931,
                      "src": "3868:39:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8084,
                      "name": "_voteRemoveParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8058,
                      "src": "3910:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3868:59:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 8086,
                  "nodeType": "ExpressionStatement",
                  "src": "3868:59:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8092,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8087,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7938,
                          "src": "3937:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                          }
                        },
                        "id": 8089,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8088,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8066,
                          "src": "3948:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3937:22:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                          "typeString": "struct SchemeRegistrar.Parameters storage ref"
                        }
                      },
                      "id": 8090,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7933,
                      "src": "3937:30:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8091,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8060,
                      "src": "3970:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "3937:41:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 8093,
                  "nodeType": "ExpressionStatement",
                  "src": "3937:41:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8094,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8066,
                    "src": "3995:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8064,
                  "id": 8095,
                  "nodeType": "Return",
                  "src": "3988:17:39"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 8097,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8061,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8056,
                  "name": "_voteRegisterParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3555:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8055,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3555:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8058,
                  "name": "_voteRemoveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3592:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8057,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3592:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8060,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3627:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8059,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "3627:16:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3545:113:39"
            },
            "returnParameters": {
              "id": 8064,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8063,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8097,
                  "src": "3674:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8062,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3674:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3673:9:39"
            },
            "scope": 8310,
            "src": "3523:489:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8117,
              "nodeType": "Block",
              "src": "4191:101:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8111,
                            "name": "_voteRegisterParams",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8099,
                            "src": "4235:19:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 8112,
                            "name": "_voteRemoveParams",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8101,
                            "src": "4256:17:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 8113,
                            "name": "_intVote",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8103,
                            "src": "4275:8:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            },
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            },
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 8109,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23677,
                            "src": "4218:3:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 8110,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "4218:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 8114,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4218:66:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "id": 8108,
                      "name": "keccak256",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23684,
                      "src": "4208:9:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                        "typeString": "function (bytes memory) pure returns (bytes32)"
                      }
                    },
                    "id": 8115,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4208:77:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8107,
                  "id": 8116,
                  "nodeType": "Return",
                  "src": "4201:84:39"
                }
              ]
            },
            "documentation": null,
            "id": 8118,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8104,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8099,
                  "name": "_voteRegisterParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4054:27:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8098,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4054:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8101,
                  "name": "_voteRemoveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4091:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8100,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4091:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8103,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4126:25:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8102,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "4126:16:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4044:113:39"
            },
            "returnParameters": {
              "id": 8107,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8106,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8118,
                  "src": "4178:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8105,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4178:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4177:9:39"
            },
            "scope": 8310,
            "src": "4018:274:39",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8216,
              "nodeType": "Block",
              "src": "5025:1090:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 8138,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 8134,
                          "name": "_scheme",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8122,
                          "src": "5062:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 8136,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5081:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 8135,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5073:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8137,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5073:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "5062:21:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "736368656d652063616e6e6f74206265207a65726f",
                        "id": 8139,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5085:23:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        },
                        "value": "scheme cannot be zero"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        }
                      ],
                      "id": 8133,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "5054:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 8140,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5054:55:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8141,
                  "nodeType": "ExpressionStatement",
                  "src": "5054:55:39"
                },
                {
                  "assignments": [
                    8143
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8143,
                      "name": "controllerParams",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5119:34:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8142,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7934,
                        "src": "5119:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                          "typeString": "struct SchemeRegistrar.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8149,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 8144,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7938,
                      "src": "5156:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                      }
                    },
                    "id": 8148,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 8146,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8120,
                          "src": "5195:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 8145,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          8356
                        ],
                        "referencedDeclaration": 8356,
                        "src": "5167:27:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 8147,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5167:36:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "5156:48:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                      "typeString": "struct SchemeRegistrar.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5119:85:39"
                },
                {
                  "assignments": [
                    8151
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8151,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5215:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8150,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "5215:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8164,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 8155,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5282:1:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8156,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8143,
                          "src": "5297:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8157,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteRegisterParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7929,
                        "src": "5297:35:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8158,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "5346:3:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 8159,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "5346:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8161,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8120,
                            "src": "5378:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8160,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5370:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8162,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5370:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8152,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8143,
                          "src": "5236:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8153,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7933,
                        "src": "5236:24:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 8154,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "5236:32:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 8163,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5236:160:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5215:181:39"
                },
                {
                  "assignments": [
                    8166
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8166,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 8216,
                      "src": "5407:30:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8165,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7921,
                        "src": "5407:14:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8173,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8168,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8122,
                        "src": "5477:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8169,
                        "name": "_parametersHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8124,
                        "src": "5514:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "74727565",
                        "id": 8170,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "bool",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5554:4:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "value": "true"
                      },
                      {
                        "argumentTypes": null,
                        "id": 8171,
                        "name": "_permissions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8126,
                        "src": "5585:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 8167,
                      "name": "SchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7921,
                      "src": "5440:14:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_SchemeProposal_$7921_storage_ptr_$",
                        "typeString": "type(struct SchemeRegistrar.SchemeProposal storage pointer)"
                      }
                    },
                    "id": 8172,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "scheme",
                      "parametersHash",
                      "addScheme",
                      "permissions"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5440:168:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory",
                      "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5407:201:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8176,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8120,
                            "src": "5662:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8175,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5654:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8177,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5654:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8178,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5684:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 8180,
                              "name": "controllerParams",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8143,
                              "src": "5716:16:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                "typeString": "struct SchemeRegistrar.Parameters memory"
                              }
                            },
                            "id": 8181,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 7933,
                            "src": "5716:24:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 8179,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5708:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8182,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5708:33:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8183,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8122,
                        "src": "5755:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8184,
                        "name": "_parametersHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8124,
                        "src": "5764:15:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8185,
                        "name": "_permissions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8126,
                        "src": "5793:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8186,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8128,
                        "src": "5819:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 8174,
                      "name": "NewSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7886,
                      "src": "5623:17:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_bytes32_$_t_bytes4_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,bytes32,bytes4,string memory)"
                      }
                    },
                    "id": 8187,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5623:222:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8188,
                  "nodeType": "EmitStatement",
                  "src": "5618:227:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8197,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8189,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7927,
                          "src": "5855:22:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 8194,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 8191,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8120,
                              "src": "5886:7:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 8190,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5878:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8192,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5878:16:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5855:40:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 8195,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8193,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5896:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5855:52:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8196,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8166,
                      "src": "5910:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$7921_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                      }
                    },
                    "src": "5855:63:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "id": 8198,
                  "nodeType": "ExpressionStatement",
                  "src": "5855:63:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8212,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8199,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "5928:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 8205,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 8201,
                                "name": "controllerParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8143,
                                "src": "5950:16:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                  "typeString": "struct SchemeRegistrar.Parameters memory"
                                }
                              },
                              "id": 8202,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 7933,
                              "src": "5950:24:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 8200,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5942:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8203,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5942:33:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5928:48:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 8206,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8204,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8151,
                        "src": "5977:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5928:60:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8208,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "6030:5:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 8209,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "6030:12:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 8210,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8120,
                          "src": "6063:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8207,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "5991:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 8211,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5991:90:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5928:153:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 8213,
                  "nodeType": "ExpressionStatement",
                  "src": "5928:153:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8214,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8151,
                    "src": "6098:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8132,
                  "id": 8215,
                  "nodeType": "Return",
                  "src": "6091:17:39"
                }
              ]
            },
            "documentation": "@dev create a proposal to register a scheme\n@param _avatar the address of the organization the scheme will be registered for\n@param _scheme the address of the scheme to be registered\n@param _parametersHash a hash of the configuration of the _scheme\n@param _permissions the permission of the scheme to be registered\n@param _descriptionHash proposal's description hash\n@return a proposal Id\n@dev NB: not only proposes the vote, but also votes for it",
            "id": 8217,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8129,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8120,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4841:14:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8119,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "4841:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8122,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4865:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8121,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4865:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8124,
                  "name": "_parametersHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4890:23:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8123,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4890:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8126,
                  "name": "_permissions",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4923:19:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 8125,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "4923:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8128,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "4952:30:39",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 8127,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4952:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4831:157:39"
            },
            "returnParameters": {
              "id": 8132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8131,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8217,
                  "src": "5012:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8130,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "5012:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5011:9:39"
            },
            "scope": 8310,
            "src": "4809:1306:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8308,
              "nodeType": "Block",
              "src": "6598:723:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 8233,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 8229,
                          "name": "_scheme",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8221,
                          "src": "6616:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 8231,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "6635:1:39",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 8230,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6627:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8232,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6627:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "6616:21:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "736368656d652063616e6e6f74206265207a65726f",
                        "id": 8234,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6639:23:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        },
                        "value": "scheme cannot be zero"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_cafaf033626ff48a9876b5f035bd8ede5133563907af6e0eef67843384d1e6c9",
                          "typeString": "literal_string \"scheme cannot be zero\""
                        }
                      ],
                      "id": 8228,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "6608:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 8235,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6608:55:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8236,
                  "nodeType": "ExpressionStatement",
                  "src": "6608:55:39"
                },
                {
                  "assignments": [
                    8238
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8238,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6673:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8237,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6673:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8242,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8240,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8219,
                        "src": "6722:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "id": 8239,
                      "name": "getParametersFromController",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        8356
                      ],
                      "referencedDeclaration": 8356,
                      "src": "6694:27:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                        "typeString": "function (contract Avatar) view returns (bytes32)"
                      }
                    },
                    "id": 8241,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6694:36:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6673:57:39"
                },
                {
                  "assignments": [
                    8244
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8244,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6740:24:39",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8243,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7934,
                        "src": "6740:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$7934_storage_ptr",
                          "typeString": "struct SchemeRegistrar.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8248,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 8245,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7938,
                      "src": "6767:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$7934_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)"
                      }
                    },
                    "id": 8247,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 8246,
                      "name": "paramsHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8238,
                      "src": "6778:10:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6767:22:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$7934_storage",
                      "typeString": "struct SchemeRegistrar.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6740:49:39"
                },
                {
                  "assignments": [
                    8250
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8250,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6800:24:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 8249,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12909,
                        "src": "6800:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8253,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 8251,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8244,
                      "src": "6827:6:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                        "typeString": "struct SchemeRegistrar.Parameters memory"
                      }
                    },
                    "id": 8252,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 7933,
                    "src": "6827:14:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6800:41:39"
                },
                {
                  "assignments": [
                    8255
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 8255,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 8308,
                      "src": "6851:18:39",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 8254,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6851:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 8267,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 8258,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6888:1:39",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8259,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8244,
                          "src": "6891:6:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                            "typeString": "struct SchemeRegistrar.Parameters memory"
                          }
                        },
                        "id": 8260,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteRemoveParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 7931,
                        "src": "6891:23:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 8261,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "6916:3:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 8262,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6916:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8264,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8219,
                            "src": "6936:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8263,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6928:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8265,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6928:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8256,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8250,
                        "src": "6872:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 8257,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "6872:15:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 8266,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6872:73:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6851:94:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8277,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 8268,
                            "name": "organizationsProposals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7927,
                            "src": "6955:22:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                            }
                          },
                          "id": 8273,
                          "indexExpression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 8270,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8219,
                                "src": "6986:7:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 8269,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6978:7:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": "address"
                            },
                            "id": 8271,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6978:16:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "6955:40:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$7921_storage_$",
                            "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                          }
                        },
                        "id": 8274,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 8272,
                          "name": "proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8255,
                          "src": "6996:10:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6955:52:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$7921_storage",
                          "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                        }
                      },
                      "id": 8275,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "scheme",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 7914,
                      "src": "6955:59:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 8276,
                      "name": "_scheme",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8221,
                      "src": "7017:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "6955:69:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 8278,
                  "nodeType": "ExpressionStatement",
                  "src": "6955:69:39"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8281,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8219,
                            "src": "7068:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 8280,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7060:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8282,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7060:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8283,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8255,
                        "src": "7078:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8285,
                            "name": "intVote",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8250,
                            "src": "7098:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 8284,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7090:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 8286,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7090:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8287,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8221,
                        "src": "7108:7:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 8288,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8223,
                        "src": "7117:16:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 8279,
                      "name": "RemoveSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7898,
                      "src": "7039:20:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,string memory)"
                      }
                    },
                    "id": 8289,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7039:95:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8290,
                  "nodeType": "EmitStatement",
                  "src": "7034:100:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8304,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 8291,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "7144:13:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 8297,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 8293,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 8244,
                                "src": "7166:6:39",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$7934_memory_ptr",
                                  "typeString": "struct SchemeRegistrar.Parameters memory"
                                }
                              },
                              "id": 8294,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 7933,
                              "src": "7166:14:39",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 8292,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "7158:7:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 8295,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7158:23:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7144:38:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 8298,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 8296,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8255,
                        "src": "7183:10:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "7144:50:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 8300,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "7236:5:39",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 8301,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7236:12:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 8302,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8219,
                          "src": "7269:7:39",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8299,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "7197:12:39",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 8303,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7197:90:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "7144:143:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 8305,
                  "nodeType": "ExpressionStatement",
                  "src": "7144:143:39"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8306,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8255,
                    "src": "7304:10:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 8227,
                  "id": 8307,
                  "nodeType": "Return",
                  "src": "7297:17:39"
                }
              ]
            },
            "documentation": "@dev propose to remove a scheme for a controller\n@param _avatar the address of the controller from which we want to remove a scheme\n@param _scheme the address of the scheme we want to remove\n@param _descriptionHash proposal description hash\nNB: not only registers the proposal, but also votes for it",
            "id": 8309,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeToRemoveScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8224,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8219,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6497:14:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8218,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "6497:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8221,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6513:15:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8220,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6513:7:39",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8223,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6530:30:39",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 8222,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6530:6:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6496:65:39"
            },
            "returnParameters": {
              "id": 8227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8226,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8309,
                  "src": "6585:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8225,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6585:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6584:9:39"
            },
            "scope": 8310,
            "src": "6466:855:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 8311,
        "src": "429:6894:39"
      }
    ],
    "src": "0:7324:39"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.335Z",
  "devdoc": {
    "details": "The SchemeRegistrar is used for registering and unregistering schemes at organizations",
    "methods": {
      "executeProposal(bytes32,int256)": {
        "details": "execution of proposals, can only be called by the voting machine in which the vote is held.",
        "params": {
          "_param": "a parameter of the voting result, 1 yes and 2 is no.",
          "_proposalId": "the ID of the voting in the voting machine"
        }
      },
      "proposeScheme(address,address,bytes32,bytes4,string)": {
        "details": "create a proposal to register a schemeNB: not only proposes the vote, but also votes for it",
        "params": {
          "_avatar": "the address of the organization the scheme will be registered for",
          "_descriptionHash": "proposal's description hash",
          "_parametersHash": "a hash of the configuration of the _scheme",
          "_permissions": "the permission of the scheme to be registered",
          "_scheme": "the address of the scheme to be registered"
        },
        "return": "a proposal Id"
      },
      "proposeToRemoveScheme(address,address,string)": {
        "details": "propose to remove a scheme for a controller",
        "params": {
          "_avatar": "the address of the controller from which we want to remove a scheme",
          "_descriptionHash": "proposal description hash NB: not only registers the proposal, but also votes for it",
          "_scheme": "the address of the scheme we want to remove"
        }
      },
      "setParameters(bytes32,bytes32,address)": {
        "details": "hash the parameters, save them if necessary, and return the hash value"
      }
    },
    "title": "A registrar for Schemes for organizations"
  },
  "userdoc": {
    "methods": {}
  }
}