{
  "contractName": "UpgradeScheme",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "parameters",
      "outputs": [
        {
          "name": "voteParams",
          "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": "upgradeContract",
          "type": "address"
        },
        {
          "name": "params",
          "type": "bytes32"
        },
        {
          "name": "proposalType",
          "type": "uint256"
        }
      ],
      "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": "_newController",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "NewUpgradeProposal",
      "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": "_newUpgradeScheme",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_params",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "ChangeUpgradeSchemeProposal",
      "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": "_voteParams",
          "type": "bytes32"
        },
        {
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "setParameters",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_voteParams",
          "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": "_newController",
          "type": "address"
        },
        {
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeUpgrade",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_scheme",
          "type": "address"
        },
        {
          "name": "_params",
          "type": "bytes32"
        },
        {
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeChangeUpgradingScheme",
      "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\":\"voteParams\",\"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\":\"upgradeContract\",\"type\":\"address\"},{\"name\":\"params\",\"type\":\"bytes32\"},{\"name\":\"proposalType\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"getParametersHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"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\":false,\"inputs\":[{\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"setParameters\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"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\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_newController\",\"type\":\"address\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeUpgrade\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"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\":\"_params\",\"type\":\"bytes32\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeChangeUpgradingScheme\",\"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\":\"_newController\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"NewUpgradeProposal\",\"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\":\"_newUpgradeScheme\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_params\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"ChangeUpgradeSchemeProposal\",\"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 scheme is used to upgrade the controller of an organization to a new controller.\",\"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\"}},\"getParametersHash(bytes32,address)\":{\"details\":\"return a hash of the given parameters\"},\"proposeChangeUpgradingScheme(address,address,bytes32,string)\":{\"details\":\"propose to replace this scheme by another upgrading scheme\",\"params\":{\"_avatar\":\"avatar of the organization\",\"_descriptionHash\":\"proposal description hash\",\"_params\":\"the parameters of the new upgrading scheme\",\"_scheme\":\"address of the new upgrading scheme\"},\"return\":\"an id which represents the proposal\"},\"proposeUpgrade(address,address,string)\":{\"details\":\"propose an upgrade of the organization's controller\",\"params\":{\"_avatar\":\"avatar of the organization\",\"_descriptionHash\":\"proposal description hash\",\"_newController\":\"address of the new controller that is being proposed\"},\"return\":\"an id which represents the proposal\"},\"setParameters(bytes32,address)\":{\"details\":\"hash the parameters, save them if necessary, and return the hash value\"}},\"title\":\"A scheme to manage the upgrade of an organization.\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol\":\"UpgradeScheme\"},\"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/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzzr://6cd99ec0b19ae06f7845a3ca56d2dc43ec122cfa809969248e6742e0c56076ca\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzzr://29eac5d525cc39129df30c5b8deada4350d40c5261a85ce0b29c12fe80b10b15\"]},\"@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol\":{\"keccak256\":\"0xf1b96fe311f836e717959900926f7e3d7b55bf92d46e459bb8e021a9912156e8\",\"urls\":[\"bzzr://a38fa437eae408db640573db44948b00b3308a3831176caccf9a42ae909b2c41\"]},\"@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\":\"0x2bf5fba64fbda5605b9250ea8ca6d8e28dab41fb0e2b43c9145b91e1d0425eef\",\"urls\":[\"bzzr://bf7d5bb906c1f0f627d028214b0d8d2cbf0f766ead5d7b27f116b834255ffa76\"]},\"@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": "0x608060405234801561001057600080fd5b50611b9f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ee5760003560e060020a900480639588378e11610090578063bea75f281161006a578063bea75f2814610386578063d29b5d2f146103c2578063da816894146103f4578063f81f8bf6146104ba576100ee565b80639588378e146103065780639d4c162d14610332578063b551c37314610369576100ee565b806360bdbb3f116100cc57806360bdbb3f146101c357806368e14dac146101ef5780636b8eb4031461021b57806374ad5c3314610247576100ee565b806302506804146100f357806306e3a978146101315780632453732a14610185575b600080fd5b6101106004803603602081101561010957600080fd5b50356104ec565b60408051928352600160a060020a0390911660208301528051918290030190f35b61015d6004803603604081101561014757600080fd5b50600160a060020a03813516906020013561050e565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b6101b16004803603604081101561019b57600080fd5b5080359060200135600160a060020a0316610542565b60408051918252519081900360200190f35b610110600480360360408110156101d957600080fd5b50600160a060020a038135169060200135610589565b6101b16004803603604081101561020557600080fd5b5080359060200135600160a060020a03166105b3565b6101b16004803603604081101561023157600080fd5b50600160a060020a038135169060200135610605565b6101b16004803603606081101561025d57600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506106c8945050505050565b6101b16004803603604081101561031c57600080fd5b50600160a060020a03813516906020013561094c565b6103556004803603604081101561034857600080fd5b5080359060200135610a78565b604080519115158252519081900360200190f35b6101b16004803603602081101561037f57600080fd5b5035610f6f565b6103556004803603608081101561039c57600080fd5b50600160a060020a038135811691602081013590911690604081013590606001356110c7565b610355600480360360608110156103d857600080fd5b50803590600160a060020a036020820135169060400135611285565b6101b16004803603608081101561040a57600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044557600080fd5b82018360208201111561045757600080fd5b8035906020019184600183028401116401000000008311171561047957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061143a945050505050565b610355600480360360608110156104d057600080fd5b50803590600160a060020a036020820135169060400135611747565b60026020526000908152604090208054600190910154600160a060020a031682565b60016020818152600093845260408085209091529183529120805491810154600290910154600160a060020a039092169183565b6040805160208082018590526c01000000000000000000000000600160a060020a038516028284015282516034818403018152605490920190925280519101205b92915050565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b6000806105c08484610542565b60008181526002602052604090208581556001018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff1990911617905591505092915050565b33600090815260208181526040808320848452909152812060010154600160a060020a031680151561063b576000915050610583565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b15801561069457600080fd5b505afa1580156106a8573d6000803e3d6000fd5b505050506040513d60208110156106be57600080fd5b5051949350505050565b60006106d2611b1c565b600260006106df876118c4565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908b166064840152935190955091936388737b5e9260848084019382900301818787803b15801561078157600080fd5b505af1158015610795573d6000803e3d6000fd5b505050506040513d60208110156107ab57600080fd5b505190506107b7611b33565b506040805160608082018352600160a060020a038881168084526000602080860182815260018789018181528f87168086528285528a86208c875285528a86208a51815473ffffffffffffffffffffffffffffffffffffffff1916908a16178155935192840192909255516002909201919091558982015188519485528483018981528d51998601999099528c519798951696899691957f5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0958f958f95919492939285019291860191908190849084905b838110156108a0578181015183820152602001610888565b50505050905090810190601f1680156108cd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a450604080518082018252438152600160a060020a03978816602080830191825294850151891660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff19169290961691909117909455509192915050565b6000610956611b1c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561099f576000915050610583565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156109df57600080fd5b505afa1580156109f3573d6000803e3d6000fd5b505050506040513d6020811015610a0957600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b15801561069457600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515610ae3576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320878452909152902060010154600160a060020a0316610b10611b33565b50600160a060020a0380821660009081526001602081815260408084208a85528252928390208351606081018552815490951685529182015490840152600201549082018190521515610b6257600080fd5b600160a060020a03821660008181526001602081815260408084208b8552909152808320805473ffffffffffffffffffffffffffffffffffffffff191681559182018390556002909101829055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610f2357600082600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610c1d57600080fd5b505afa158015610c31573d6000803e3d6000fd5b505050506040513d6020811015610c4757600080fd5b5051604083015190915060011415610cff578151604080517f42427bf8000000000000000000000000000000000000000000000000000000008152600160a060020a03928316600482015285831660248201529051918316916342427bf8916044808201926020929091908290030181600087803b158015610cc857600080fd5b505af1158015610cdc573d6000803e3d6000fd5b505050506040513d6020811015610cf257600080fd5b50511515610cff57600080fd5b816040015160021415610f2157604080517f9b51e35a000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0385811660248301529151600092841691639b51e35a916044808301926020929190829003018186803b158015610d7657600080fd5b505afa158015610d8a573d6000803e3d6000fd5b505050506040513d6020811015610da057600080fd5b50518351602085810151604080517fe869d45f000000000000000000000000000000000000000000000000000000008152600160a060020a03948516600482015260248101929092527fffffffff00000000000000000000000000000000000000000000000000000000851660448301528884166064830152519394509185169263e869d45f9260848082019392918290030181600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b505050506040513d6020811015610e6f57600080fd5b50511515610e7c57600080fd5b8251600160a060020a03163014610f1f5781600160a060020a0316636c525b13856040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610ee857600080fd5b505af1158015610efc573d6000803e3d6000fd5b505050506040513d6020811015610f1257600080fd5b50511515610f1f57600080fd5b505b505b6040805186815290518791600160a060020a038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b6000610f79611b1c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515610fc25760009150506110c2565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561100257600080fd5b505afa158015611016573d6000803e3d6000fd5b505050506040513d602081101561102c57600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561109257600080fd5b505afa1580156110a6573d6000803e3d6000fd5b505050506040513d60208110156110bc57600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611132576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561116857600092505061127c565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156111a457600080fd5b505afa1580156111b8573d6000803e3d6000fd5b505050506040513d60208110156111ce57600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561124c57600080fd5b505af1158015611260573d6000803e3d6000fd5b505050506040513d602081101561127657600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156112f0576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515611326576000925050611432565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561136257600080fd5b505afa158015611376573d6000803e3d6000fd5b505050506040513d602081101561138c57600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b505050506040513d602081101561142c57600080fd5b50519250505b509392505050565b6000611444611b1c565b60026000611451886118c4565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908c16606484015293519095509293919284926388737b5e926084808201939182900301818787803b1580156114f857600080fd5b505af115801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b5051600160a060020a03891660009081526001602090815260408083208484529091529020600201549091501561155857600080fd5b611560611b33565b60606040519081016040528089600160a060020a031681526020018881526020016002815250905080600160008b600160a060020a0316600160a060020a03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a815481600160a060020a030219169083600160a060020a0316021790555060208201518160010155604082015181600201559050508360200151600160a060020a0316828a600160a060020a03167f54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b88b8b8b6040518084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561169b578181015183820152602001611683565b50505050905090810190601f1680156116c85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a450604080518082018252438152600160a060020a03998a166020808301918252948b1660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff191692909816919091179096555093949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156117b2576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156117e8576000925050611432565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561182457600080fd5b505afa158015611838573d6000803e3d6000fd5b505050506040513d602081101561184e57600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561140257600080fd5b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561190257600080fd5b505afa158015611916573d6000803e3d6000fd5b505050506040513d602081101561192c57600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b15801561199757600080fd5b505afa1580156119ab573d6000803e3d6000fd5b505050506040513d60208110156119c157600080fd5b50511515611a19576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611a5557600080fd5b505afa158015611a69573d6000803e3d6000fd5b505050506040513d6020811015611a7f57600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611aea57600080fd5b505afa158015611afe573d6000803e3d6000fd5b505050506040513d6020811015611b1457600080fd5b505192915050565b604080518082019091526000808252602082015290565b60408051606081018252600080825260208201819052918101919091529056fe6f6e6c7920566f74696e674d616368696e650000000000000000000000000000a165627a7a72305820524e368f72648f2a9961a45b574551890a4d8f61ee0f2afefbbb808daa8032cc0029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ee5760003560e060020a900480639588378e11610090578063bea75f281161006a578063bea75f2814610386578063d29b5d2f146103c2578063da816894146103f4578063f81f8bf6146104ba576100ee565b80639588378e146103065780639d4c162d14610332578063b551c37314610369576100ee565b806360bdbb3f116100cc57806360bdbb3f146101c357806368e14dac146101ef5780636b8eb4031461021b57806374ad5c3314610247576100ee565b806302506804146100f357806306e3a978146101315780632453732a14610185575b600080fd5b6101106004803603602081101561010957600080fd5b50356104ec565b60408051928352600160a060020a0390911660208301528051918290030190f35b61015d6004803603604081101561014757600080fd5b50600160a060020a03813516906020013561050e565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b6101b16004803603604081101561019b57600080fd5b5080359060200135600160a060020a0316610542565b60408051918252519081900360200190f35b610110600480360360408110156101d957600080fd5b50600160a060020a038135169060200135610589565b6101b16004803603604081101561020557600080fd5b5080359060200135600160a060020a03166105b3565b6101b16004803603604081101561023157600080fd5b50600160a060020a038135169060200135610605565b6101b16004803603606081101561025d57600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506106c8945050505050565b6101b16004803603604081101561031c57600080fd5b50600160a060020a03813516906020013561094c565b6103556004803603604081101561034857600080fd5b5080359060200135610a78565b604080519115158252519081900360200190f35b6101b16004803603602081101561037f57600080fd5b5035610f6f565b6103556004803603608081101561039c57600080fd5b50600160a060020a038135811691602081013590911690604081013590606001356110c7565b610355600480360360608110156103d857600080fd5b50803590600160a060020a036020820135169060400135611285565b6101b16004803603608081101561040a57600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044557600080fd5b82018360208201111561045757600080fd5b8035906020019184600183028401116401000000008311171561047957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061143a945050505050565b610355600480360360608110156104d057600080fd5b50803590600160a060020a036020820135169060400135611747565b60026020526000908152604090208054600190910154600160a060020a031682565b60016020818152600093845260408085209091529183529120805491810154600290910154600160a060020a039092169183565b6040805160208082018590526c01000000000000000000000000600160a060020a038516028284015282516034818403018152605490920190925280519101205b92915050565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b6000806105c08484610542565b60008181526002602052604090208581556001018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff1990911617905591505092915050565b33600090815260208181526040808320848452909152812060010154600160a060020a031680151561063b576000915050610583565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b15801561069457600080fd5b505afa1580156106a8573d6000803e3d6000fd5b505050506040513d60208110156106be57600080fd5b5051949350505050565b60006106d2611b1c565b600260006106df876118c4565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908b166064840152935190955091936388737b5e9260848084019382900301818787803b15801561078157600080fd5b505af1158015610795573d6000803e3d6000fd5b505050506040513d60208110156107ab57600080fd5b505190506107b7611b33565b506040805160608082018352600160a060020a038881168084526000602080860182815260018789018181528f87168086528285528a86208c875285528a86208a51815473ffffffffffffffffffffffffffffffffffffffff1916908a16178155935192840192909255516002909201919091558982015188519485528483018981528d51998601999099528c519798951696899691957f5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0958f958f95919492939285019291860191908190849084905b838110156108a0578181015183820152602001610888565b50505050905090810190601f1680156108cd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a450604080518082018252438152600160a060020a03978816602080830191825294850151891660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff19169290961691909117909455509192915050565b6000610956611b1c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561099f576000915050610583565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156109df57600080fd5b505afa1580156109f3573d6000803e3d6000fd5b505050506040513d6020811015610a0957600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b15801561069457600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515610ae3576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320878452909152902060010154600160a060020a0316610b10611b33565b50600160a060020a0380821660009081526001602081815260408084208a85528252928390208351606081018552815490951685529182015490840152600201549082018190521515610b6257600080fd5b600160a060020a03821660008181526001602081815260408084208b8552909152808320805473ffffffffffffffffffffffffffffffffffffffff191681559182018390556002909101829055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610f2357600082600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610c1d57600080fd5b505afa158015610c31573d6000803e3d6000fd5b505050506040513d6020811015610c4757600080fd5b5051604083015190915060011415610cff578151604080517f42427bf8000000000000000000000000000000000000000000000000000000008152600160a060020a03928316600482015285831660248201529051918316916342427bf8916044808201926020929091908290030181600087803b158015610cc857600080fd5b505af1158015610cdc573d6000803e3d6000fd5b505050506040513d6020811015610cf257600080fd5b50511515610cff57600080fd5b816040015160021415610f2157604080517f9b51e35a000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0385811660248301529151600092841691639b51e35a916044808301926020929190829003018186803b158015610d7657600080fd5b505afa158015610d8a573d6000803e3d6000fd5b505050506040513d6020811015610da057600080fd5b50518351602085810151604080517fe869d45f000000000000000000000000000000000000000000000000000000008152600160a060020a03948516600482015260248101929092527fffffffff00000000000000000000000000000000000000000000000000000000851660448301528884166064830152519394509185169263e869d45f9260848082019392918290030181600087803b158015610e4557600080fd5b505af1158015610e59573d6000803e3d6000fd5b505050506040513d6020811015610e6f57600080fd5b50511515610e7c57600080fd5b8251600160a060020a03163014610f1f5781600160a060020a0316636c525b13856040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610ee857600080fd5b505af1158015610efc573d6000803e3d6000fd5b505050506040513d6020811015610f1257600080fd5b50511515610f1f57600080fd5b505b505b6040805186815290518791600160a060020a038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b6000610f79611b1c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515610fc25760009150506110c2565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561100257600080fd5b505afa158015611016573d6000803e3d6000fd5b505050506040513d602081101561102c57600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561109257600080fd5b505afa1580156110a6573d6000803e3d6000fd5b505050506040513d60208110156110bc57600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611132576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561116857600092505061127c565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156111a457600080fd5b505afa1580156111b8573d6000803e3d6000fd5b505050506040513d60208110156111ce57600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561124c57600080fd5b505af1158015611260573d6000803e3d6000fd5b505050506040513d602081101561127657600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156112f0576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515611326576000925050611432565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561136257600080fd5b505afa158015611376573d6000803e3d6000fd5b505050506040513d602081101561138c57600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b505050506040513d602081101561142c57600080fd5b50519250505b509392505050565b6000611444611b1c565b60026000611451886118c4565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908c16606484015293519095509293919284926388737b5e926084808201939182900301818787803b1580156114f857600080fd5b505af115801561150c573d6000803e3d6000fd5b505050506040513d602081101561152257600080fd5b5051600160a060020a03891660009081526001602090815260408083208484529091529020600201549091501561155857600080fd5b611560611b33565b60606040519081016040528089600160a060020a031681526020018881526020016002815250905080600160008b600160a060020a0316600160a060020a03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a815481600160a060020a030219169083600160a060020a0316021790555060208201518160010155604082015181600201559050508360200151600160a060020a0316828a600160a060020a03167f54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b88b8b8b6040518084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561169b578181015183820152602001611683565b50505050905090810190601f1680156116c85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a450604080518082018252438152600160a060020a03998a166020808301918252948b1660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff191692909816919091179096555093949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156117b2576040805160e560020a62461bcd0281526020600482015260126024820152600080516020611b54833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156117e8576000925050611432565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561182457600080fd5b505afa158015611838573d6000803e3d6000fd5b505050506040513d602081101561184e57600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561140257600080fd5b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561190257600080fd5b505afa158015611916573d6000803e3d6000fd5b505050506040513d602081101561192c57600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b15801561199757600080fd5b505afa1580156119ab573d6000803e3d6000fd5b505050506040513d60208110156119c157600080fd5b50511515611a19576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611a5557600080fd5b505afa158015611a69573d6000803e3d6000fd5b505050506040513d6020811015611a7f57600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611aea57600080fd5b505afa158015611afe573d6000803e3d6000fd5b505050506040513d6020811015611b1457600080fd5b505192915050565b604080518082019091526000808252602082015290565b60408051606081018252600080825260208201819052918101919091529056fe6f6e6c7920566f74696e674d616368696e650000000000000000000000000000a165627a7a72305820524e368f72648f2a9961a45b574551890a4d8f61ee0f2afefbbb808daa8032cc0029",
  "sourceMap": "429:6726:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6726:51;;;;;;;",
  "deployedSourceMap": "429:6726:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6726:51;;;;;;;;-1:-1:-1;;;429:6726:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1882:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1882:46:51;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1882:46:51;;;;;;;;;;;;;;;;1598:81;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1598:81:51;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1598:81:51;;;;;;;;;;;;;;;;;;;;;;;;;4160:207;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4160:207:51;;;;;;-1:-1:-1;;;;;4160:207:51;;:::i;:::-;;;;;;;;;;;;;;;;598:73:52;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:52;;;;;;;;:::i;3756:334:51:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3756:334:51;;;;;;-1:-1:-1;;;;;3756:334:51;;:::i;2000:346:52:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:52;;;;;;;;:::i;4686:939:51:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;4686:939:51;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4686:939:51;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4686:939:51;;;;;;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;4686:939:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4686:939:51;;-1:-1:-1;4686:939:51;;-1:-1:-1;;;;;4686:939:51:i;2693:345:52:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:52;;;;;;;;:::i;2194:1459:51:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2194:1459:51;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2352:335:52;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:52;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:52;;;;;;;;;;;;;;;;;;;;;;:::i;678:410::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:52;;;-1:-1:-1;;;;;678:410:52;;;;;;;;;;:::i;5991:1162:51:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5991:1162:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5991:1162:51;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5991:1162:51;;;;;;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;5991:1162:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5991:1162:51;;-1:-1:-1;5991:1162:51;;-1:-1:-1;;;;;5991:1162:51:i;1094:410:52:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:52;;;-1:-1:-1;;;;;1094:410:52;;;;;;;;;;:::i;1882:46:51:-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1882:46:51;;:::o;1598:81::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1598:81:51;;;;;:::o;4160:207::-;4319:39;;;;;;;;;;;-1:-1:-1;;;;;4319:39:51;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;4319:39:51;;;;;;;4309:50;;;;;4160:207;;;;;:::o;598:73:52:-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:52;;:::o;3756:334:51:-;3864:7;3887:18;3908:40;3926:11;3939:8;3908:17;:40::i;:::-;3958:22;;;;:10;:22;;;;;:47;;;4015:30;;:41;;-1:-1:-1;;;;;4015:41:51;;-1:-1:-1;;4015:41:51;;;;;;3887:61;-1:-1:-1;;3756:334:51;;;;:::o;2000:346:52:-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:52;2190:58;;2186:97;;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:52;;2331:6;2299:40;;;;;-1:-1:-1;;;2299:40:52;;;;;;;-1:-1:-1;;;;;2299:40:52;-1:-1:-1;;;;;2299:40:52;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:52;;2000:346;-1:-1:-1;;;;2000:346:52:o;4686:939:51:-;4813:7;4836:24;;:::i;:::-;4863:10;:48;4874:36;4902:7;4874:27;:36::i;:::-;4863:48;;;;;;;;;;;;;;-1:-1:-1;4863:48:51;;;4836:75;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4836:75:51;;;;;;;;;4942:74;;;;;4965:1;4942:74;;;;;;;;;;;4987:10;4942:74;;;;;;;;;;;;;4836:75;;-1:-1:-1;;;4942:22:51;;:74;;;;;;;;;;-1:-1:-1;4836:75:51;4942:74;;;5:2:-1;;;;30:1;27;20:12;5:2;4942:74:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4942:74:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4942:74:51;;-1:-1:-1;5026:31:51;;:::i;:::-;-1:-1:-1;5060:133:51;;;;;;;;;-1:-1:-1;;;;;5060:133:51;;;;;;-1:-1:-1;5060:133:51;;;;;;;5172:10;5060:133;;;;;;5203:40;;;;;;;;;;;;:52;;;;;;;;:63;;;;-1:-1:-1;;5203:63:51;;;;;;;;;;;;;;;;;;;;;;;;;5363:14;;;;5281:157;;;;;;;;;;;;;;;;;;;;;;5060:133;;5281:157;;;5203:52;;:40;;5281:157;;5060:133;;5281:157;;;;;;;;;;;;;;;;;;;;;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;5281:157:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5501:90:51;;;;;;;;5540:12;5501:90;;-1:-1:-1;;;;;5501:90:51;;;;;;;;;;5470:14;;;;5448:38;;-1:-1:-1;5448:38:51;;;;;;;;;:50;;;;;;;;;;:143;;;;;;;;;;;-1:-1:-1;;5448:143:51;;;;;;;;;;;;-1:-1:-1;5448:50:51;;4686:939;-1:-1:-1;;4686:939:51:o;2693:345:52:-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:52;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:52;;;;;;;2876:28;2872:67;;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:52;;:34;;;;;-1:-1:-1;;;2955:34:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:52;3010:20;;2955:76;;;;;;-1:-1:-1;;;;;2955:76:52;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2194:1459:51;443:10:52;2303:4:51;429:25:52;;;;;;;;;;;:38;;;;;;;;:45;;;2282:11:51;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:52;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:52;;;;;;;;;;;;;;;2349:10:51;2319:13;2335:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2335:45:51;2390:31;;:::i;:::-;-1:-1:-1;;;;;;2424:39:51;;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2390:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:26;;2486:35;;;;;;-1:-1:-1;;;;;2538:39:51;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2531:59;;-1:-1:-1;;2531:59:51;;;;;;;;;;;;;;;;2605:45;2578:11;;2538:39;2605:45;;;2705:6;2715:1;2705:11;2701:856;;;2782:30;2835:6;-1:-1:-1;;;;;2835:12:51;;:14;;;;;-1:-1:-1;;;2835:14:51;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2835:14:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2835:14:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2835:14:51;2901:21;;;;2835:14;;-1:-1:-1;2926:1:51;2901:26;2897:136;;;2984:24;;2955:62;;;;;;-1:-1:-1;;;;;2955:62:51;;;;;;;;;;;;;;;;:28;;;;;;:62;;;;;;;;;;;;;;;2984:24;2955:28;:62;;;5:2:-1;;;;30:1;27;20:12;5:2;2955:62:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:62:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:62:51;2947:71;;;;;;;;3087:8;:21;;;3112:1;3087:26;3083:464;;;3154:63;;;;;;3194:4;3154:63;;;;-1:-1:-1;;;;;3154:63:51;;;;;;;;;3133:18;;3154:31;;;;;:63;;;;;;;;;;;;;;:31;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;3154:63:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3154:63:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3154:63:51;3286:24;;3154:63;3312:15;;;;3260:98;;;;;;-1:-1:-1;;;;;3260:98:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3154:63;;-1:-1:-1;3260:25:51;;;;;;:98;;;;;3154:63;3260:98;;;;;;3286:24;3260:25;:98;;;5:2:-1;;;;30:1;27;20:12;5:2;3260:98:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3260:98:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3260:98:51;3235:141;;;;;;;;3398:24;;-1:-1:-1;;;;;3398:41:51;3434:4;3398:41;3394:139;;3471:10;-1:-1:-1;;;;;3471:25:51;;3505:6;3471:42;;;;;-1:-1:-1;;;3471:42:51;;;;;;;-1:-1:-1;;;;;3471:42:51;-1:-1:-1;;;;;3471:42:51;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3471:42:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3471:42:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3471:42:51;3463:51;;;;;;;;3083:464;;2701:856;;3571:54;;;;;;;;3605:11;;-1:-1:-1;;;;;3571:54:51;;;;;;;;;;;;-1:-1:-1;3642:4:51;;2194:1459;-1:-1:-1;;;;;2194:1459:51:o;2352:335:52:-;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:52;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:52;;;;;;;2531:28;2527:67;;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:52;;:34;;;;;-1:-1:-1;;;2610:34:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:52;2659:20;;2610:70;;;;;;;;;;;;;;-1:-1:-1;;;;;2610:48:52;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:52;;-1:-1:-1;;2352:335:52;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:52;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:52;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:52;1810:19;;1806:62;;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:52;;:14;;;;;-1:-1:-1;;;1904:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:52;1884:103;;;;;;-1:-1:-1;;;;;1884:103:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:52;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:52;;-1:-1:-1;;529:1:52;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:52;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:52;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:52;917:19;;913:62;;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:52;;:14;;;;;-1:-1:-1;;;1011:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:52;991:90;;;;;;;;;;;;-1:-1:-1;;;;;991:90:52;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:52;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:52;;-1:-1:-1;;529:1:52;678:410;;;;;;:::o;5991:1162:51:-;6180:7;6203:24;;:::i;:::-;6230:10;:48;6241:36;6269:7;6241:27;:36::i;:::-;6230:48;;;;;;;;;;;;;;-1:-1:-1;6230:48:51;;;6203:75;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6203:75:51;;;;;;;;;6360:67;;;;;6376:1;6360:67;;;;;;;;;;;6398:10;6360:67;;;;;;;;;;;;;6203:75;;-1:-1:-1;6203:75:51;;-1:-1:-1;;6203:75:51;;6360:15;;:67;;;;;;;;;;;-1:-1:-1;6203:75:51;6360:67;;;5:2:-1;;;;30:1;27;20:12;5:2;6360:67:51;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6360:67:51;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6360:67:51;-1:-1:-1;;;;;6445:40:51;;;;;;:22;6360:67;6445:40;;;;;;;:52;;;;;;;;:65;;;6360:67;;-1:-1:-1;6445:70:51;6437:79;;;;;;6527:31;;:::i;:::-;6561:123;;;;;;;;;6637:7;-1:-1:-1;;;;;6561:123:51;;;;;6666:7;6561:123;;;;6605:1;6561:123;;;6527:157;;6749:8;6694:22;:40;6725:7;-1:-1:-1;;;;;6694:40:51;-1:-1:-1;;;;;6694:40:51;;;;;;;;;;;;:52;6735:10;6694:52;;;;;;;;;;;:63;;;;;;;;;;;;;-1:-1:-1;;;;;6694:63:51;;;;;-1:-1:-1;;;;;6694:63:51;;;;;;;;;;;;;;;;;;;;;;;;;6876:6;:14;;;-1:-1:-1;;;;;6773:200:51;6844:10;6822:7;-1:-1:-1;;;;;6773:200:51;;6905:7;6926;6947:16;6773:200;;;;-1:-1:-1;;;;;6773:200:51;-1:-1:-1;;;;;6773:200:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;6773:200:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7029:90:51;;;;;;;;7068:12;7029:90;;-1:-1:-1;;;;;7029:90:51;;;;;;;;;;6983:31;;;-1:-1:-1;6983:31:51;;;;;;;;;:43;;;;;;;;;;:136;;;;;;;;;;;-1:-1:-1;;6983:136:51;;;;;;;;;;;;-1:-1:-1;6983:43:51;;5991:1162;-1:-1:-1;;;;5991:1162:51:o;1094:410:52:-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:52;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:52;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:52;1333:19;;1329:62;;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:52;;:14;;;;;-1:-1:-1;;;1427:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:52;1407:90;;;;;;;;;;;;-1:-1:-1;;;;;1407:90:52;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:52;:90;;;5:2:-1;;;;30:1;27;20:12;299:340:49;374:7;421;-1:-1:-1;;;;;421:13:49;;:15;;;;;-1:-1:-1;;;421:15:49;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;421:15:49;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;421:15:49;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;421:15:49;401:88;;;;;;465:4;401:88;;;;-1:-1:-1;;;;;401:88:49;;;;;;;;;:55;;;;;;;:88;;;;;421:15;;401:88;;;;;;;:55;:88;;;5:2:-1;;;;30:1;27;20:12;5:2;401:88:49;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;401:88:49;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;401:88:49;393:133;;;;;;;-1:-1:-1;;;;;393:133:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:7;-1:-1:-1;;;;;563:13:49;;:15;;;;;-1:-1:-1;;;563:15:49;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:15:49;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;563:15:49;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;563:15:49;543:89;;;;;;608:4;543:89;;;;-1:-1:-1;;;;;543:89:49;;;;;;;;;:56;;;;;;;:89;;;;;563:15;;543:89;;;;;;;:56;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;543:89:49;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;543:89:49;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;543:89:49;;299:340;-1:-1:-1;;299:340:49:o;429:6726:51:-;;;;;;;;;;-1:-1:-1;429:6726:51;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;429:6726:51;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\";\nimport \"@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol\";\nimport \"./UniversalScheme.sol\";\nimport \"../votingMachines/VotingMachineCallbacks.sol\";\n\n\n/**\n * @title A scheme to manage the upgrade of an organization.\n * @dev The scheme is used to upgrade the controller of an organization to a new controller.\n */\n\ncontract UpgradeScheme is UniversalScheme, VotingMachineCallbacks, ProposalExecuteInterface {\n\n    event NewUpgradeProposal(\n        address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _intVoteInterface,\n        address _newController,\n        string _descriptionHash\n    );\n\n    event ChangeUpgradeSchemeProposal(\n        address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _intVoteInterface,\n        address _newUpgradeScheme,\n        bytes32 _params,\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    // Details of an upgrade proposal:\n    struct UpgradeProposal {\n        address upgradeContract; // Either the new controller we upgrade to, or the new upgrading scheme.\n        bytes32 params; // Params for the new upgrading scheme.\n        uint256 proposalType; // 1: Upgrade controller, 2: change upgrade scheme.\n    }\n\n    // A mapping from the organization's (Avatar) address to the saved data of the organization:\n    mapping(address=>mapping(bytes32=>UpgradeProposal)) public organizationsProposals;\n\n    // A mapping from hashes to parameters (use to store a particular configuration on the controller)\n    struct Parameters {\n        bytes32 voteParams;\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        UpgradeProposal memory proposal = organizationsProposals[address(avatar)][_proposalId];\n        require(proposal.proposalType != 0);\n        delete organizationsProposals[address(avatar)][_proposalId];\n        emit ProposalDeleted(address(avatar), _proposalId);\n        // Check if vote was successful:\n        if (_param == 1) {\n\n        // Define controller and get the params:\n            ControllerInterface controller = ControllerInterface(avatar.owner());\n        // Upgrading controller:\n            if (proposal.proposalType == 1) {\n                require(controller.upgradeController(proposal.upgradeContract, avatar));\n            }\n\n        // Changing upgrade scheme:\n            if (proposal.proposalType == 2) {\n                bytes4 permissions = controller.getSchemePermissions(address(this), address(avatar));\n                require(\n                controller.registerScheme(proposal.upgradeContract, proposal.params, permissions, address(avatar))\n                );\n                if (proposal.upgradeContract != address(this)) {\n                    require(controller.unregisterSelf(address(avatar)));\n                }\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 _voteParams,\n        IntVoteInterface _intVote\n    ) public returns(bytes32)\n    {\n        bytes32 paramsHash = getParametersHash(_voteParams, _intVote);\n        parameters[paramsHash].voteParams = _voteParams;\n        parameters[paramsHash].intVote = _intVote;\n        return paramsHash;\n    }\n\n    /**\n    * @dev return a hash of the given parameters\n    */\n    function getParametersHash(\n        bytes32 _voteParams,\n        IntVoteInterface _intVote\n    ) public pure returns(bytes32)\n    {\n        return  (keccak256(abi.encodePacked(_voteParams, _intVote)));\n    }\n\n    /**\n    * @dev propose an upgrade of the organization's controller\n    * @param _avatar avatar of the organization\n    * @param _newController address of the new controller that is being proposed\n    * @param _descriptionHash proposal description hash\n    * @return an id which represents the proposal\n    */\n    function proposeUpgrade(Avatar _avatar, address _newController, string memory _descriptionHash)\n        public\n        returns(bytes32)\n    {\n        Parameters memory params = parameters[getParametersFromController(_avatar)];\n        bytes32 proposalId = params.intVote.propose(2, params.voteParams, msg.sender, address(_avatar));\n        UpgradeProposal memory proposal = UpgradeProposal({\n            proposalType: 1,\n            upgradeContract: _newController,\n            params: bytes32(0)\n        });\n        organizationsProposals[address(_avatar)][proposalId] = proposal;\n        emit NewUpgradeProposal(\n        address(_avatar),\n        proposalId,\n        address(params.intVote),\n        _newController,\n        _descriptionHash\n        );\n        proposalsInfo[address(params.intVote)][proposalId] = ProposalInfo({\n            blockNumber:block.number,\n            avatar:_avatar\n        });\n        return proposalId;\n    }\n\n    /**\n    * @dev propose to replace this scheme by another upgrading scheme\n    * @param _avatar avatar of the organization\n    * @param _scheme address of the new upgrading scheme\n    * @param _params the parameters of the new upgrading scheme\n    * @param _descriptionHash proposal description hash\n    * @return an id which represents the proposal\n    */\n    function proposeChangeUpgradingScheme(\n        Avatar _avatar,\n        address _scheme,\n        bytes32 _params,\n        string memory _descriptionHash\n    )\n        public\n        returns(bytes32)\n    {\n        Parameters memory params = parameters[getParametersFromController(_avatar)];\n        IntVoteInterface intVote = params.intVote;\n        bytes32 proposalId = intVote.propose(2, params.voteParams, msg.sender, address(_avatar));\n        require(organizationsProposals[address(_avatar)][proposalId].proposalType == 0);\n\n        UpgradeProposal memory proposal = UpgradeProposal({\n            proposalType: 2,\n            upgradeContract: _scheme,\n            params: _params\n        });\n        organizationsProposals[address(_avatar)][proposalId] = proposal;\n\n        emit ChangeUpgradeSchemeProposal(\n            address(_avatar),\n            proposalId,\n            address(params.intVote),\n            _scheme,\n            _params,\n            _descriptionHash\n        );\n        proposalsInfo[address(intVote)][proposalId] = ProposalInfo({\n            blockNumber:block.number,\n            avatar:_avatar\n        });\n        return proposalId;\n    }\n}\n",
  "sourcePath": "@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol",
    "exportedSymbols": {
      "UpgradeScheme": [
        10302
      ]
    },
    "id": 10303,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9847,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:51"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 9848,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 15183,
        "src": "25:71:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "id": 9849,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 15195,
        "src": "97:79:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 9850,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 9835,
        "src": "177:31:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 9851,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 10603,
        "src": "209:54:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9852,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9834,
              "src": "455:15:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$9834",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 9853,
            "nodeType": "InheritanceSpecifier",
            "src": "455:15:51"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9854,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10602,
              "src": "472:22:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$10602",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 9855,
            "nodeType": "InheritanceSpecifier",
            "src": "472:22:51"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9856,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15194,
              "src": "496:24:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$15194",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 9857,
            "nodeType": "InheritanceSpecifier",
            "src": "496:24:51"
          }
        ],
        "contractDependencies": [
          9834,
          9845,
          10602,
          15194,
          15258
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme to manage the upgrade of an organization.\n@dev The scheme is used to upgrade the controller of an organization to a new controller.",
        "fullyImplemented": true,
        "id": 10302,
        "linearizedBaseContracts": [
          10302,
          15194,
          10602,
          15258,
          9834,
          9845
        ],
        "name": "UpgradeScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 9869,
            "name": "NewUpgradeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9868,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9859,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "562:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9858,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9861,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "595:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9860,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9863,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "632:33:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9862,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9865,
                  "indexed": false,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "675:22:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9864,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9867,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "707:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9866,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "707:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:184:51"
            },
            "src": "528:209:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9883,
            "name": "ChangeUpgradeSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9882,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9871,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "786:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9870,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "786:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9873,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "819:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9872,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "819:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9875,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "856:33:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9874,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "856:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9877,
                  "indexed": false,
                  "name": "_newUpgradeScheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "899:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9876,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "899:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9879,
                  "indexed": false,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "934:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9878,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "934:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9881,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "959:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9880,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "959:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "776:212:51"
            },
            "src": "743:246:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9891,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9890,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9885,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1018:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9884,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1018:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9887,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1043:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9886,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1043:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9889,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1072:13:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 9888,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1017:69:51"
            },
            "src": "995:92:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9897,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9896,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9893,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9897,
                  "src": "1114:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9892,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1114:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9895,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9897,
                  "src": "1139:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9894,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1139:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1113:54:51"
            },
            "src": "1092:76:51"
          },
          {
            "canonicalName": "UpgradeScheme.UpgradeProposal",
            "id": 9904,
            "members": [
              {
                "constant": false,
                "id": 9899,
                "name": "upgradeContract",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1246:23:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 9898,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1246:7:51",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9901,
                "name": "params",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1352:14:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 9900,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1352:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9903,
                "name": "proposalType",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1416:20:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 9902,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1416:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "UpgradeProposal",
            "nodeType": "StructDefinition",
            "scope": 10302,
            "src": "1213:282:51",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9910,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 10302,
            "src": "1598:81:51",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
            },
            "typeName": {
              "id": 9909,
              "keyType": {
                "id": 9905,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1606:7:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1598:51:51",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
              },
              "valueType": {
                "id": 9908,
                "keyType": {
                  "id": 9906,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1623:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1615:33:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                  "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 9907,
                  "name": "UpgradeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 9904,
                  "src": "1632:15:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                    "typeString": "struct UpgradeScheme.UpgradeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "UpgradeScheme.Parameters",
            "id": 9915,
            "members": [
              {
                "constant": false,
                "id": 9912,
                "name": "voteParams",
                "nodeType": "VariableDeclaration",
                "scope": 9915,
                "src": "1817:18:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 9911,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1817:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9914,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 9915,
                "src": "1845:24:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 9913,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15182,
                  "src": "1845:16:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 10302,
            "src": "1789:87:51",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9919,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 10302,
            "src": "1882:46:51",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
            },
            "typeName": {
              "id": 9918,
              "keyType": {
                "id": 9916,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1890:7:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1882:28:51",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 9917,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 9915,
                "src": "1899:10:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                  "typeString": "struct UpgradeScheme.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10061,
              "nodeType": "Block",
              "src": "2309:1344:51",
              "statements": [
                {
                  "assignments": [
                    9932
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9932,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10061,
                      "src": "2319:13:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9931,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "2319:6:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9940,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9933,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "2335:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 9936,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9934,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "2349:3:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 9935,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2349:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2335:25:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 9938,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9937,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2361:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2335:38:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 9939,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "2335:45:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2319:61:51"
                },
                {
                  "assignments": [
                    9942
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9942,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10061,
                      "src": "2390:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9941,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "2390:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9950,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9943,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9910,
                        "src": "2424:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                        }
                      },
                      "id": 9947,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9945,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "2455:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 9944,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2447:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 9946,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2447:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2424:39:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                      }
                    },
                    "id": 9949,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 9948,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9921,
                      "src": "2464:11:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2424:52:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2390:86:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9955,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9952,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9942,
                            "src": "2494:8:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                              "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                            }
                          },
                          "id": 9953,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 9903,
                          "src": "2494:21:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 9954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2519:1:51",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2494:26:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9951,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16785,
                      "src": "2486:7:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2486:35:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9957,
                  "nodeType": "ExpressionStatement",
                  "src": "2486:35:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9965,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2531:59:51",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9958,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "2538:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 9962,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 9960,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9932,
                              "src": "2569:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 9959,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2561:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 9961,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2561:15:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2538:39:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 9964,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9963,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2578:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2538:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9966,
                  "nodeType": "ExpressionStatement",
                  "src": "2531:59:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9969,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "2629:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 9968,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2621:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 9970,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2621:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9971,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2638:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 9967,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9897,
                      "src": "2605:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 9972,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2605:45:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9973,
                  "nodeType": "EmitStatement",
                  "src": "2600:50:51"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 9976,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9974,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9923,
                      "src": "2705:6:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9975,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2715:1:51",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2705:11:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10050,
                  "nodeType": "IfStatement",
                  "src": "2701:856:51",
                  "trueBody": {
                    "id": 10049,
                    "nodeType": "Block",
                    "src": "2718:839:51",
                    "statements": [
                      {
                        "assignments": [
                          9978
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 9978,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 10049,
                            "src": "2782:30:51",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 9977,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 9005,
                              "src": "2782:19:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 9984,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 9980,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9932,
                                  "src": "2835:6:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 9981,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 15953,
                                "src": "2835:12:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 9982,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2835:14:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 9979,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9005,
                            "src": "2815:19:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 9983,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2815:35:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2782:68:51"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9988,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 9985,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9942,
                              "src": "2901:8:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 9986,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9903,
                            "src": "2901:21:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "31",
                            "id": 9987,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2926:1:51",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "2901:26:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 9999,
                        "nodeType": "IfStatement",
                        "src": "2897:136:51",
                        "trueBody": {
                          "id": 9998,
                          "nodeType": "Block",
                          "src": "2929:104:51",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 9992,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "2984:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 9993,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9899,
                                        "src": "2984:24:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 9994,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9932,
                                        "src": "3010:6:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 9990,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9978,
                                        "src": "2955:10:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 9991,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "upgradeController",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8867,
                                      "src": "2955:28:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_contract$_Avatar_$7316_$returns$_t_bool_$",
                                        "typeString": "function (address,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 9995,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2955:62:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 9989,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    16785,
                                    16786
                                  ],
                                  "referencedDeclaration": 16785,
                                  "src": "2947:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 9996,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2947:71:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 9997,
                              "nodeType": "ExpressionStatement",
                              "src": "2947:71:51"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 10003,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10000,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9942,
                              "src": "3087:8:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 10001,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9903,
                            "src": "3087:21:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "32",
                            "id": 10002,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3112:1:51",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_2_by_1",
                              "typeString": "int_const 2"
                            },
                            "value": "2"
                          },
                          "src": "3087:26:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 10048,
                        "nodeType": "IfStatement",
                        "src": "3083:464:51",
                        "trueBody": {
                          "id": 10047,
                          "nodeType": "Block",
                          "src": "3115:432:51",
                          "statements": [
                            {
                              "assignments": [
                                10005
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 10005,
                                  "name": "permissions",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 10047,
                                  "src": "3133:18:51",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  },
                                  "typeName": {
                                    "id": 10004,
                                    "name": "bytes4",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "3133:6:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes4",
                                      "typeString": "bytes4"
                                    }
                                  },
                                  "value": null,
                                  "visibility": "internal"
                                }
                              ],
                              "id": 10015,
                              "initialValue": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 10009,
                                        "name": "this",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 16850,
                                        "src": "3194:4:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      ],
                                      "id": 10008,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3186:7:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 10010,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3186:13:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 10012,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9932,
                                        "src": "3209:6:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 10011,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3201:7:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 10013,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3201:15:51",
                                    "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": 10006,
                                    "name": "controller",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9978,
                                    "src": "3154:10:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 10007,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "getSchemePermissions",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 8986,
                                  "src": "3154:31:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_bytes4_$",
                                    "typeString": "function (address,address) view external returns (bytes4)"
                                  }
                                },
                                "id": 10014,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3154:63:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "3133:84:51"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 10019,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "3286:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 10020,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9899,
                                        "src": "3286:24:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 10021,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "3312:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 10022,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "params",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9901,
                                        "src": "3312:15:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 10023,
                                        "name": "permissions",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10005,
                                        "src": "3329:11:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 10025,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 9932,
                                            "src": "3350:6:51",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$7316",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$7316",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 10024,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3342:7:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 10026,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3342:15:51",
                                        "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": 10017,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9978,
                                        "src": "3260:10:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 10018,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8822,
                                      "src": "3260:25:51",
                                      "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": 10027,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3260:98:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 10016,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    16785,
                                    16786
                                  ],
                                  "referencedDeclaration": 16785,
                                  "src": "3235:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 10028,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3235:141:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 10029,
                              "nodeType": "ExpressionStatement",
                              "src": "3235:141:51"
                            },
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 10035,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 10030,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9942,
                                    "src": "3398:8:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                    }
                                  },
                                  "id": 10031,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "upgradeContract",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9899,
                                  "src": "3398:24:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 10033,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 16850,
                                      "src": "3434:4:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    ],
                                    "id": 10032,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3426:7:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 10034,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3426:13:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "3398:41:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 10046,
                              "nodeType": "IfStatement",
                              "src": "3394:139:51",
                              "trueBody": {
                                "id": 10045,
                                "nodeType": "Block",
                                "src": "3441:92:51",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "arguments": [
                                        {
                                          "argumentTypes": null,
                                          "arguments": [
                                            {
                                              "argumentTypes": null,
                                              "arguments": [
                                                {
                                                  "argumentTypes": null,
                                                  "id": 10040,
                                                  "name": "avatar",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 9932,
                                                  "src": "3505:6:51",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                                    "typeString": "contract Avatar"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                                    "typeString": "contract Avatar"
                                                  }
                                                ],
                                                "id": 10039,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "3497:7:51",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_$",
                                                  "typeString": "type(address)"
                                                },
                                                "typeName": "address"
                                              },
                                              "id": 10041,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "3497:15:51",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            ],
                                            "expression": {
                                              "argumentTypes": null,
                                              "id": 10037,
                                              "name": "controller",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 9978,
                                              "src": "3471:10:51",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                                "typeString": "contract ControllerInterface"
                                              }
                                            },
                                            "id": 10038,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "unregisterSelf",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 8838,
                                            "src": "3471:25:51",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bool_$",
                                              "typeString": "function (address) external returns (bool)"
                                            }
                                          },
                                          "id": 10042,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "functionCall",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "3471:42:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        ],
                                        "id": 10036,
                                        "name": "require",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [
                                          16785,
                                          16786
                                        ],
                                        "referencedDeclaration": 16785,
                                        "src": "3463:7:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                          "typeString": "function (bool) pure"
                                        }
                                      },
                                      "id": 10043,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "3463:51:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 10044,
                                    "nodeType": "ExpressionStatement",
                                    "src": "3463:51:51"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10053,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "3596:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10052,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3588:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10054,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3588:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10055,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "3605:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10056,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9923,
                        "src": "3618:6:51",
                        "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": 10051,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9891,
                      "src": "3571:16:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 10057,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3571:54:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10058,
                  "nodeType": "EmitStatement",
                  "src": "3566:59:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 10059,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3642:4:51",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 9930,
                  "id": 10060,
                  "nodeType": "Return",
                  "src": "3635:11:51"
                }
              ]
            },
            "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": 10062,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 9926,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9921,
                    "src": "2282:11:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 9927,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9925,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "2264:17:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2264:30:51"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9924,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9921,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2219:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9920,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2219:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9923,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2240:13:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 9922,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2240:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2218:36:51"
            },
            "returnParameters": {
              "id": 9930,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9929,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2303:4:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9928,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2303:4:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2302:6:51"
            },
            "scope": 10302,
            "src": "2194:1459:51",
            "stateMutability": "nonpayable",
            "superFunction": 15193,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10094,
              "nodeType": "Block",
              "src": "3877:213:51",
              "statements": [
                {
                  "assignments": [
                    10072
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10072,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 10094,
                      "src": "3887:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10071,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3887:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10077,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10074,
                        "name": "_voteParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10064,
                        "src": "3926:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10075,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10066,
                        "src": "3939:8:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 10073,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10114,
                      "src": "3908:17:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$15182_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 10076,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3908:40:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3887:61:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10083,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10078,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9919,
                          "src": "3958:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 10080,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10079,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10072,
                          "src": "3969:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3958:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 10081,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 9912,
                      "src": "3958:33:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10082,
                      "name": "_voteParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10064,
                      "src": "3994:11:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3958:47:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 10084,
                  "nodeType": "ExpressionStatement",
                  "src": "3958:47:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10090,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10085,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9919,
                          "src": "4015:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 10087,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10086,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10072,
                          "src": "4026:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4015:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 10088,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 9914,
                      "src": "4015:30:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10089,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10066,
                      "src": "4048:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4015:41:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 10091,
                  "nodeType": "ExpressionStatement",
                  "src": "4015:41:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10092,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10072,
                    "src": "4073:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10070,
                  "id": 10093,
                  "nodeType": "Return",
                  "src": "4066:17:51"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 10095,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10067,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10064,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3788:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10063,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3788:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10066,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3817:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10065,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 15182,
                    "src": "3817:16:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3778:70:51"
            },
            "returnParameters": {
              "id": 10070,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10069,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3864:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10068,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3864:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3863:9:51"
            },
            "scope": 10302,
            "src": "3756:334:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10113,
              "nodeType": "Block",
              "src": "4290:77:51",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 10107,
                                "name": "_voteParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10097,
                                "src": "4336:11:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 10108,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10099,
                                "src": "4349:8:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 10105,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16769,
                                "src": "4319:3:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 10106,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4319:16:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 10109,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4319:39:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 10104,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16776,
                          "src": "4309:9:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 10110,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4309:50:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 10111,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4308:52:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10103,
                  "id": 10112,
                  "nodeType": "Return",
                  "src": "4300:60:51"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters",
            "id": 10114,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10100,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10097,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4196:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10096,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4196:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10099,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4225:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10098,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 15182,
                    "src": "4225:16:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4186:70:51"
            },
            "returnParameters": {
              "id": 10103,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10102,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4277:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10101,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4277:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4276:9:51"
            },
            "scope": 10302,
            "src": "4160:207:51",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10198,
              "nodeType": "Block",
              "src": "4826:799:51",
              "statements": [
                {
                  "assignments": [
                    10126
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10126,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "4836:24:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10125,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9915,
                        "src": "4836:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10132,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 10127,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9919,
                      "src": "4863:10:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 10131,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 10129,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10116,
                          "src": "4902:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 10128,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          9833
                        ],
                        "referencedDeclaration": 9833,
                        "src": "4874:27:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$7316_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 10130,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "4874:36:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4863:48:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4836:75:51"
                },
                {
                  "assignments": [
                    10134
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10134,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "4921:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10133,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "4921:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10147,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10138,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4965:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10139,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10126,
                          "src": "4968:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10140,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9912,
                        "src": "4968:17:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10141,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "4987:3:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10142,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "4987:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10144,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10116,
                            "src": "5007:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10143,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "4999:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10145,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4999:16:51",
                        "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": 10135,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10126,
                          "src": "4942:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10136,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9914,
                        "src": "4942:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 10137,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15128,
                      "src": "4942:22:51",
                      "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": 10146,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4942:74:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4921:95:51"
                },
                {
                  "assignments": [
                    10149
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10149,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "5026:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10148,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "5026:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10157,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 10151,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5104:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 10152,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10118,
                        "src": "5136:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 10154,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "5180:1:51",
                            "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": 10153,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5172:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes32_$",
                            "typeString": "type(bytes32)"
                          },
                          "typeName": "bytes32"
                        },
                        "id": 10155,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5172:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 10150,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9904,
                      "src": "5060:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$9904_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 10156,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5060:133:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5026:167:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10166,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10158,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "5203:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 10163,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10160,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10116,
                              "src": "5234:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 10159,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5226:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10161,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5226:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5203:40:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 10164,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10162,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5244:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5203:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10165,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10149,
                      "src": "5258:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "5203:63:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 10167,
                  "nodeType": "ExpressionStatement",
                  "src": "5203:63:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10170,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10116,
                            "src": "5317:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10169,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5309:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10171,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5309:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10172,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5335:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10174,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10126,
                              "src": "5363:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 10175,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9914,
                            "src": "5363:14:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 10173,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5355:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10176,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5355:23:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10177,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10118,
                        "src": "5388:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10178,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10120,
                        "src": "5412:16:51",
                        "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": 10168,
                      "name": "NewUpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9869,
                      "src": "5281:18:51",
                      "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": 10179,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5281:157:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10180,
                  "nodeType": "EmitStatement",
                  "src": "5276:162:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10194,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10181,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "5448:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10187,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 10183,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10126,
                                "src": "5470:6:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                  "typeString": "struct UpgradeScheme.Parameters memory"
                                }
                              },
                              "id": 10184,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 9914,
                              "src": "5470:14:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 10182,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5462:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10185,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5462:23:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5448:38:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10188,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10186,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5487:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5448:50:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10190,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16772,
                            "src": "5540:5:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 10191,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "5540:12:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 10192,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10116,
                          "src": "5573:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10189,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10313,
                        "src": "5501:12:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$10313_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 10193,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5501:90:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5448:143:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 10195,
                  "nodeType": "ExpressionStatement",
                  "src": "5448:143:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10196,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10134,
                    "src": "5608:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10124,
                  "id": 10197,
                  "nodeType": "Return",
                  "src": "5601:17:51"
                }
              ]
            },
            "documentation": "@dev propose an upgrade of the organization's controller\n@param _avatar avatar of the organization\n@param _newController address of the new controller that is being proposed\n@param _descriptionHash proposal description hash\n@return an id which represents the proposal",
            "id": 10199,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10121,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10116,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4710:14:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10115,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 7316,
                    "src": "4710:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10118,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4726:22:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10117,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4726:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10120,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4750:30:51",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 10119,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4750:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4709:72:51"
            },
            "returnParameters": {
              "id": 10124,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10123,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4813:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10122,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4813:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4812:9:51"
            },
            "scope": 10302,
            "src": "4686:939:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10300,
              "nodeType": "Block",
              "src": "6193:960:51",
              "statements": [
                {
                  "assignments": [
                    10213
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10213,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6203:24:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10212,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9915,
                        "src": "6203:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10219,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 10214,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9919,
                      "src": "6230:10:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 10218,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 10216,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10201,
                          "src": "6269:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 10215,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          9833
                        ],
                        "referencedDeclaration": 9833,
                        "src": "6241:27:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$7316_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 10217,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6241:36:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6230:48:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6203:75:51"
                },
                {
                  "assignments": [
                    10221
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10221,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6288:24:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10220,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15182,
                        "src": "6288:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10224,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 10222,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10213,
                      "src": "6315:6:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters memory"
                      }
                    },
                    "id": 10223,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 9914,
                    "src": "6315:14:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6288:41:51"
                },
                {
                  "assignments": [
                    10226
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10226,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6339:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10225,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6339:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10238,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10229,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6376:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10230,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10213,
                          "src": "6379:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10231,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9912,
                        "src": "6379:17:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10232,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "6398:3:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10233,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6398:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10235,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10201,
                            "src": "6418:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10234,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6410:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10236,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6410:16:51",
                        "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": 10227,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10221,
                        "src": "6360:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 10228,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15128,
                      "src": "6360:15:51",
                      "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": 10237,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6360:67:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6339:88:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10249,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10240,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9910,
                                "src": "6445:22:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                                }
                              },
                              "id": 10244,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "id": 10242,
                                    "name": "_avatar",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10201,
                                    "src": "6476:7:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$7316",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$7316",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 10241,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "6468:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 10243,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "6468:16:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6445:40:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                                "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                              }
                            },
                            "id": 10246,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 10245,
                              "name": "proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10226,
                              "src": "6486:10:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "6445:52:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                              "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                            }
                          },
                          "id": 10247,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 9903,
                          "src": "6445:65:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10248,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6514:1:51",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "6445:70:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 10239,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16785,
                      "src": "6437:7:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 10250,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6437:79:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10251,
                  "nodeType": "ExpressionStatement",
                  "src": "6437:79:51"
                },
                {
                  "assignments": [
                    10253
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10253,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6527:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10252,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "6527:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10259,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10255,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6605:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "id": 10256,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10203,
                        "src": "6637:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10257,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10205,
                        "src": "6666:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 10254,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9904,
                      "src": "6561:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$9904_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 10258,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6561:123:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6527:157:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10268,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10260,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "6694:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 10265,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10262,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10201,
                              "src": "6725:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 10261,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6717:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10263,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6717:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6694:40:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 10266,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10264,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "6735:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6694:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10267,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10253,
                      "src": "6749:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "6694:63:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 10269,
                  "nodeType": "ExpressionStatement",
                  "src": "6694:63:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10272,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10201,
                            "src": "6822:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10271,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6814:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10273,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6814:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10274,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "6844:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10276,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10213,
                              "src": "6876:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 10277,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9914,
                            "src": "6876:14:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 10275,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6868:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10278,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6868:23:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10279,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10203,
                        "src": "6905:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10280,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10205,
                        "src": "6926:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10281,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10207,
                        "src": "6947:16:51",
                        "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_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10270,
                      "name": "ChangeUpgradeSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9883,
                      "src": "6773:27:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_bytes32_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,bytes32,string memory)"
                      }
                    },
                    "id": 10282,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6773:200:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10283,
                  "nodeType": "EmitStatement",
                  "src": "6768:205:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10296,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10284,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "6983:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10289,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10286,
                              "name": "intVote",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10221,
                              "src": "7005:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 10285,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6997:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10287,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6997:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6983:31:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10290,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10288,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "7015:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6983:43:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10292,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16772,
                            "src": "7068:5:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 10293,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7068:12:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 10294,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10201,
                          "src": "7101:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10291,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10313,
                        "src": "7029:12:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$10313_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 10295,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7029:90:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "6983:136:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 10297,
                  "nodeType": "ExpressionStatement",
                  "src": "6983:136:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10298,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10226,
                    "src": "7136:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10211,
                  "id": 10299,
                  "nodeType": "Return",
                  "src": "7129:17:51"
                }
              ]
            },
            "documentation": "@dev propose to replace this scheme by another upgrading scheme\n@param _avatar avatar of the organization\n@param _scheme address of the new upgrading scheme\n@param _params the parameters of the new upgrading scheme\n@param _descriptionHash proposal description hash\n@return an id which represents the proposal",
            "id": 10301,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeChangeUpgradingScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10208,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10201,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6038:14:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10200,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 7316,
                    "src": "6038:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10203,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6062:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10202,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6062:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10205,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6087:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10204,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6087:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10207,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6112:30:51",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 10206,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6112:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6028:120:51"
            },
            "returnParameters": {
              "id": 10211,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10210,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6180:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10209,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6180:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6179:9:51"
            },
            "scope": 10302,
            "src": "5991:1162:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 10303,
        "src": "429:6726:51"
      }
    ],
    "src": "0:7156:51"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol",
    "exportedSymbols": {
      "UpgradeScheme": [
        10302
      ]
    },
    "id": 10303,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9847,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:51"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 9848,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 15183,
        "src": "25:71:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "id": 9849,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 15195,
        "src": "97:79:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 9850,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 9835,
        "src": "177:31:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 9851,
        "nodeType": "ImportDirective",
        "scope": 10303,
        "sourceUnit": 10603,
        "src": "209:54:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9852,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9834,
              "src": "455:15:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$9834",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 9853,
            "nodeType": "InheritanceSpecifier",
            "src": "455:15:51"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9854,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10602,
              "src": "472:22:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$10602",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 9855,
            "nodeType": "InheritanceSpecifier",
            "src": "472:22:51"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9856,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15194,
              "src": "496:24:51",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$15194",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 9857,
            "nodeType": "InheritanceSpecifier",
            "src": "496:24:51"
          }
        ],
        "contractDependencies": [
          9834,
          9845,
          10602,
          15194,
          15258
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme to manage the upgrade of an organization.\n@dev The scheme is used to upgrade the controller of an organization to a new controller.",
        "fullyImplemented": true,
        "id": 10302,
        "linearizedBaseContracts": [
          10302,
          15194,
          10602,
          15258,
          9834,
          9845
        ],
        "name": "UpgradeScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 9869,
            "name": "NewUpgradeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9868,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9859,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "562:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9858,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9861,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "595:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9860,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9863,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "632:33:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9862,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9865,
                  "indexed": false,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "675:22:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9864,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9867,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 9869,
                  "src": "707:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9866,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "707:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:184:51"
            },
            "src": "528:209:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9883,
            "name": "ChangeUpgradeSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9882,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9871,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "786:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9870,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "786:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9873,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "819:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9872,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "819:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9875,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "856:33:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9874,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "856:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9877,
                  "indexed": false,
                  "name": "_newUpgradeScheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "899:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9876,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "899:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9879,
                  "indexed": false,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "934:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9878,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "934:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9881,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 9883,
                  "src": "959:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9880,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "959:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "776:212:51"
            },
            "src": "743:246:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9891,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9890,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9885,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1018:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9884,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1018:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9887,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1043:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9886,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1043:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9889,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 9891,
                  "src": "1072:13:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 9888,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1017:69:51"
            },
            "src": "995:92:51"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9897,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9896,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9893,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 9897,
                  "src": "1114:23:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9892,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1114:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9895,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9897,
                  "src": "1139:27:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9894,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1139:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1113:54:51"
            },
            "src": "1092:76:51"
          },
          {
            "canonicalName": "UpgradeScheme.UpgradeProposal",
            "id": 9904,
            "members": [
              {
                "constant": false,
                "id": 9899,
                "name": "upgradeContract",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1246:23:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 9898,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1246:7:51",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9901,
                "name": "params",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1352:14:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 9900,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1352:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9903,
                "name": "proposalType",
                "nodeType": "VariableDeclaration",
                "scope": 9904,
                "src": "1416:20:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 9902,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1416:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "UpgradeProposal",
            "nodeType": "StructDefinition",
            "scope": 10302,
            "src": "1213:282:51",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9910,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 10302,
            "src": "1598:81:51",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
            },
            "typeName": {
              "id": 9909,
              "keyType": {
                "id": 9905,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1606:7:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1598:51:51",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
              },
              "valueType": {
                "id": 9908,
                "keyType": {
                  "id": 9906,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1623:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1615:33:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                  "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 9907,
                  "name": "UpgradeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 9904,
                  "src": "1632:15:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                    "typeString": "struct UpgradeScheme.UpgradeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "UpgradeScheme.Parameters",
            "id": 9915,
            "members": [
              {
                "constant": false,
                "id": 9912,
                "name": "voteParams",
                "nodeType": "VariableDeclaration",
                "scope": 9915,
                "src": "1817:18:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 9911,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1817:7:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9914,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 9915,
                "src": "1845:24:51",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 9913,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15182,
                  "src": "1845:16:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 10302,
            "src": "1789:87:51",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9919,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 10302,
            "src": "1882:46:51",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
            },
            "typeName": {
              "id": 9918,
              "keyType": {
                "id": 9916,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1890:7:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1882:28:51",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 9917,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 9915,
                "src": "1899:10:51",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                  "typeString": "struct UpgradeScheme.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10061,
              "nodeType": "Block",
              "src": "2309:1344:51",
              "statements": [
                {
                  "assignments": [
                    9932
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9932,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10061,
                      "src": "2319:13:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9931,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "2319:6:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9940,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9933,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "2335:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 9936,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9934,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "2349:3:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 9935,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2349:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2335:25:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 9938,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9937,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2361:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2335:38:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 9939,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "2335:45:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2319:61:51"
                },
                {
                  "assignments": [
                    9942
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9942,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10061,
                      "src": "2390:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9941,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "2390:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9950,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9943,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9910,
                        "src": "2424:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                        }
                      },
                      "id": 9947,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9945,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "2455:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 9944,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2447:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 9946,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2447:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2424:39:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                      }
                    },
                    "id": 9949,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 9948,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9921,
                      "src": "2464:11:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2424:52:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2390:86:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9955,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 9952,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9942,
                            "src": "2494:8:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                              "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                            }
                          },
                          "id": 9953,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 9903,
                          "src": "2494:21:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 9954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2519:1:51",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2494:26:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 9951,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16785,
                      "src": "2486:7:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 9956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2486:35:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9957,
                  "nodeType": "ExpressionStatement",
                  "src": "2486:35:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9965,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2531:59:51",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9958,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "2538:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 9962,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 9960,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9932,
                              "src": "2569:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 9959,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2561:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 9961,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2561:15:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2538:39:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 9964,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9963,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2578:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2538:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9966,
                  "nodeType": "ExpressionStatement",
                  "src": "2531:59:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9969,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "2629:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 9968,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2621:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 9970,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2621:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9971,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "2638:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 9967,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9897,
                      "src": "2605:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 9972,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2605:45:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9973,
                  "nodeType": "EmitStatement",
                  "src": "2600:50:51"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 9976,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9974,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9923,
                      "src": "2705:6:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9975,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2715:1:51",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2705:11:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10050,
                  "nodeType": "IfStatement",
                  "src": "2701:856:51",
                  "trueBody": {
                    "id": 10049,
                    "nodeType": "Block",
                    "src": "2718:839:51",
                    "statements": [
                      {
                        "assignments": [
                          9978
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 9978,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 10049,
                            "src": "2782:30:51",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 9977,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 9005,
                              "src": "2782:19:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 9984,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 9980,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9932,
                                  "src": "2835:6:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 9981,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 15953,
                                "src": "2835:12:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 9982,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2835:14:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 9979,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9005,
                            "src": "2815:19:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 9983,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2815:35:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2782:68:51"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9988,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 9985,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9942,
                              "src": "2901:8:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 9986,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9903,
                            "src": "2901:21:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "31",
                            "id": 9987,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2926:1:51",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "2901:26:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 9999,
                        "nodeType": "IfStatement",
                        "src": "2897:136:51",
                        "trueBody": {
                          "id": 9998,
                          "nodeType": "Block",
                          "src": "2929:104:51",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 9992,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "2984:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 9993,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9899,
                                        "src": "2984:24:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 9994,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9932,
                                        "src": "3010:6:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 9990,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9978,
                                        "src": "2955:10:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 9991,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "upgradeController",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8867,
                                      "src": "2955:28:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_contract$_Avatar_$7316_$returns$_t_bool_$",
                                        "typeString": "function (address,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 9995,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2955:62:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 9989,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    16785,
                                    16786
                                  ],
                                  "referencedDeclaration": 16785,
                                  "src": "2947:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 9996,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2947:71:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 9997,
                              "nodeType": "ExpressionStatement",
                              "src": "2947:71:51"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 10003,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10000,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9942,
                              "src": "3087:8:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 10001,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9903,
                            "src": "3087:21:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "32",
                            "id": 10002,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3112:1:51",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_2_by_1",
                              "typeString": "int_const 2"
                            },
                            "value": "2"
                          },
                          "src": "3087:26:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 10048,
                        "nodeType": "IfStatement",
                        "src": "3083:464:51",
                        "trueBody": {
                          "id": 10047,
                          "nodeType": "Block",
                          "src": "3115:432:51",
                          "statements": [
                            {
                              "assignments": [
                                10005
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 10005,
                                  "name": "permissions",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 10047,
                                  "src": "3133:18:51",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  },
                                  "typeName": {
                                    "id": 10004,
                                    "name": "bytes4",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "3133:6:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes4",
                                      "typeString": "bytes4"
                                    }
                                  },
                                  "value": null,
                                  "visibility": "internal"
                                }
                              ],
                              "id": 10015,
                              "initialValue": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 10009,
                                        "name": "this",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 16850,
                                        "src": "3194:4:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      ],
                                      "id": 10008,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3186:7:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 10010,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3186:13:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 10012,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9932,
                                        "src": "3209:6:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$7316",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 10011,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3201:7:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 10013,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3201:15:51",
                                    "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": 10006,
                                    "name": "controller",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9978,
                                    "src": "3154:10:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 10007,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "getSchemePermissions",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 8986,
                                  "src": "3154:31:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_bytes4_$",
                                    "typeString": "function (address,address) view external returns (bytes4)"
                                  }
                                },
                                "id": 10014,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3154:63:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "3133:84:51"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 10019,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "3286:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 10020,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9899,
                                        "src": "3286:24:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 10021,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 9942,
                                          "src": "3312:8:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 10022,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "params",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 9901,
                                        "src": "3312:15:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 10023,
                                        "name": "permissions",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10005,
                                        "src": "3329:11:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 10025,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 9932,
                                            "src": "3350:6:51",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$7316",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$7316",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 10024,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3342:7:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 10026,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3342:15:51",
                                        "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": 10017,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 9978,
                                        "src": "3260:10:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 10018,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8822,
                                      "src": "3260:25:51",
                                      "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": 10027,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3260:98:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 10016,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    16785,
                                    16786
                                  ],
                                  "referencedDeclaration": 16785,
                                  "src": "3235:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 10028,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3235:141:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 10029,
                              "nodeType": "ExpressionStatement",
                              "src": "3235:141:51"
                            },
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 10035,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 10030,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9942,
                                    "src": "3398:8:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                    }
                                  },
                                  "id": 10031,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "upgradeContract",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9899,
                                  "src": "3398:24:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 10033,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 16850,
                                      "src": "3434:4:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$10302",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    ],
                                    "id": 10032,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3426:7:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 10034,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3426:13:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "3398:41:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 10046,
                              "nodeType": "IfStatement",
                              "src": "3394:139:51",
                              "trueBody": {
                                "id": 10045,
                                "nodeType": "Block",
                                "src": "3441:92:51",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "arguments": [
                                        {
                                          "argumentTypes": null,
                                          "arguments": [
                                            {
                                              "argumentTypes": null,
                                              "arguments": [
                                                {
                                                  "argumentTypes": null,
                                                  "id": 10040,
                                                  "name": "avatar",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 9932,
                                                  "src": "3505:6:51",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                                    "typeString": "contract Avatar"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_contract$_Avatar_$7316",
                                                    "typeString": "contract Avatar"
                                                  }
                                                ],
                                                "id": 10039,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "3497:7:51",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_$",
                                                  "typeString": "type(address)"
                                                },
                                                "typeName": "address"
                                              },
                                              "id": 10041,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "3497:15:51",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            ],
                                            "expression": {
                                              "argumentTypes": null,
                                              "id": 10037,
                                              "name": "controller",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 9978,
                                              "src": "3471:10:51",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                                                "typeString": "contract ControllerInterface"
                                              }
                                            },
                                            "id": 10038,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "unregisterSelf",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 8838,
                                            "src": "3471:25:51",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bool_$",
                                              "typeString": "function (address) external returns (bool)"
                                            }
                                          },
                                          "id": 10042,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "functionCall",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "3471:42:51",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        ],
                                        "id": 10036,
                                        "name": "require",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [
                                          16785,
                                          16786
                                        ],
                                        "referencedDeclaration": 16785,
                                        "src": "3463:7:51",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                          "typeString": "function (bool) pure"
                                        }
                                      },
                                      "id": 10043,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "3463:51:51",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 10044,
                                    "nodeType": "ExpressionStatement",
                                    "src": "3463:51:51"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10053,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9932,
                            "src": "3596:6:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10052,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3588:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10054,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3588:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10055,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9921,
                        "src": "3605:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10056,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9923,
                        "src": "3618:6:51",
                        "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": 10051,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9891,
                      "src": "3571:16:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 10057,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3571:54:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10058,
                  "nodeType": "EmitStatement",
                  "src": "3566:59:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 10059,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3642:4:51",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 9930,
                  "id": 10060,
                  "nodeType": "Return",
                  "src": "3635:11:51"
                }
              ]
            },
            "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": 10062,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 9926,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9921,
                    "src": "2282:11:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 9927,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9925,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "2264:17:51",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2264:30:51"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9924,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9921,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2219:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 9920,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2219:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9923,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2240:13:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 9922,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2240:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2218:36:51"
            },
            "returnParameters": {
              "id": 9930,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9929,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10062,
                  "src": "2303:4:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9928,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2303:4:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2302:6:51"
            },
            "scope": 10302,
            "src": "2194:1459:51",
            "stateMutability": "nonpayable",
            "superFunction": 15193,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10094,
              "nodeType": "Block",
              "src": "3877:213:51",
              "statements": [
                {
                  "assignments": [
                    10072
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10072,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 10094,
                      "src": "3887:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10071,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3887:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10077,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10074,
                        "name": "_voteParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10064,
                        "src": "3926:11:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10075,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10066,
                        "src": "3939:8:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 10073,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10114,
                      "src": "3908:17:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$15182_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 10076,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3908:40:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3887:61:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10083,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10078,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9919,
                          "src": "3958:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 10080,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10079,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10072,
                          "src": "3969:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3958:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 10081,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 9912,
                      "src": "3958:33:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10082,
                      "name": "_voteParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10064,
                      "src": "3994:11:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3958:47:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 10084,
                  "nodeType": "ExpressionStatement",
                  "src": "3958:47:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10090,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10085,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9919,
                          "src": "4015:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 10087,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10086,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10072,
                          "src": "4026:10:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4015:22:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 10088,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 9914,
                      "src": "4015:30:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10089,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10066,
                      "src": "4048:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4015:41:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 10091,
                  "nodeType": "ExpressionStatement",
                  "src": "4015:41:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10092,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10072,
                    "src": "4073:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10070,
                  "id": 10093,
                  "nodeType": "Return",
                  "src": "4066:17:51"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 10095,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10067,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10064,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3788:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10063,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3788:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10066,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3817:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10065,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 15182,
                    "src": "3817:16:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3778:70:51"
            },
            "returnParameters": {
              "id": 10070,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10069,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10095,
                  "src": "3864:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10068,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3864:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3863:9:51"
            },
            "scope": 10302,
            "src": "3756:334:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10113,
              "nodeType": "Block",
              "src": "4290:77:51",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 10107,
                                "name": "_voteParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10097,
                                "src": "4336:11:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 10108,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10099,
                                "src": "4349:8:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 10105,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 16769,
                                "src": "4319:3:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 10106,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4319:16:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 10109,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4319:39:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 10104,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16776,
                          "src": "4309:9:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 10110,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4309:50:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 10111,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4308:52:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10103,
                  "id": 10112,
                  "nodeType": "Return",
                  "src": "4300:60:51"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters",
            "id": 10114,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10100,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10097,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4196:19:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10096,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4196:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10099,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4225:25:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10098,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 15182,
                    "src": "4225:16:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4186:70:51"
            },
            "returnParameters": {
              "id": 10103,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10102,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10114,
                  "src": "4277:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10101,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4277:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4276:9:51"
            },
            "scope": 10302,
            "src": "4160:207:51",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10198,
              "nodeType": "Block",
              "src": "4826:799:51",
              "statements": [
                {
                  "assignments": [
                    10126
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10126,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "4836:24:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10125,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9915,
                        "src": "4836:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10132,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 10127,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9919,
                      "src": "4863:10:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 10131,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 10129,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10116,
                          "src": "4902:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 10128,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          9833
                        ],
                        "referencedDeclaration": 9833,
                        "src": "4874:27:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$7316_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 10130,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "4874:36:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4863:48:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4836:75:51"
                },
                {
                  "assignments": [
                    10134
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10134,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "4921:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10133,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "4921:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10147,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10138,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4965:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10139,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10126,
                          "src": "4968:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10140,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9912,
                        "src": "4968:17:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10141,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "4987:3:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10142,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "4987:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10144,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10116,
                            "src": "5007:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10143,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "4999:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10145,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4999:16:51",
                        "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": 10135,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10126,
                          "src": "4942:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10136,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9914,
                        "src": "4942:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 10137,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15128,
                      "src": "4942:22:51",
                      "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": 10146,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4942:74:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4921:95:51"
                },
                {
                  "assignments": [
                    10149
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10149,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10198,
                      "src": "5026:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10148,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "5026:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10157,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 10151,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5104:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 10152,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10118,
                        "src": "5136:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 10154,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "5180:1:51",
                            "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": 10153,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5172:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes32_$",
                            "typeString": "type(bytes32)"
                          },
                          "typeName": "bytes32"
                        },
                        "id": 10155,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5172:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 10150,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9904,
                      "src": "5060:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$9904_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 10156,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5060:133:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5026:167:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10166,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10158,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "5203:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 10163,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10160,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10116,
                              "src": "5234:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 10159,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5226:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10161,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5226:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5203:40:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 10164,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10162,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5244:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5203:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10165,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10149,
                      "src": "5258:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "5203:63:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 10167,
                  "nodeType": "ExpressionStatement",
                  "src": "5203:63:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10170,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10116,
                            "src": "5317:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10169,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5309:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10171,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5309:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10172,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5335:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10174,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10126,
                              "src": "5363:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 10175,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9914,
                            "src": "5363:14:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 10173,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5355:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10176,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5355:23:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10177,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10118,
                        "src": "5388:14:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10178,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10120,
                        "src": "5412:16:51",
                        "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": 10168,
                      "name": "NewUpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9869,
                      "src": "5281:18:51",
                      "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": 10179,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5281:157:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10180,
                  "nodeType": "EmitStatement",
                  "src": "5276:162:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10194,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10181,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "5448:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10187,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 10183,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10126,
                                "src": "5470:6:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                  "typeString": "struct UpgradeScheme.Parameters memory"
                                }
                              },
                              "id": 10184,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 9914,
                              "src": "5470:14:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 10182,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5462:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10185,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5462:23:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5448:38:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10188,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10186,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10134,
                        "src": "5487:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5448:50:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10190,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16772,
                            "src": "5540:5:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 10191,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "5540:12:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 10192,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10116,
                          "src": "5573:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10189,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10313,
                        "src": "5501:12:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$10313_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 10193,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5501:90:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5448:143:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 10195,
                  "nodeType": "ExpressionStatement",
                  "src": "5448:143:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10196,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10134,
                    "src": "5608:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10124,
                  "id": 10197,
                  "nodeType": "Return",
                  "src": "5601:17:51"
                }
              ]
            },
            "documentation": "@dev propose an upgrade of the organization's controller\n@param _avatar avatar of the organization\n@param _newController address of the new controller that is being proposed\n@param _descriptionHash proposal description hash\n@return an id which represents the proposal",
            "id": 10199,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10121,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10116,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4710:14:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10115,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 7316,
                    "src": "4710:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10118,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4726:22:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10117,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4726:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10120,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4750:30:51",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 10119,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4750:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4709:72:51"
            },
            "returnParameters": {
              "id": 10124,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10123,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10199,
                  "src": "4813:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10122,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4813:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4812:9:51"
            },
            "scope": 10302,
            "src": "4686:939:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10300,
              "nodeType": "Block",
              "src": "6193:960:51",
              "statements": [
                {
                  "assignments": [
                    10213
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10213,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6203:24:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10212,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9915,
                        "src": "6203:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$9915_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10219,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 10214,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9919,
                      "src": "6230:10:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$9915_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 10218,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 10216,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10201,
                          "src": "6269:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 10215,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          9833
                        ],
                        "referencedDeclaration": 9833,
                        "src": "6241:27:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$7316_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 10217,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6241:36:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6230:48:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$9915_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6203:75:51"
                },
                {
                  "assignments": [
                    10221
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10221,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6288:24:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10220,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15182,
                        "src": "6288:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10224,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 10222,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10213,
                      "src": "6315:6:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters memory"
                      }
                    },
                    "id": 10223,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 9914,
                    "src": "6315:14:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6288:41:51"
                },
                {
                  "assignments": [
                    10226
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10226,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6339:18:51",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 10225,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6339:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10238,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10229,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6376:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10230,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10213,
                          "src": "6379:6:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 10231,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9912,
                        "src": "6379:17:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10232,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "6398:3:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10233,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6398:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10235,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10201,
                            "src": "6418:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10234,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6410:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10236,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6410:16:51",
                        "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": 10227,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10221,
                        "src": "6360:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 10228,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15128,
                      "src": "6360:15:51",
                      "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": 10237,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6360:67:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6339:88:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10249,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10240,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9910,
                                "src": "6445:22:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                                }
                              },
                              "id": 10244,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "id": 10242,
                                    "name": "_avatar",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10201,
                                    "src": "6476:7:51",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$7316",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$7316",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 10241,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "6468:7:51",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 10243,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "6468:16:51",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6445:40:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                                "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                              }
                            },
                            "id": 10246,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 10245,
                              "name": "proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10226,
                              "src": "6486:10:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "6445:52:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                              "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                            }
                          },
                          "id": 10247,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 9903,
                          "src": "6445:65:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10248,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6514:1:51",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "6445:70:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 10239,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16785,
                      "src": "6437:7:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 10250,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6437:79:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10251,
                  "nodeType": "ExpressionStatement",
                  "src": "6437:79:51"
                },
                {
                  "assignments": [
                    10253
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10253,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10300,
                      "src": "6527:31:51",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10252,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9904,
                        "src": "6527:15:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10259,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 10255,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6605:1:51",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "id": 10256,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10203,
                        "src": "6637:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10257,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10205,
                        "src": "6666:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 10254,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9904,
                      "src": "6561:15:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$9904_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 10258,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6561:123:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6527:157:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10268,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10260,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9910,
                          "src": "6694:22:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 10265,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10262,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10201,
                              "src": "6725:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$7316",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 10261,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6717:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10263,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6717:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6694:40:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$9904_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 10266,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10264,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "6735:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6694:52:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10267,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10253,
                      "src": "6749:8:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$9904_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "6694:63:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$9904_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 10269,
                  "nodeType": "ExpressionStatement",
                  "src": "6694:63:51"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10272,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10201,
                            "src": "6822:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10271,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6814:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10273,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6814:16:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10274,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "6844:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10276,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10213,
                              "src": "6876:6:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$9915_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 10277,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9914,
                            "src": "6876:14:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 10275,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6868:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10278,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6868:23:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10279,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10203,
                        "src": "6905:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10280,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10205,
                        "src": "6926:7:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10281,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10207,
                        "src": "6947:16:51",
                        "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_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10270,
                      "name": "ChangeUpgradeSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9883,
                      "src": "6773:27:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_address_$_t_bytes32_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes32,address,address,bytes32,string memory)"
                      }
                    },
                    "id": 10282,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6773:200:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10283,
                  "nodeType": "EmitStatement",
                  "src": "6768:205:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10296,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10284,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "6983:13:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10289,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 10286,
                              "name": "intVote",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10221,
                              "src": "7005:7:51",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$15182",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 10285,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6997:7:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 10287,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6997:16:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6983:31:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10290,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10288,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10226,
                        "src": "7015:10:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6983:43:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10292,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16772,
                            "src": "7068:5:51",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 10293,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7068:12:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 10294,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10201,
                          "src": "7101:7:51",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10291,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10313,
                        "src": "7029:12:51",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$10313_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 10295,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7029:90:51",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "6983:136:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 10297,
                  "nodeType": "ExpressionStatement",
                  "src": "6983:136:51"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10298,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10226,
                    "src": "7136:10:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10211,
                  "id": 10299,
                  "nodeType": "Return",
                  "src": "7129:17:51"
                }
              ]
            },
            "documentation": "@dev propose to replace this scheme by another upgrading scheme\n@param _avatar avatar of the organization\n@param _scheme address of the new upgrading scheme\n@param _params the parameters of the new upgrading scheme\n@param _descriptionHash proposal description hash\n@return an id which represents the proposal",
            "id": 10301,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeChangeUpgradingScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10208,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10201,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6038:14:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10200,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 7316,
                    "src": "6038:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10203,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6062:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10202,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6062:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10205,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6087:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10204,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6087:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10207,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6112:30:51",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 10206,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6112:6:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6028:120:51"
            },
            "returnParameters": {
              "id": 10211,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10210,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10301,
                  "src": "6180:7:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10209,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6180:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6179:9:51"
            },
            "scope": 10302,
            "src": "5991:1162:51",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 10303,
        "src": "429:6726:51"
      }
    ],
    "src": "0:7156:51"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {
    "3": {
      "events": {
        "0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newController",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "NewUpgradeProposal",
          "type": "event"
        },
        "0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newUpgradeScheme",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_params",
              "type": "bytes32"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "ChangeUpgradeSchemeProposal",
          "type": "event"
        },
        "0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0": {
          "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"
        },
        "0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            }
          ],
          "name": "ProposalDeleted",
          "type": "event"
        }
      },
      "links": {},
      "address": "0xbd879865b649B7605c27cAa6A54e0f6B9Efb74b2",
      "transactionHash": "0x0580fd2d28897a91baec77cde2211df4f6fcb639d65b94c04cea4fe811db9522"
    },
    "122": {
      "events": {
        "0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newController",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "NewUpgradeProposal",
          "type": "event"
        },
        "0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newUpgradeScheme",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_params",
              "type": "bytes32"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "ChangeUpgradeSchemeProposal",
          "type": "event"
        },
        "0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0": {
          "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"
        },
        "0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            }
          ],
          "name": "ProposalDeleted",
          "type": "event"
        }
      },
      "links": {},
      "address": "0xfC9F6F5E3ff7BAAB3fEf82e66f56917D625ba38B",
      "transactionHash": "0xb8fb7d674cb7c92798d55408cbd3caa185f8b145cfbfaf5f6bf4100997dea51b"
    },
    "4447": {
      "events": {
        "0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newController",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "NewUpgradeProposal",
          "type": "event"
        },
        "0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            },
            {
              "indexed": true,
              "name": "_intVoteInterface",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_newUpgradeScheme",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_params",
              "type": "bytes32"
            },
            {
              "indexed": false,
              "name": "_descriptionHash",
              "type": "string"
            }
          ],
          "name": "ChangeUpgradeSchemeProposal",
          "type": "event"
        },
        "0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0": {
          "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"
        },
        "0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_avatar",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "_proposalId",
              "type": "bytes32"
            }
          ],
          "name": "ProposalDeleted",
          "type": "event"
        }
      },
      "links": {},
      "address": "0xB0C055dF8A9cBB573e1fAaCc779c935CC9d13b97",
      "transactionHash": "0x7af4e4deb7dbaa3c7d30563c744ca66e55e9949c86222cc6d74628bd2bdb8c98"
    }
  },
  "schemaVersion": "3.2.3",
  "updatedAt": "2021-01-27T19:47:38.035Z",
  "networkType": "ethereum",
  "devdoc": {
    "details": "The scheme is used to upgrade the controller of an organization to a new controller.",
    "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"
        }
      },
      "getParametersHash(bytes32,address)": {
        "details": "return a hash of the given parameters"
      },
      "proposeChangeUpgradingScheme(address,address,bytes32,string)": {
        "details": "propose to replace this scheme by another upgrading scheme",
        "params": {
          "_avatar": "avatar of the organization",
          "_descriptionHash": "proposal description hash",
          "_params": "the parameters of the new upgrading scheme",
          "_scheme": "address of the new upgrading scheme"
        },
        "return": "an id which represents the proposal"
      },
      "proposeUpgrade(address,address,string)": {
        "details": "propose an upgrade of the organization's controller",
        "params": {
          "_avatar": "avatar of the organization",
          "_descriptionHash": "proposal description hash",
          "_newController": "address of the new controller that is being proposed"
        },
        "return": "an id which represents the proposal"
      },
      "setParameters(bytes32,address)": {
        "details": "hash the parameters, save them if necessary, and return the hash value"
      }
    },
    "title": "A scheme to manage the upgrade of an organization."
  },
  "userdoc": {
    "methods": {}
  }
}