{
  "contractName": "UpgradeScheme",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "_intVoteInterface",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "_newUpgradeScheme",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "_params",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "ChangeUpgradeSchemeProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "_intVoteInterface",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "_newController",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "NewUpgradeProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "ProposalDeleted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "int256",
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "ProposalExecuted",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "contract IERC20",
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "balanceOfStakingToken",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "burnReputation",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getTotalReputationSupply",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "mintReputation",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "organizationsProposals",
      "outputs": [
        {
          "internalType": "address",
          "name": "upgradeContract",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "params",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "proposalType",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "parameters",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "voteParams",
          "type": "bytes32"
        },
        {
          "internalType": "contract IntVoteInterface",
          "name": "intVote",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "proposalsInfo",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "blockNumber",
          "type": "uint256"
        },
        {
          "internalType": "contract Avatar",
          "name": "avatar",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "address",
          "name": "_owner",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "reputationOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "contract IERC20",
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "stakingTokenTransfer",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "internalType": "int256",
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "executeProposal",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_voteParams",
          "type": "bytes32"
        },
        {
          "internalType": "contract IntVoteInterface",
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "setParameters",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_voteParams",
          "type": "bytes32"
        },
        {
          "internalType": "contract IntVoteInterface",
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "getParametersHash",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "contract Avatar",
          "name": "_avatar",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_newController",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeUpgrade",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "contract Avatar",
          "name": "_avatar",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_scheme",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_params",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeChangeUpgradingScheme",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newUpgradeScheme\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_params\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"ChangeUpgradeSchemeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newController\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"NewUpgradeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"ProposalDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_stakingToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"internalType\":\"int256\",\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"executeProposal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"internalType\":\"contract IntVoteInterface\",\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"getParametersHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"mintReputation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"organizationsProposals\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"upgradeContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"params\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"proposalType\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"voteParams\",\"type\":\"bytes32\"},{\"internalType\":\"contract IntVoteInterface\",\"name\":\"intVote\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"contract Avatar\",\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contract Avatar\",\"name\":\"_avatar\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_scheme\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_params\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeChangeUpgradingScheme\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contract Avatar\",\"name\":\"_avatar\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newController\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeUpgrade\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"internalType\":\"contract IntVoteInterface\",\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"setParameters\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_stakingToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"stakingTokenTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"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\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzz-raw://9d3c1c7575cf6075ea1d89921f09b9b8e322b208dacaf0446cd4f64506c999f0\",\"dweb:/ipfs/QmVGDDHAR2ByuQpbgV7BBKXGEAcbaWvejpEZYzHgaagBFK\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzz-raw://ce1fcf85b744fcce2dbd4205e3943e9b4ec36a5f0330d4bbf61e65f1a3e0e470\",\"dweb:/ipfs/QmUWiLkBDdekhpy93nTzBtxDHL6yNh6sTUM9G8VbsHcBzy\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzz-raw://51d1d6e85fd90f45395a16b7a3c703c4636e836041f2a13f806e4222ef2e59c1\",\"dweb:/ipfs/QmQjeCeFf7TJzsYjT5scyZUDDixBA8Yy8YppgBuxcKPDnP\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzz-raw://19495cd88280e54d7ddcd043ffeff75e6d3777a0c42debcd61cae448e9497ea0\",\"dweb:/ipfs/QmYxWz7CgFmmddrcVXJKfob5Ktwykc2imNVUwLSR5WR8bJ\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzz-raw://5dba7734c4fed446c084a707761cbc66ba22b8b93ef53c8d4a22a76b6e271690\",\"dweb:/ipfs/QmP2VpPKUqLh4ZZs6LaxHVpCN1zCmiorygL9bMub4mbYCw\"]},\"@daostack/arc/contracts/universalSchemes/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzz-raw://d17df7fe23080da4da159c57a23793fed90dbc8129ab8d752365e6b5f07a9e2a\",\"dweb:/ipfs/QmUUNrcMqrxT3k1V4z9p9HJUnxPdNNgf5CB8NUHc5uMwBd\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzz-raw://1bd1812db855997c2c5f3df4a0a5ae568977ac05c2066999a08ce251dce05c07\",\"dweb:/ipfs/QmRbvtTZHUnSypBqaiAUZxUbK8sGzgVpyK3f6zCz9utVDz\"]},\"@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol\":{\"keccak256\":\"0xf1b96fe311f836e717959900926f7e3d7b55bf92d46e459bb8e021a9912156e8\",\"urls\":[\"bzz-raw://4f459d59cc17dfc1893b3ed14015dd85e2c4d80671680d6764c0c4648fab8fae\",\"dweb:/ipfs/QmYLWswcuARwxf8aBmnZSLUyjtCe39n2zjzFUc9UY4R9GX\"]},\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":{\"keccak256\":\"0x4052c6f57add891f5f6514a7837f54955ac1f3ad4654fa45d864e4aad19864ba\",\"urls\":[\"bzz-raw://3c41bfc9e42463f3a9c0a4a6fc75382661e1f8e04e20886ff623e7a671aa28ed\",\"dweb:/ipfs/QmXZhcp17q64esWMwWAjJ2CkjHbG9btWRMhRs78LBrVLjD\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzz-raw://8856852c8fe0ba1c9aab326f0a9a6e7f31a238de2778fa5188e6fc399f7eb352\",\"dweb:/ipfs/QmVH4ppR9Dk7v8yxaSgeArdMv9gBBVoQxEf4E3UsqQ4rY2\"]},\"@daostack/infra/contracts/libs/RealMath.sol\":{\"keccak256\":\"0x3ee79c4b483da327916ac36f9d5cc6a1f2f0363db3ad06793ec67f46e1f653db\",\"urls\":[\"bzz-raw://19b423aa16b93e414c50ca513caabc0f1cb835f31deec82d85d9bb31c0f8d5fb\",\"dweb:/ipfs/QmS8gjtT3jxxoNAosJf6QSStFAE2KZLhNA1Qq9MXwT2CnN\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocol.sol\":{\"keccak256\":\"0x0321da6019e0e1a7fc4e1ca484d7d5d376805abb17f9eb9c46a6731e9dfe58dc\",\"urls\":[\"bzz-raw://a245bc547655b1157fa33198e66fdc8470bcf20a6c56c12b2a02eec28f998849\",\"dweb:/ipfs/QmUsbHxWU5A8SJuDdKDMChu855X9KEqJjaZpTaVQG4W8Wq\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocolLogic.sol\":{\"keccak256\":\"0x2bf5fba64fbda5605b9250ea8ca6d8e28dab41fb0e2b43c9145b91e1d0425eef\",\"urls\":[\"bzz-raw://3b34c1f70c2b98d4f3add9264700f60cb3deed47610e010f3d4ac112ab107930\",\"dweb:/ipfs/QmY46SXZnKJeUmbsSfwkW1zNh1YP4FHUjAbVJUJXqhKNwV\"]},\"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\":{\"keccak256\":\"0x877991da94b1fe9c2accf69367b32fff474c4e4f7897e9cf5a61fa5d1378908f\",\"urls\":[\"bzz-raw://4ea2c35248b82ea74884313752870789de61b0bcbc14425e97192b1ef1450e5a\",\"dweb:/ipfs/QmZ9RxpmG6SsMLJm1hT9ZmVy3CVPNZyRihQxZFDk8u3w1G\"]},\"@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol\":{\"keccak256\":\"0xb80a153793e1723b35e70ba1c3800975fbc1fae63c989cfb8134a4e58085e181\",\"urls\":[\"bzz-raw://7ea97373ca977623d4c480c1d03e0853b1b34d59df4928ef72548987b2943899\",\"dweb:/ipfs/QmZ1MmDX4ExZ1iEo9gFp3SHfpNjWoLHS9nVhFkTRokgoLS\"]},\"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\":{\"keccak256\":\"0xec215d305f0aa5a5193b6f0302a1aa6bb84e85460167f80b261faf9d30564563\",\"urls\":[\"bzz-raw://8edb25b20c86a28b5c7c7c3a918f219106a1d3047933984dd76e33e30911857d\",\"dweb:/ipfs/Qme1iBcLjPPrC6jMF56cSE9pmEdCQ23aT43wQbnqKjXEYe\"]},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"keccak256\":\"0xb48974d92a87053dc1d6c5389f3d1b2ad522dec23afcb508eaa935d98dfdc0b6\",\"urls\":[\"bzz-raw://4ca542b4b005c3fa1b4e145f86cefc50cd5eb11e7df0d3b6daca5328a075f090\",\"dweb:/ipfs/QmQFNcoXCZvEPt2WWueAYvaMns16VdN6VvdPdEbUav876u\"]},\"openzeppelin-solidity/contracts/math/Math.sol\":{\"keccak256\":\"0x37605dd0606b349cfb1b679892e1bb0ef4ddc16dedb06e229cc4402610a7a848\",\"urls\":[\"bzz-raw://c44b0c7fe0523f3f9a10d2924d7d7137b1349b1e71cd4be57550e185a098ca55\",\"dweb:/ipfs/QmbBLBCBPpqna3QZTiomSwyBdtt5Ua9DqkFgYicMd7Coya\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x965012d27b4262d7a41f5028cbb30c51ebd9ecd4be8fb30380aaa7a3c64fbc8b\",\"urls\":[\"bzz-raw://1eb493553b27efd46c231a836a83ce50d215639feb97b4aac9f301d0fd034ff5\",\"dweb:/ipfs/QmbMdvSXcqGKxeeYvzF3VrWpoHQyVzMXBhzhAokF2Gdymv\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzz-raw://f07a2c393caa85f62f0aaa461e3edd50aa59371d4209778ba0558d7f8b4b856c\",\"dweb:/ipfs/QmeN3ZiYGSjCnQFeYaJNgoXjF9eDue1g3e9pqManRkeBtV\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xba431353cb4fe70777ac026231eb5468e41aa1e81240a2b8136917acc5fff4dc\",\"urls\":[\"bzz-raw://f40c91ca270bdc9b156f339081a0fc2bbcf73cf5f62b8c73ba555df753ff6619\",\"dweb:/ipfs/QmT8y2VVjGaFdGphpcXrgvdPi2EgF9LuCDgJiJ89LvpFRV\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol\":{\"keccak256\":\"0xa3e68fd7f987c8fbdaf4867d428a69a15f3cf2f69709a5b0a0fbef750b0e6fbc\",\"urls\":[\"bzz-raw://50b1ff986d3b2793850a66c8429d9886fdfb134b1509b3e98714e3e2a71e24f5\",\"dweb:/ipfs/QmSQBYPeY9tbR3ciGRNQqvcWKnNiuxtVMq2MsPWpLwuGGm\"]},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzz-raw://ee762ff5b7746e41d27dcbcea00c7a3034b58adb1b45ddadddb5b721aff450df\",\"dweb:/ipfs/QmdxqtgEFZjHCoiYyz6pUAQ5iBm7As25jcyEbZoTaAgyDa\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x5c731061b804fa256fc8c05150eafe5d20b6bb94541a8f187912bf84f7033f34\",\"urls\":[\"bzz-raw://a3c2d9f046beebab7fb41b1b124a6a124a36f510f7c67365861402ac831bdc71\",\"dweb:/ipfs/QmUtASRgitregbKH83anopLtF9vFQe3BKeAjhUa6F7t9YV\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b506119ca806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639588378e1161008c578063bea75f2811610066578063bea75f2814610382578063d29b5d2f146103be578063da816894146103f0578063f81f8bf6146104b6576100ea565b80639588378e146103025780639d4c162d1461032e578063b551c37314610365576100ea565b806360bdbb3f116100c857806360bdbb3f146101bf57806368e14dac146101eb5780636b8eb4031461021757806374ad5c3314610243576100ea565b806302506804146100ef57806306e3a9781461012d5780632453732a14610181575b600080fd5b61010c6004803603602081101561010557600080fd5b50356104e8565b604080519283526001600160a01b0390911660208301528051918290030190f35b6101596004803603604081101561014357600080fd5b506001600160a01b03813516906020013561050a565b604080516001600160a01b039094168452602084019290925282820152519081900360600190f35b6101ad6004803603604081101561019757600080fd5b50803590602001356001600160a01b031661053e565b60408051918252519081900360200190f35b61010c600480360360408110156101d557600080fd5b506001600160a01b038135169060200135610580565b6101ad6004803603604081101561020157600080fd5b50803590602001356001600160a01b03166105aa565b6101ad6004803603604081101561022d57600080fd5b506001600160a01b0381351690602001356105ef565b6101ad6004803603606081101561025957600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561028d57600080fd5b82018360208201111561029f57600080fd5b803590602001918460018302840111640100000000831117156102c157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506106ad945050505050565b6101ad6004803603604081101561031857600080fd5b506001600160a01b0381351690602001356108fe565b6103516004803603604081101561034457600080fd5b5080359060200135610a0c565b604080519115158252519081900360200190f35b6101ad6004803603602081101561037b57600080fd5b5035610e87565b6103516004803603608081101561039857600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610fc1565b610351600480360360608110156103d457600080fd5b508035906001600160a01b036020820135169060400135611163565b6101ad6004803603608081101561040657600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044157600080fd5b82018360208201111561045357600080fd5b8035906020019184600183028401116401000000008311171561047557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112fc945050505050565b610351600480360360608110156104cc57600080fd5b508035906001600160a01b0360208201351690604001356115e2565b600260205260009081526040902080546001909101546001600160a01b031682565b600160208181526000938452604080852090915291835291208054918101546002909101546001600160a01b039092169183565b6040805160208082018590526bffffffffffffffffffffffff19606085901b168284015282516034818403018152605490920190925280519101205b92915050565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b6000806105b7848461053e565b600081815260026020526040902085815560010180546001600160a01b0386166001600160a01b031990911617905591505092915050565b336000908152602081815260408083208484529091528120600101546001600160a01b03168061062357600091505061057a565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561067957600080fd5b505afa15801561068d573d6000803e3d6000fd5b505050506040513d60208110156106a357600080fd5b5051949350505050565b60006106b761195e565b600260006106c487611743565b8152602080820192909252604090810160009081208251808401845281548082526001909201546001600160a01b039081168287018190528551634439bdaf60e11b8152600260048201526024810194909452336044850152908b166064840152935190955091936388737b5e9260848084019382900301818787803b15801561074d57600080fd5b505af1158015610761573d6000803e3d6000fd5b505050506040513d602081101561077757600080fd5b50519050610783611975565b5060408051606080820183526001600160a01b038881168084526000602080860182815260018789018181528f87168086528285528a86208c875285528a86208a5181546001600160a01b031916908a16178155935192840192909255516002909201919091558982015188519485528483018981528d51998601999099528c519798951696899691957f5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0958f958f95919492939285019291860191908190849084905b8381101561085f578181015183820152602001610847565b50505050905090810190601f16801561088c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a4506040805180820182524381526001600160a01b0397881660208083019182529485015189166000908152808652838120858252909552919093209251835551600190920180546001600160a01b0319169290961691909117909455509192915050565b600061090861195e565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b031690820181905261094f57600091505061057a565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561098c57600080fd5b505afa1580156109a0573d6000803e3d6000fd5b505050506040513d60208110156109b657600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b15801561067957600080fd5b3360009081526020818152604080832085845290915281206001015483906001600160a01b0316610a79576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208784529091529020600101546001600160a01b0316610aa6611975565b506001600160a01b0380821660009081526001602081815260408084208a8552825292839020835160608101855281549095168552918201549084015260020154908201819052610af657600080fd5b6001600160a01b03821660008181526001602081815260408084208b855290915280832080546001600160a01b03191681559182018390556002909101829055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610e3b576000826001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ba157600080fd5b505afa158015610bb5573d6000803e3d6000fd5b505050506040513d6020811015610bcb57600080fd5b5051604083015190915060011415610c68578151604080516308484f7f60e31b81526001600160a01b03928316600482015285831660248201529051918316916342427bf8916044808201926020929091908290030181600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505050506040513d6020811015610c5d57600080fd5b5051610c6857600080fd5b816040015160021415610e395760408051634da8f1ad60e11b81523060048201526001600160a01b0385811660248301529151600092841691639b51e35a916044808301926020929190829003018186803b158015610cc657600080fd5b505afa158015610cda573d6000803e3d6000fd5b505050506040513d6020811015610cf057600080fd5b505183516020858101516040805163e869d45f60e01b81526001600160a01b03948516600482015260248101929092526001600160e01b0319851660448301528884166064830152519394509185169263e869d45f9260848082019392918290030181600087803b158015610d6457600080fd5b505af1158015610d78573d6000803e3d6000fd5b505050506040513d6020811015610d8e57600080fd5b5051610d9957600080fd5b82516001600160a01b03163014610e3757816001600160a01b0316636c525b13856040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015610e0257600080fd5b505af1158015610e16573d6000803e3d6000fd5b505050506040513d6020811015610e2c57600080fd5b5051610e3757600080fd5b505b505b60408051868152905187916001600160a01b038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b6000610e9161195e565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610ed8576000915050610fbc565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b158015610f1557600080fd5b505afa158015610f29573d6000803e3d6000fd5b505050506040513d6020811015610f3f57600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b158015610f8c57600080fd5b505afa158015610fa0573d6000803e3d6000fd5b505050506040513d6020811015610fb657600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661102e576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061106257600092505061115a565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561109b57600080fd5b505afa1580156110af573d6000803e3d6000fd5b505050506040513d60208110156110c557600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561112a57600080fd5b505af115801561113e573d6000803e3d6000fd5b505050506040513d602081101561115457600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166111d0576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806112045760009250506112f4565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b1580156112c457600080fd5b505af11580156112d8573d6000803e3d6000fd5b505050506040513d60208110156112ee57600080fd5b50519250505b509392505050565b600061130661195e565b6002600061131388611743565b8152602080820192909252604090810160009081208251808401845281548082526001909201546001600160a01b039081168287018190528551634439bdaf60e11b8152600260048201526024810194909452336044850152908c16606484015293519095509293919284926388737b5e926084808201939182900301818787803b1580156113a157600080fd5b505af11580156113b5573d6000803e3d6000fd5b505050506040513d60208110156113cb57600080fd5b50516001600160a01b03891660009081526001602090815260408083208484529091529020600201549091501561140157600080fd5b611409611975565b6040518060600160405280896001600160a01b031681526020018881526020016002815250905080600160008b6001600160a01b03166001600160a01b03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550602082015181600101556040820151816002015590505083602001516001600160a01b0316828a6001600160a01b03167f54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b88b8b8b60405180846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561154357818101518382015260200161152b565b50505050905090810190601f1680156115705780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a4506040805180820182524381526001600160a01b03998a166020808301918252948b166000908152808652838120858252909552919093209251835551600190920180546001600160a01b03191692909816919091179096555093949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661164f576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806116835760009250506112f4565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116bc57600080fd5b505afa1580156116d0573d6000803e3d6000fd5b505050506040513d60208110156116e657600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b1580156112c457600080fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561177e57600080fd5b505afa158015611792573d6000803e3d6000fd5b505050506040513d60208110156117a857600080fd5b505160408051639be2faed60e01b81523060048201526001600160a01b03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b1580156117fa57600080fd5b505afa15801561180e573d6000803e3d6000fd5b505050506040513d602081101561182457600080fd5b5051611877576040805162461bcd60e51b815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156118b057600080fd5b505afa1580156118c4573d6000803e3d6000fd5b505050506040513d60208110156118da57600080fd5b505160408051630389aac160e31b81523060048201526001600160a01b03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b15801561192c57600080fd5b505afa158015611940573d6000803e3d6000fd5b505050506040513d602081101561195657600080fd5b505192915050565b604080518082019091526000808252602082015290565b60408051606081018252600080825260208201819052918101919091529056fea265627a7a72315820eafe6759213c6ffa19a52261022f57792faa59b866651ca606e34b33bec36ba964736f6c63430005100032",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639588378e1161008c578063bea75f2811610066578063bea75f2814610382578063d29b5d2f146103be578063da816894146103f0578063f81f8bf6146104b6576100ea565b80639588378e146103025780639d4c162d1461032e578063b551c37314610365576100ea565b806360bdbb3f116100c857806360bdbb3f146101bf57806368e14dac146101eb5780636b8eb4031461021757806374ad5c3314610243576100ea565b806302506804146100ef57806306e3a9781461012d5780632453732a14610181575b600080fd5b61010c6004803603602081101561010557600080fd5b50356104e8565b604080519283526001600160a01b0390911660208301528051918290030190f35b6101596004803603604081101561014357600080fd5b506001600160a01b03813516906020013561050a565b604080516001600160a01b039094168452602084019290925282820152519081900360600190f35b6101ad6004803603604081101561019757600080fd5b50803590602001356001600160a01b031661053e565b60408051918252519081900360200190f35b61010c600480360360408110156101d557600080fd5b506001600160a01b038135169060200135610580565b6101ad6004803603604081101561020157600080fd5b50803590602001356001600160a01b03166105aa565b6101ad6004803603604081101561022d57600080fd5b506001600160a01b0381351690602001356105ef565b6101ad6004803603606081101561025957600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561028d57600080fd5b82018360208201111561029f57600080fd5b803590602001918460018302840111640100000000831117156102c157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506106ad945050505050565b6101ad6004803603604081101561031857600080fd5b506001600160a01b0381351690602001356108fe565b6103516004803603604081101561034457600080fd5b5080359060200135610a0c565b604080519115158252519081900360200190f35b6101ad6004803603602081101561037b57600080fd5b5035610e87565b6103516004803603608081101561039857600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610fc1565b610351600480360360608110156103d457600080fd5b508035906001600160a01b036020820135169060400135611163565b6101ad6004803603608081101561040657600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044157600080fd5b82018360208201111561045357600080fd5b8035906020019184600183028401116401000000008311171561047557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112fc945050505050565b610351600480360360608110156104cc57600080fd5b508035906001600160a01b0360208201351690604001356115e2565b600260205260009081526040902080546001909101546001600160a01b031682565b600160208181526000938452604080852090915291835291208054918101546002909101546001600160a01b039092169183565b6040805160208082018590526bffffffffffffffffffffffff19606085901b168284015282516034818403018152605490920190925280519101205b92915050565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b6000806105b7848461053e565b600081815260026020526040902085815560010180546001600160a01b0386166001600160a01b031990911617905591505092915050565b336000908152602081815260408083208484529091528120600101546001600160a01b03168061062357600091505061057a565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561067957600080fd5b505afa15801561068d573d6000803e3d6000fd5b505050506040513d60208110156106a357600080fd5b5051949350505050565b60006106b761195e565b600260006106c487611743565b8152602080820192909252604090810160009081208251808401845281548082526001909201546001600160a01b039081168287018190528551634439bdaf60e11b8152600260048201526024810194909452336044850152908b166064840152935190955091936388737b5e9260848084019382900301818787803b15801561074d57600080fd5b505af1158015610761573d6000803e3d6000fd5b505050506040513d602081101561077757600080fd5b50519050610783611975565b5060408051606080820183526001600160a01b038881168084526000602080860182815260018789018181528f87168086528285528a86208c875285528a86208a5181546001600160a01b031916908a16178155935192840192909255516002909201919091558982015188519485528483018981528d51998601999099528c519798951696899691957f5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0958f958f95919492939285019291860191908190849084905b8381101561085f578181015183820152602001610847565b50505050905090810190601f16801561088c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a4506040805180820182524381526001600160a01b0397881660208083019182529485015189166000908152808652838120858252909552919093209251835551600190920180546001600160a01b0319169290961691909117909455509192915050565b600061090861195e565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b031690820181905261094f57600091505061057a565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561098c57600080fd5b505afa1580156109a0573d6000803e3d6000fd5b505050506040513d60208110156109b657600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b15801561067957600080fd5b3360009081526020818152604080832085845290915281206001015483906001600160a01b0316610a79576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208784529091529020600101546001600160a01b0316610aa6611975565b506001600160a01b0380821660009081526001602081815260408084208a8552825292839020835160608101855281549095168552918201549084015260020154908201819052610af657600080fd5b6001600160a01b03821660008181526001602081815260408084208b855290915280832080546001600160a01b03191681559182018390556002909101829055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a38460011415610e3b576000826001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ba157600080fd5b505afa158015610bb5573d6000803e3d6000fd5b505050506040513d6020811015610bcb57600080fd5b5051604083015190915060011415610c68578151604080516308484f7f60e31b81526001600160a01b03928316600482015285831660248201529051918316916342427bf8916044808201926020929091908290030181600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505050506040513d6020811015610c5d57600080fd5b5051610c6857600080fd5b816040015160021415610e395760408051634da8f1ad60e11b81523060048201526001600160a01b0385811660248301529151600092841691639b51e35a916044808301926020929190829003018186803b158015610cc657600080fd5b505afa158015610cda573d6000803e3d6000fd5b505050506040513d6020811015610cf057600080fd5b505183516020858101516040805163e869d45f60e01b81526001600160a01b03948516600482015260248101929092526001600160e01b0319851660448301528884166064830152519394509185169263e869d45f9260848082019392918290030181600087803b158015610d6457600080fd5b505af1158015610d78573d6000803e3d6000fd5b505050506040513d6020811015610d8e57600080fd5b5051610d9957600080fd5b82516001600160a01b03163014610e3757816001600160a01b0316636c525b13856040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015610e0257600080fd5b505af1158015610e16573d6000803e3d6000fd5b505050506040513d6020811015610e2c57600080fd5b5051610e3757600080fd5b505b505b60408051868152905187916001600160a01b038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b6000610e9161195e565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610ed8576000915050610fbc565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b158015610f1557600080fd5b505afa158015610f29573d6000803e3d6000fd5b505050506040513d6020811015610f3f57600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b158015610f8c57600080fd5b505afa158015610fa0573d6000803e3d6000fd5b505050506040513d6020811015610fb657600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661102e576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061106257600092505061115a565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561109b57600080fd5b505afa1580156110af573d6000803e3d6000fd5b505050506040513d60208110156110c557600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561112a57600080fd5b505af115801561113e573d6000803e3d6000fd5b505050506040513d602081101561115457600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166111d0576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806112045760009250506112f4565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b1580156112c457600080fd5b505af11580156112d8573d6000803e3d6000fd5b505050506040513d60208110156112ee57600080fd5b50519250505b509392505050565b600061130661195e565b6002600061131388611743565b8152602080820192909252604090810160009081208251808401845281548082526001909201546001600160a01b039081168287018190528551634439bdaf60e11b8152600260048201526024810194909452336044850152908c16606484015293519095509293919284926388737b5e926084808201939182900301818787803b1580156113a157600080fd5b505af11580156113b5573d6000803e3d6000fd5b505050506040513d60208110156113cb57600080fd5b50516001600160a01b03891660009081526001602090815260408083208484529091529020600201549091501561140157600080fd5b611409611975565b6040518060600160405280896001600160a01b031681526020018881526020016002815250905080600160008b6001600160a01b03166001600160a01b03168152602001908152602001600020600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550602082015181600101556040820151816002015590505083602001516001600160a01b0316828a6001600160a01b03167f54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b88b8b8b60405180846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561154357818101518382015260200161152b565b50505050905090810190601f1680156115705780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a4506040805180820182524381526001600160a01b03998a166020808301918252948b166000908152808652838120858252909552919093209251835551600190920180546001600160a01b03191692909816919091179096555093949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661164f576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806116835760009250506112f4565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116bc57600080fd5b505afa1580156116d0573d6000803e3d6000fd5b505050506040513d60208110156116e657600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b1580156112c457600080fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561177e57600080fd5b505afa158015611792573d6000803e3d6000fd5b505050506040513d60208110156117a857600080fd5b505160408051639be2faed60e01b81523060048201526001600160a01b03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b1580156117fa57600080fd5b505afa15801561180e573d6000803e3d6000fd5b505050506040513d602081101561182457600080fd5b5051611877576040805162461bcd60e51b815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156118b057600080fd5b505afa1580156118c4573d6000803e3d6000fd5b505050506040513d60208110156118da57600080fd5b505160408051630389aac160e31b81523060048201526001600160a01b03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b15801561192c57600080fd5b505afa158015611940573d6000803e3d6000fd5b505050506040513d602081101561195657600080fd5b505192915050565b604080518082019091526000808252602082015290565b60408051606081018252600080825260208201819052918101919091529056fea265627a7a72315820eafe6759213c6ffa19a52261022f57792faa59b866651ca606e34b33bec36ba964736f6c63430005100032",
  "sourceMap": "429:6726:60:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6726:60;;;;;;;",
  "deployedSourceMap": "429:6726:60:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6726:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1882:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1882:46:60;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1882:46:60;;;;;;;;;;;;;;;;1598:81;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1598:81:60;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1598:81:60;;;;;;;;;;;;;;;;;;;;;;;;;4160:207;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4160:207:60;;;;;;-1:-1:-1;;;;;4160:207:60;;:::i;:::-;;;;;;;;;;;;;;;;598:73:61;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:61;;;;;;;;:::i;3756:334:60:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3756:334:60;;;;;;-1:-1:-1;;;;;3756:334:60;;:::i;2000:346:61:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:61;;;;;;;;:::i;4686:939:60:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;4686:939:60;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4686:939:60;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4686:939:60;;;;;;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:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4686:939:60;;-1:-1:-1;4686:939:60;;-1:-1:-1;;;;;4686:939:60:i;2693:345:61:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:61;;;;;;;;:::i;2194:1459:60:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2194:1459:60;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2352:335:61;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:61;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:61;;;;;;;;;;;;;;;;;;;;;;:::i;678:410::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:61;;;-1:-1:-1;;;;;678:410:61;;;;;;;;;;:::i;5991:1162:60:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5991:1162:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5991:1162:60;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5991:1162:60;;;;;;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:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5991:1162:60;;-1:-1:-1;5991:1162:60;;-1:-1:-1;;;;;5991:1162:60:i;1094:410:61:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:61;;;-1:-1:-1;;;;;1094:410:61;;;;;;;;;;:::i;1882:46:60:-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1882:46:60;;:::o;1598:81::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1598:81:60;;;;;:::o;4160:207::-;4319:39;;;;;;;;;;-1:-1:-1;;4319:39:60;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;4319:39:60;;;;;;;4309:50;;;;;4160:207;;;;;:::o;598:73:61:-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:61;;:::o;3756:334:60:-;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:60;;-1:-1:-1;;;;;;4015:41:60;;;;;;3887:61;-1:-1:-1;;3756:334:60;;;;:::o;2000:346:61:-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:61;;2186:97;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:61;;2331:6;2299:40;;;;;;;;;;;;;-1:-1:-1;;;;;2299:40:61;-1:-1:-1;;;;;2299:40:61;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:61;;2000:346;-1:-1:-1;;;;2000:346:61:o;4686:939:60:-;4813:7;4836:24;;:::i;:::-;4863:10;:48;4874:36;4902:7;4874:27;:36::i;:::-;4863:48;;;;;;;;;;;;;;-1:-1:-1;4863:48:60;;;4836:75;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4836:75:60;;;;;;;;;4942:74;;-1:-1:-1;;;4942:74:60;;4965:1;4942:74;;;;;;;;;;;4987:10;4942:74;;;;;;;;;;;;;4836:75;;-1:-1:-1;;;4942:22:60;;:74;;;;;;;;;;-1:-1:-1;4836:75:60;4942:74;;;5:2:-1;;;;30:1;27;20:12;5:2;4942:74:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4942:74:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4942:74:60;;-1:-1:-1;5026:31:60;;:::i;:::-;-1:-1:-1;5060:133:60;;;;;;;;;-1:-1:-1;;;;;5060:133:60;;;;;;-1:-1:-1;5060:133:60;;;;;;;5104:1;5060:133;;;;;;5203:40;;;;;;;;;;;;:52;;;;;;;;:63;;;;-1:-1:-1;;;;;;5203:63:60;;;;;;;;;;;;;;;;;;;;;;;;;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:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5501:90:60;;;;;;;;5540:12;5501:90;;-1:-1:-1;;;;;5501:90:60;;;;;;;;;;5470:14;;;;5448:38;;-1:-1:-1;5448:38:60;;;;;;;;;:50;;;;;;;;;;:143;;;;;;;;;;;-1:-1:-1;;;;;;5448:143:60;;;;;;;;;;;;-1:-1:-1;5448:50:60;;4686:939;-1:-1:-1;;4686:939:60:o;2693:345:61:-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:61;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:61;;;;;;;2872:67;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:61;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:61;3010:20;;2955:76;;;-1:-1:-1;;;2955:76:61;;-1:-1:-1;;;;;2955:76:61;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2194:1459:60;443:10:61;2303:4:60;429:25:61;;;;;;;;;;;:38;;;;;;;;:45;;;2282:11:60;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;2349:10:60;2319:13;2335:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2335:45:60;2390:31;;:::i;:::-;-1:-1:-1;;;;;;2424:39:60;;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2390:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2486:35;;;;;;-1:-1:-1;;;;;2538:39:60;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;2531:59;;-1:-1:-1;;;;;;2531:59:60;;;;;;;;;;;;;;;;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:60;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2835:14:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2835:14:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2835:14:60;2901:21;;;;2835:14;;-1:-1:-1;2926:1:60;2901:26;2897:136;;;2984:24;;2955:62;;;-1:-1:-1;;;2955:62:60;;-1:-1:-1;;;;;2955:62:60;;;;;;;;;;;;;;;;:28;;;;;;:62;;;;;;;;;;;;;;;2984:24;2955:28;:62;;;5:2:-1;;;;30:1;27;20:12;5:2;2955:62:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:62:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:62:60;2947:71;;;;;;3087:8;:21;;;3112:1;3087:26;3083:464;;;3154:63;;;-1:-1:-1;;;3154:63:60;;3194:4;3154:63;;;;-1:-1:-1;;;;;3154:63:60;;;;;;;;;3133:18;;3154:31;;;;;:63;;;;;;;;;;;;;;:31;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;3154:63:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3154:63:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3154:63:60;3286:24;;3154:63;3312:15;;;;3260:98;;;-1:-1:-1;;;3260:98:60;;-1:-1:-1;;;;;3260:98:60;;;;;;;;;;;;;;-1:-1:-1;;;;;;3260:98:60;;;;;;;;;;;;;;3154:63;;-1:-1:-1;3260:25:60;;;;;;:98;;;;;3154:63;3260:98;;;;;;3286:24;3260:25;:98;;;5:2:-1;;;;30:1;27;20:12;5:2;3260:98:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3260:98:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3260:98:60;3235:141;;;;;;3398:24;;-1:-1:-1;;;;;3398:41:60;3434:4;3398:41;3394:139;;3471:10;-1:-1:-1;;;;;3471:25:60;;3505:6;3471:42;;;;;;;;;;;;;-1:-1:-1;;;;;3471:42:60;-1:-1:-1;;;;;3471:42:60;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3471:42:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3471:42:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3471:42:60;3463:51;;;;;;3083:464;;2701:856;;3571:54;;;;;;;;3605:11;;-1:-1:-1;;;;;3571:54:60;;;;;;;;;;;;-1:-1:-1;3642:4:60;;2194:1459;-1:-1:-1;;;;;2194:1459:60:o;2352:335:61:-;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:61;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:61;;;;;;;2527:67;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:61;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:61;2659:20;;2610:70;;;-1:-1:-1;;;2610:70:61;;;;;;;;;;-1:-1:-1;;;;;2610:48:61;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:61;;-1:-1:-1;;2352:335:61;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:61;1810:19;1806:62;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:61;1884:103;;;-1:-1:-1;;;1884:103:61;;-1:-1:-1;;;;;1884:103:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:61;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:61;;-1:-1:-1;;529:1:61;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:61;917:19;913:62;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:61;991:90;;;-1:-1:-1;;;991:90:61;;;;;;;;-1:-1:-1;;;;;991:90:61;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:61;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:61;;-1:-1:-1;;529:1:61;678:410;;;;;;:::o;5991:1162:60:-;6180:7;6203:24;;:::i;:::-;6230:10;:48;6241:36;6269:7;6241:27;:36::i;:::-;6230:48;;;;;;;;;;;;;;-1:-1:-1;6230:48:60;;;6203:75;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6203:75:60;;;;;;;;;6360:67;;-1:-1:-1;;;6360:67:60;;6376:1;6360:67;;;;;;;;;;;6398:10;6360:67;;;;;;;;;;;;;6203:75;;-1:-1:-1;6203:75:60;;-1:-1:-1;;6203:75:60;;6360:15;;:67;;;;;;;;;;;-1:-1:-1;6203:75:60;6360:67;;;5:2:-1;;;;30:1;27;20:12;5:2;6360:67:60;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6360:67:60;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6360:67:60;-1:-1:-1;;;;;6445:40:60;;;;;;:22;6360:67;6445:40;;;;;;;:52;;;;;;;;:65;;;6360:67;;-1:-1:-1;6445:70:60;6437:79;;;;;;6527:31;;:::i;:::-;6561:123;;;;;;;;6637:7;-1:-1:-1;;;;;6561:123:60;;;;;6666:7;6561:123;;;;6605:1;6561:123;;;6527:157;;6749:8;6694:22;:40;6725:7;-1:-1:-1;;;;;6694:40:60;-1:-1:-1;;;;;6694:40:60;;;;;;;;;;;;:52;6735:10;6694:52;;;;;;;;;;;:63;;;;;;;;;;;;;-1:-1:-1;;;;;6694:63:60;;;;;-1:-1:-1;;;;;6694:63:60;;;;;;;;;;;;;;;;;;;;;;;;;6876:6;:14;;;-1:-1:-1;;;;;6773:200:60;6844:10;6822:7;-1:-1:-1;;;;;6773:200:60;;6905:7;6926;6947:16;6773:200;;;;-1:-1:-1;;;;;6773:200:60;-1:-1:-1;;;;;6773:200:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7029:90:60;;;;;;;;7068:12;7029:90;;-1:-1:-1;;;;;7029:90:60;;;;;;;;;;6983:31;;;-1:-1:-1;6983:31:60;;;;;;;;;:43;;;;;;;;;;:136;;;;;;;;;;;-1:-1:-1;;;;;;6983:136:60;;;;;;;;;;;;-1:-1:-1;6983:43:60;;5991:1162;-1:-1:-1;;;;5991:1162:60:o;1094:410:61:-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:61;1333:19;1329:62;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:61;1407:90;;;-1:-1:-1;;;1407:90:61;;;;;;;;-1:-1:-1;;;;;1407:90:61;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:61;:90;;;5:2:-1;;;;30:1;27;20:12;299:340:58;374:7;421;-1:-1:-1;;;;;421:13:58;;:15;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;421:15:58;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;421:15:58;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;421:15:58;401:88;;;-1:-1:-1;;;401:88:58;;465:4;401:88;;;;-1:-1:-1;;;;;401:88:58;;;;;;;;;:55;;;;;;;:88;;;;;421:15;;401:88;;;;;;;:55;:88;;;5:2:-1;;;;30:1;27;20:12;5:2;401:88:58;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;401:88:58;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;401:88:58;393:133;;;;;-1:-1:-1;;;393:133:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:7;-1:-1:-1;;;;;563:13:58;;:15;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:15:58;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;563:15:58;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;563:15:58;543:89;;;-1:-1:-1;;;543:89:58;;608:4;543:89;;;;-1:-1:-1;;;;;543:89:58;;;;;;;;;:56;;;;;;;:89;;;;;563:15;;543:89;;;;;;;:56;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;543:89:58;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;543:89:58;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;543:89:58;;299:340;-1:-1:-1;;299:340:58:o;429:6726:60:-;;;;;;;;;;-1:-1:-1;429:6726:60;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;429:6726:60;;;;;;;;;;;;;;;;;:::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": [
        15691
      ]
    },
    "id": 15692,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15236,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:60"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 15237,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 20572,
        "src": "25:71:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "id": 15238,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 20584,
        "src": "97:79:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 15239,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 15224,
        "src": "177:31:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 15240,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 15992,
        "src": "209:54:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15241,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15223,
              "src": "455:15:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$15223",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 15242,
            "nodeType": "InheritanceSpecifier",
            "src": "455:15:60"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15243,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15991,
              "src": "472:22:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$15991",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 15244,
            "nodeType": "InheritanceSpecifier",
            "src": "472:22:60"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15245,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 20583,
              "src": "496:24:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$20583",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 15246,
            "nodeType": "InheritanceSpecifier",
            "src": "496:24:60"
          }
        ],
        "contractDependencies": [
          15223,
          15234,
          15991,
          20583,
          20647
        ],
        "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": 15691,
        "linearizedBaseContracts": [
          15691,
          20583,
          15991,
          20647,
          15223,
          15234
        ],
        "name": "UpgradeScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 15258,
            "name": "NewUpgradeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15257,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15248,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "562:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15247,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15250,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "595:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15249,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15252,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "632:33:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15251,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15254,
                  "indexed": false,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "675:22:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15253,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15256,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "707:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15255,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "707:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:184:60"
            },
            "src": "528:209:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15272,
            "name": "ChangeUpgradeSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15271,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15260,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "786:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15259,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "786:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15262,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "819:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15261,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "819:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15264,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "856:33:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15263,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "856:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15266,
                  "indexed": false,
                  "name": "_newUpgradeScheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "899:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15265,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "899:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15268,
                  "indexed": false,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "934:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15267,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "934:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15270,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "959:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15269,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "959:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "776:212:60"
            },
            "src": "743:246:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15280,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15279,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15274,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1018:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15273,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1018:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15276,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1043:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15275,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1043:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15278,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1072:13:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 15277,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1017:69:60"
            },
            "src": "995:92:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15286,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15285,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15282,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15286,
                  "src": "1114:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15281,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1114:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15284,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15286,
                  "src": "1139:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15283,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1139:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1113:54:60"
            },
            "src": "1092:76:60"
          },
          {
            "canonicalName": "UpgradeScheme.UpgradeProposal",
            "id": 15293,
            "members": [
              {
                "constant": false,
                "id": 15288,
                "name": "upgradeContract",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1246:23:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 15287,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1246:7:60",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15290,
                "name": "params",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1352:14:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 15289,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1352:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15292,
                "name": "proposalType",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1416:20:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 15291,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1416:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "UpgradeProposal",
            "nodeType": "StructDefinition",
            "scope": 15691,
            "src": "1213:282:60",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 15299,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 15691,
            "src": "1598:81:60",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
            },
            "typeName": {
              "id": 15298,
              "keyType": {
                "id": 15294,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1606:7:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1598:51:60",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
              },
              "valueType": {
                "id": 15297,
                "keyType": {
                  "id": 15295,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1623:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1615:33:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                  "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 15296,
                  "name": "UpgradeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15293,
                  "src": "1632:15:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                    "typeString": "struct UpgradeScheme.UpgradeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "UpgradeScheme.Parameters",
            "id": 15304,
            "members": [
              {
                "constant": false,
                "id": 15301,
                "name": "voteParams",
                "nodeType": "VariableDeclaration",
                "scope": 15304,
                "src": "1817:18:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 15300,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1817:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15303,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 15304,
                "src": "1845:24:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 15302,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 20571,
                  "src": "1845:16:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 15691,
            "src": "1789:87:60",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 15308,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 15691,
            "src": "1882:46:60",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
            },
            "typeName": {
              "id": 15307,
              "keyType": {
                "id": 15305,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1890:7:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1882:28:60",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 15306,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 15304,
                "src": "1899:10:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                  "typeString": "struct UpgradeScheme.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15450,
              "nodeType": "Block",
              "src": "2309:1344:60",
              "statements": [
                {
                  "assignments": [
                    15321
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15321,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15450,
                      "src": "2319:13:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15320,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "2319:6:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15329,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15322,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "2335:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15325,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15323,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "2349:3:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15324,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2349:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2335:25:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15327,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15326,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2361:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2335:38:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15328,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "2335:45:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2319:61:60"
                },
                {
                  "assignments": [
                    15331
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15331,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15450,
                      "src": "2390:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15330,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "2390:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15339,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15332,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15299,
                        "src": "2424:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                        }
                      },
                      "id": 15336,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15334,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "2455:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15333,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2447:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15335,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2447:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2424:39:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                      }
                    },
                    "id": 15338,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15337,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15310,
                      "src": "2464:11:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2424:52:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2390:86:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 15344,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15341,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15331,
                            "src": "2494:8:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                              "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                            }
                          },
                          "id": 15342,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15292,
                          "src": "2494:21:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15343,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2519:1:60",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2494:26:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 15340,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22174,
                      "src": "2486:7:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 15345,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2486:35:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15346,
                  "nodeType": "ExpressionStatement",
                  "src": "2486:35:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15354,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2531:59:60",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15347,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "2538:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15351,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15349,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15321,
                              "src": "2569:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15348,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2561:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2561:15:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2538:39:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15353,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15352,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2578:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2538:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15355,
                  "nodeType": "ExpressionStatement",
                  "src": "2531:59:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15358,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "2629:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15357,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2621:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15359,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2621:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15360,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2638:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15356,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15286,
                      "src": "2605:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 15361,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2605:45:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15362,
                  "nodeType": "EmitStatement",
                  "src": "2600:50:60"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 15365,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15363,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15312,
                      "src": "2705:6:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 15364,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2715:1:60",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2705:11:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15439,
                  "nodeType": "IfStatement",
                  "src": "2701:856:60",
                  "trueBody": {
                    "id": 15438,
                    "nodeType": "Block",
                    "src": "2718:839:60",
                    "statements": [
                      {
                        "assignments": [
                          15367
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 15367,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 15438,
                            "src": "2782:30:60",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 15366,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 14394,
                              "src": "2782:19:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 15373,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 15369,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 15321,
                                  "src": "2835:6:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 15370,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 21342,
                                "src": "2835:12:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 15371,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2835:14:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 15368,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 14394,
                            "src": "2815:19:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 15372,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2815:35:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2782:68:60"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 15377,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15374,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15331,
                              "src": "2901:8:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 15375,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15292,
                            "src": "2901:21:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "31",
                            "id": 15376,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2926:1:60",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "2901:26:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 15388,
                        "nodeType": "IfStatement",
                        "src": "2897:136:60",
                        "trueBody": {
                          "id": 15387,
                          "nodeType": "Block",
                          "src": "2929:104:60",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15381,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "2984:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15382,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15288,
                                        "src": "2984:24:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 15383,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15321,
                                        "src": "3010:6:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 15379,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15367,
                                        "src": "2955:10:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 15380,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "upgradeController",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 14256,
                                      "src": "2955:28:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_contract$_Avatar_$12705_$returns$_t_bool_$",
                                        "typeString": "function (address,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 15384,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2955:62:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 15378,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    22174,
                                    22175
                                  ],
                                  "referencedDeclaration": 22174,
                                  "src": "2947:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 15385,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2947:71:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 15386,
                              "nodeType": "ExpressionStatement",
                              "src": "2947:71:60"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 15392,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15389,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15331,
                              "src": "3087:8:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 15390,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15292,
                            "src": "3087:21:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "32",
                            "id": 15391,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3112:1:60",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_2_by_1",
                              "typeString": "int_const 2"
                            },
                            "value": "2"
                          },
                          "src": "3087:26:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 15437,
                        "nodeType": "IfStatement",
                        "src": "3083:464:60",
                        "trueBody": {
                          "id": 15436,
                          "nodeType": "Block",
                          "src": "3115:432:60",
                          "statements": [
                            {
                              "assignments": [
                                15394
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 15394,
                                  "name": "permissions",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 15436,
                                  "src": "3133:18:60",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  },
                                  "typeName": {
                                    "id": 15393,
                                    "name": "bytes4",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "3133:6:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes4",
                                      "typeString": "bytes4"
                                    }
                                  },
                                  "value": null,
                                  "visibility": "internal"
                                }
                              ],
                              "id": 15404,
                              "initialValue": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 15398,
                                        "name": "this",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22237,
                                        "src": "3194:4:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      ],
                                      "id": 15397,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3186:7:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 15399,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3186:13:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 15401,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15321,
                                        "src": "3209:6:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 15400,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3201:7:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 15402,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3201:15:60",
                                    "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": 15395,
                                    "name": "controller",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15367,
                                    "src": "3154:10:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 15396,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "getSchemePermissions",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 14375,
                                  "src": "3154:31:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_bytes4_$",
                                    "typeString": "function (address,address) view external returns (bytes4)"
                                  }
                                },
                                "id": 15403,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3154:63:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "3133:84:60"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15408,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "3286:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15409,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15288,
                                        "src": "3286:24:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15410,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "3312:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15411,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "params",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15290,
                                        "src": "3312:15:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 15412,
                                        "name": "permissions",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15394,
                                        "src": "3329:11:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 15414,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 15321,
                                            "src": "3350:6:60",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$12705",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$12705",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 15413,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3342:7:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 15415,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3342:15:60",
                                        "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": 15406,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15367,
                                        "src": "3260:10:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 15407,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 14211,
                                      "src": "3260:25:60",
                                      "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": 15416,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3260:98:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 15405,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    22174,
                                    22175
                                  ],
                                  "referencedDeclaration": 22174,
                                  "src": "3235:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 15417,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3235:141:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 15418,
                              "nodeType": "ExpressionStatement",
                              "src": "3235:141:60"
                            },
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 15424,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 15419,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15331,
                                    "src": "3398:8:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                    }
                                  },
                                  "id": 15420,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "upgradeContract",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 15288,
                                  "src": "3398:24:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 15422,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 22237,
                                      "src": "3434:4:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    ],
                                    "id": 15421,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3426:7:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 15423,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3426:13:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "3398:41:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 15435,
                              "nodeType": "IfStatement",
                              "src": "3394:139:60",
                              "trueBody": {
                                "id": 15434,
                                "nodeType": "Block",
                                "src": "3441:92:60",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "arguments": [
                                        {
                                          "argumentTypes": null,
                                          "arguments": [
                                            {
                                              "argumentTypes": null,
                                              "arguments": [
                                                {
                                                  "argumentTypes": null,
                                                  "id": 15429,
                                                  "name": "avatar",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 15321,
                                                  "src": "3505:6:60",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                                    "typeString": "contract Avatar"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                                    "typeString": "contract Avatar"
                                                  }
                                                ],
                                                "id": 15428,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "3497:7:60",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_$",
                                                  "typeString": "type(address)"
                                                },
                                                "typeName": "address"
                                              },
                                              "id": 15430,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "3497:15:60",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            ],
                                            "expression": {
                                              "argumentTypes": null,
                                              "id": 15426,
                                              "name": "controller",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 15367,
                                              "src": "3471:10:60",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                                "typeString": "contract ControllerInterface"
                                              }
                                            },
                                            "id": 15427,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "unregisterSelf",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 14227,
                                            "src": "3471:25:60",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bool_$",
                                              "typeString": "function (address) external returns (bool)"
                                            }
                                          },
                                          "id": 15431,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "functionCall",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "3471:42:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        ],
                                        "id": 15425,
                                        "name": "require",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [
                                          22174,
                                          22175
                                        ],
                                        "referencedDeclaration": 22174,
                                        "src": "3463:7:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                          "typeString": "function (bool) pure"
                                        }
                                      },
                                      "id": 15432,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "3463:51:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 15433,
                                    "nodeType": "ExpressionStatement",
                                    "src": "3463:51:60"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15442,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "3596:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15441,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3588:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15443,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3588:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15444,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "3605:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15445,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15312,
                        "src": "3618:6:60",
                        "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": 15440,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15280,
                      "src": "3571:16:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 15446,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3571:54:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15447,
                  "nodeType": "EmitStatement",
                  "src": "3566:59:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 15448,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3642:4:60",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 15319,
                  "id": 15449,
                  "nodeType": "Return",
                  "src": "3635:11:60"
                }
              ]
            },
            "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": 15451,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15315,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15310,
                    "src": "2282:11:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15316,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15314,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "2264:17:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2264:30:60"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15313,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15310,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2219:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15309,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2219:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15312,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2240:13:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 15311,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2240:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2218:36:60"
            },
            "returnParameters": {
              "id": 15319,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15318,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2303:4:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15317,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2303:4:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2302:6:60"
            },
            "scope": 15691,
            "src": "2194:1459:60",
            "stateMutability": "nonpayable",
            "superFunction": 20582,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15483,
              "nodeType": "Block",
              "src": "3877:213:60",
              "statements": [
                {
                  "assignments": [
                    15461
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15461,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 15483,
                      "src": "3887:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15460,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3887:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15466,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15463,
                        "name": "_voteParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15453,
                        "src": "3926:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15464,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15455,
                        "src": "3939:8:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 15462,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15503,
                      "src": "3908:17:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$20571_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 15465,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3908:40:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3887:61:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15472,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15467,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15308,
                          "src": "3958:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 15469,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15468,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15461,
                          "src": "3969:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3958:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 15470,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15301,
                      "src": "3958:33:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15471,
                      "name": "_voteParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15453,
                      "src": "3994:11:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3958:47:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 15473,
                  "nodeType": "ExpressionStatement",
                  "src": "3958:47:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15479,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15474,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15308,
                          "src": "4015:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 15476,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15475,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15461,
                          "src": "4026:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4015:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 15477,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15303,
                      "src": "4015:30:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15478,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15455,
                      "src": "4048:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4015:41:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 15480,
                  "nodeType": "ExpressionStatement",
                  "src": "4015:41:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15481,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15461,
                    "src": "4073:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15459,
                  "id": 15482,
                  "nodeType": "Return",
                  "src": "4066:17:60"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 15484,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15456,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15453,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3788:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15452,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3788:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15455,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3817:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15454,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 20571,
                    "src": "3817:16:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3778:70:60"
            },
            "returnParameters": {
              "id": 15459,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15458,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3864:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15457,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3864:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3863:9:60"
            },
            "scope": 15691,
            "src": "3756:334:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15502,
              "nodeType": "Block",
              "src": "4290:77:60",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 15496,
                                "name": "_voteParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15486,
                                "src": "4336:11:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 15497,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15488,
                                "src": "4349:8:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15494,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22158,
                                "src": "4319:3:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 15495,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4319:16:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 15498,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4319:39:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 15493,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22165,
                          "src": "4309:9:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 15499,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4309:50:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 15500,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4308:52:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15492,
                  "id": 15501,
                  "nodeType": "Return",
                  "src": "4300:60:60"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters",
            "id": 15503,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15489,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15486,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4196:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15485,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4196:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15488,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4225:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15487,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 20571,
                    "src": "4225:16:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4186:70:60"
            },
            "returnParameters": {
              "id": 15492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15491,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4277:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15490,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4277:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4276:9:60"
            },
            "scope": 15691,
            "src": "4160:207:60",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15587,
              "nodeType": "Block",
              "src": "4826:799:60",
              "statements": [
                {
                  "assignments": [
                    15515
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15515,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "4836:24:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15514,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15304,
                        "src": "4836:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15521,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 15516,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15308,
                      "src": "4863:10:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 15520,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 15518,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15505,
                          "src": "4902:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15517,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          15222
                        ],
                        "referencedDeclaration": 15222,
                        "src": "4874:27:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$12705_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 15519,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "4874:36:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4863:48:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4836:75:60"
                },
                {
                  "assignments": [
                    15523
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15523,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "4921:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15522,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "4921:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15536,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15527,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4965:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15528,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15515,
                          "src": "4968:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15529,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15301,
                        "src": "4968:17:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15530,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "4987:3:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15531,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "4987:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15533,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15505,
                            "src": "5007:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15532,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "4999:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15534,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4999:16:60",
                        "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": 15524,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15515,
                          "src": "4942:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15525,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15303,
                        "src": "4942:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 15526,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 20517,
                      "src": "4942:22:60",
                      "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": 15535,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4942:74:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4921:95:60"
                },
                {
                  "assignments": [
                    15538
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15538,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "5026:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15537,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "5026:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15546,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 15540,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5104:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 15541,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15507,
                        "src": "5136:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 15543,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "5180:1:60",
                            "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": 15542,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5172:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes32_$",
                            "typeString": "type(bytes32)"
                          },
                          "typeName": "bytes32"
                        },
                        "id": 15544,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5172:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15539,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15293,
                      "src": "5060:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$15293_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 15545,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5060:133:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5026:167:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15555,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15547,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "5203:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15552,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15549,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15505,
                              "src": "5234:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15548,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5226:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15550,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5226:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5203:40:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15553,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15551,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5244:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5203:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15554,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15538,
                      "src": "5258:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "5203:63:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 15556,
                  "nodeType": "ExpressionStatement",
                  "src": "5203:63:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15559,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15505,
                            "src": "5317:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15558,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5309:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15560,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5309:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15561,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5335:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15563,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15515,
                              "src": "5363:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 15564,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15303,
                            "src": "5363:14:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 15562,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5355:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15565,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5355:23:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15566,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15507,
                        "src": "5388:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15567,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15509,
                        "src": "5412:16:60",
                        "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": 15557,
                      "name": "NewUpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15258,
                      "src": "5281:18:60",
                      "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": 15568,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5281:157:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15569,
                  "nodeType": "EmitStatement",
                  "src": "5276:162:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15583,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15570,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "5448:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15576,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 15572,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15515,
                                "src": "5470:6:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                  "typeString": "struct UpgradeScheme.Parameters memory"
                                }
                              },
                              "id": 15573,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15303,
                              "src": "5470:14:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 15571,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5462:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15574,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5462:23:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5448:38:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15577,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15575,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5487:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5448:50:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15579,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22161,
                            "src": "5540:5:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 15580,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "5540:12:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 15581,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15505,
                          "src": "5573:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15578,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15702,
                        "src": "5501:12:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$15702_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 15582,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5501:90:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5448:143:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 15584,
                  "nodeType": "ExpressionStatement",
                  "src": "5448:143:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15585,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15523,
                    "src": "5608:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15513,
                  "id": 15586,
                  "nodeType": "Return",
                  "src": "5601:17:60"
                }
              ]
            },
            "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": 15588,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15510,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15505,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4710:14:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15504,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12705,
                    "src": "4710:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15507,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4726:22:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15506,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4726:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15509,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4750:30:60",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15508,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4750:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4709:72:60"
            },
            "returnParameters": {
              "id": 15513,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15512,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4813:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15511,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4813:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4812:9:60"
            },
            "scope": 15691,
            "src": "4686:939:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15689,
              "nodeType": "Block",
              "src": "6193:960:60",
              "statements": [
                {
                  "assignments": [
                    15602
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15602,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6203:24:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15601,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15304,
                        "src": "6203:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15608,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 15603,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15308,
                      "src": "6230:10:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 15607,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 15605,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15590,
                          "src": "6269:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15604,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          15222
                        ],
                        "referencedDeclaration": 15222,
                        "src": "6241:27:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$12705_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 15606,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6241:36:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6230:48:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6203:75:60"
                },
                {
                  "assignments": [
                    15610
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15610,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6288:24:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15609,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 20571,
                        "src": "6288:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15613,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 15611,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15602,
                      "src": "6315:6:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters memory"
                      }
                    },
                    "id": 15612,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15303,
                    "src": "6315:14:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6288:41:60"
                },
                {
                  "assignments": [
                    15615
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15615,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6339:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15614,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6339:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15627,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15618,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6376:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15619,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15602,
                          "src": "6379:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15620,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15301,
                        "src": "6379:17:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15621,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "6398:3:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15622,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6398:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15624,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15590,
                            "src": "6418:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15623,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6410:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15625,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6410:16:60",
                        "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": 15616,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15610,
                        "src": "6360:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 15617,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 20517,
                      "src": "6360:15:60",
                      "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": 15626,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6360:67:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6339:88:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 15638,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 15629,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15299,
                                "src": "6445:22:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                                }
                              },
                              "id": 15633,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "id": 15631,
                                    "name": "_avatar",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15590,
                                    "src": "6476:7:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$12705",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$12705",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 15630,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "6468:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 15632,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "6468:16:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6445:40:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                                "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                              }
                            },
                            "id": 15635,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 15634,
                              "name": "proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15615,
                              "src": "6486:10:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "6445:52:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                              "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                            }
                          },
                          "id": 15636,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15292,
                          "src": "6445:65:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15637,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6514:1:60",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "6445:70:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 15628,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22174,
                      "src": "6437:7:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 15639,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6437:79:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15640,
                  "nodeType": "ExpressionStatement",
                  "src": "6437:79:60"
                },
                {
                  "assignments": [
                    15642
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15642,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6527:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15641,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "6527:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15648,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15644,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6605:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "id": 15645,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15592,
                        "src": "6637:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15646,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15594,
                        "src": "6666:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15643,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15293,
                      "src": "6561:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$15293_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 15647,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6561:123:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6527:157:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15657,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15649,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "6694:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15654,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15651,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15590,
                              "src": "6725:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15650,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6717:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15652,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6717:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6694:40:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15655,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15653,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "6735:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6694:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15656,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15642,
                      "src": "6749:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "6694:63:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 15658,
                  "nodeType": "ExpressionStatement",
                  "src": "6694:63:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15661,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15590,
                            "src": "6822:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15660,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6814:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15662,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6814:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15663,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "6844:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15665,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15602,
                              "src": "6876:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 15666,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15303,
                            "src": "6876:14:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 15664,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6868:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15667,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6868:23:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15668,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15592,
                        "src": "6905:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15669,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15594,
                        "src": "6926:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15670,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15596,
                        "src": "6947:16:60",
                        "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": 15659,
                      "name": "ChangeUpgradeSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15272,
                      "src": "6773:27:60",
                      "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": 15671,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6773:200:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15672,
                  "nodeType": "EmitStatement",
                  "src": "6768:205:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15685,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15673,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "6983:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15678,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15675,
                              "name": "intVote",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15610,
                              "src": "7005:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 15674,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6997:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15676,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6997:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6983:31:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15679,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15677,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "7015:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6983:43:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15681,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22161,
                            "src": "7068:5:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 15682,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7068:12:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 15683,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15590,
                          "src": "7101:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15680,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15702,
                        "src": "7029:12:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$15702_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 15684,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7029:90:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "6983:136:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 15686,
                  "nodeType": "ExpressionStatement",
                  "src": "6983:136:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15687,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15615,
                    "src": "7136:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15600,
                  "id": 15688,
                  "nodeType": "Return",
                  "src": "7129:17:60"
                }
              ]
            },
            "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": 15690,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeChangeUpgradingScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15597,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15590,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6038:14:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15589,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12705,
                    "src": "6038:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15592,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6062:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15591,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6062:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15594,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6087:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15593,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6087:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15596,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6112:30:60",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15595,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6112:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6028:120:60"
            },
            "returnParameters": {
              "id": 15600,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15599,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6180:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15598,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6180:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6179:9:60"
            },
            "scope": 15691,
            "src": "5991:1162:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 15692,
        "src": "429:6726:60"
      }
    ],
    "src": "0:7156:60"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol",
    "exportedSymbols": {
      "UpgradeScheme": [
        15691
      ]
    },
    "id": 15692,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15236,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:60"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 15237,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 20572,
        "src": "25:71:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol",
        "id": 15238,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 20584,
        "src": "97:79:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 15239,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 15224,
        "src": "177:31:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 15240,
        "nodeType": "ImportDirective",
        "scope": 15692,
        "sourceUnit": 15992,
        "src": "209:54:60",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15241,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15223,
              "src": "455:15:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$15223",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 15242,
            "nodeType": "InheritanceSpecifier",
            "src": "455:15:60"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15243,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15991,
              "src": "472:22:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$15991",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 15244,
            "nodeType": "InheritanceSpecifier",
            "src": "472:22:60"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15245,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 20583,
              "src": "496:24:60",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$20583",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 15246,
            "nodeType": "InheritanceSpecifier",
            "src": "496:24:60"
          }
        ],
        "contractDependencies": [
          15223,
          15234,
          15991,
          20583,
          20647
        ],
        "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": 15691,
        "linearizedBaseContracts": [
          15691,
          20583,
          15991,
          20647,
          15223,
          15234
        ],
        "name": "UpgradeScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 15258,
            "name": "NewUpgradeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15257,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15248,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "562:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15247,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15250,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "595:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15249,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "595:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15252,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "632:33:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15251,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "632:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15254,
                  "indexed": false,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "675:22:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15253,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15256,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15258,
                  "src": "707:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15255,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "707:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "552:184:60"
            },
            "src": "528:209:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15272,
            "name": "ChangeUpgradeSchemeProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15271,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15260,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "786:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15259,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "786:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15262,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "819:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15261,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "819:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15264,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "856:33:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15263,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "856:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15266,
                  "indexed": false,
                  "name": "_newUpgradeScheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "899:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15265,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "899:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15268,
                  "indexed": false,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "934:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15267,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "934:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15270,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15272,
                  "src": "959:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15269,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "959:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "776:212:60"
            },
            "src": "743:246:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15280,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15279,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15274,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1018:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15273,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1018:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15276,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1043:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15275,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1043:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15278,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 15280,
                  "src": "1072:13:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 15277,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1017:69:60"
            },
            "src": "995:92:60"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 15286,
            "name": "ProposalDeleted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 15285,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15282,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15286,
                  "src": "1114:23:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15281,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1114:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15284,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15286,
                  "src": "1139:27:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15283,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1139:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1113:54:60"
            },
            "src": "1092:76:60"
          },
          {
            "canonicalName": "UpgradeScheme.UpgradeProposal",
            "id": 15293,
            "members": [
              {
                "constant": false,
                "id": 15288,
                "name": "upgradeContract",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1246:23:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 15287,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1246:7:60",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15290,
                "name": "params",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1352:14:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 15289,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1352:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15292,
                "name": "proposalType",
                "nodeType": "VariableDeclaration",
                "scope": 15293,
                "src": "1416:20:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 15291,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1416:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "UpgradeProposal",
            "nodeType": "StructDefinition",
            "scope": 15691,
            "src": "1213:282:60",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 15299,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 15691,
            "src": "1598:81:60",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
            },
            "typeName": {
              "id": 15298,
              "keyType": {
                "id": 15294,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1606:7:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1598:51:60",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal))"
              },
              "valueType": {
                "id": 15297,
                "keyType": {
                  "id": 15295,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1623:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "1615:33:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                  "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 15296,
                  "name": "UpgradeProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15293,
                  "src": "1632:15:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                    "typeString": "struct UpgradeScheme.UpgradeProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "UpgradeScheme.Parameters",
            "id": 15304,
            "members": [
              {
                "constant": false,
                "id": 15301,
                "name": "voteParams",
                "nodeType": "VariableDeclaration",
                "scope": 15304,
                "src": "1817:18:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 15300,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "1817:7:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15303,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 15304,
                "src": "1845:24:60",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 15302,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 20571,
                  "src": "1845:16:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 15691,
            "src": "1789:87:60",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 15308,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 15691,
            "src": "1882:46:60",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
            },
            "typeName": {
              "id": 15307,
              "keyType": {
                "id": 15305,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1890:7:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1882:28:60",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 15306,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 15304,
                "src": "1899:10:60",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                  "typeString": "struct UpgradeScheme.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15450,
              "nodeType": "Block",
              "src": "2309:1344:60",
              "statements": [
                {
                  "assignments": [
                    15321
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15321,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15450,
                      "src": "2319:13:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15320,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "2319:6:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15329,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15322,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "2335:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15325,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15323,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "2349:3:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15324,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2349:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2335:25:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15327,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15326,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2361:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2335:38:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15328,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "2335:45:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2319:61:60"
                },
                {
                  "assignments": [
                    15331
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15331,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15450,
                      "src": "2390:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15330,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "2390:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15339,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15332,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15299,
                        "src": "2424:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                        }
                      },
                      "id": 15336,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15334,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "2455:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15333,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2447:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15335,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2447:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2424:39:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                      }
                    },
                    "id": 15338,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15337,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15310,
                      "src": "2464:11:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2424:52:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2390:86:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 15344,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15341,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15331,
                            "src": "2494:8:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                              "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                            }
                          },
                          "id": 15342,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15292,
                          "src": "2494:21:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15343,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2519:1:60",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2494:26:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 15340,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22174,
                      "src": "2486:7:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 15345,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2486:35:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15346,
                  "nodeType": "ExpressionStatement",
                  "src": "2486:35:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15354,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2531:59:60",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15347,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "2538:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15351,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15349,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15321,
                              "src": "2569:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15348,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2561:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2561:15:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2538:39:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15353,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15352,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2578:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2538:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15355,
                  "nodeType": "ExpressionStatement",
                  "src": "2531:59:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15358,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "2629:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15357,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2621:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15359,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2621:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15360,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "2638:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15356,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15286,
                      "src": "2605:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 15361,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2605:45:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15362,
                  "nodeType": "EmitStatement",
                  "src": "2600:50:60"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 15365,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15363,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15312,
                      "src": "2705:6:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 15364,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2715:1:60",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "2705:11:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15439,
                  "nodeType": "IfStatement",
                  "src": "2701:856:60",
                  "trueBody": {
                    "id": 15438,
                    "nodeType": "Block",
                    "src": "2718:839:60",
                    "statements": [
                      {
                        "assignments": [
                          15367
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 15367,
                            "name": "controller",
                            "nodeType": "VariableDeclaration",
                            "scope": 15438,
                            "src": "2782:30:60",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                              "typeString": "contract ControllerInterface"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 15366,
                              "name": "ControllerInterface",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 14394,
                              "src": "2782:19:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                "typeString": "contract ControllerInterface"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 15373,
                        "initialValue": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 15369,
                                  "name": "avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 15321,
                                  "src": "2835:6:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                    "typeString": "contract Avatar"
                                  }
                                },
                                "id": 15370,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "owner",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 21342,
                                "src": "2835:12:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                  "typeString": "function () view external returns (address)"
                                }
                              },
                              "id": 15371,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2835:14:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 15368,
                            "name": "ControllerInterface",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 14394,
                            "src": "2815:19:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                              "typeString": "type(contract ControllerInterface)"
                            }
                          },
                          "id": 15372,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2815:35:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                            "typeString": "contract ControllerInterface"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2782:68:60"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 15377,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15374,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15331,
                              "src": "2901:8:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 15375,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15292,
                            "src": "2901:21:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "31",
                            "id": 15376,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "2926:1:60",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "2901:26:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 15388,
                        "nodeType": "IfStatement",
                        "src": "2897:136:60",
                        "trueBody": {
                          "id": 15387,
                          "nodeType": "Block",
                          "src": "2929:104:60",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15381,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "2984:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15382,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15288,
                                        "src": "2984:24:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 15383,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15321,
                                        "src": "3010:6:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 15379,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15367,
                                        "src": "2955:10:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 15380,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "upgradeController",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 14256,
                                      "src": "2955:28:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_contract$_Avatar_$12705_$returns$_t_bool_$",
                                        "typeString": "function (address,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 15384,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "2955:62:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 15378,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    22174,
                                    22175
                                  ],
                                  "referencedDeclaration": 22174,
                                  "src": "2947:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 15385,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "2947:71:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 15386,
                              "nodeType": "ExpressionStatement",
                              "src": "2947:71:60"
                            }
                          ]
                        }
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 15392,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15389,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15331,
                              "src": "3087:8:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                              }
                            },
                            "id": 15390,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "proposalType",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15292,
                            "src": "3087:21:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "32",
                            "id": 15391,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3112:1:60",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_2_by_1",
                              "typeString": "int_const 2"
                            },
                            "value": "2"
                          },
                          "src": "3087:26:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 15437,
                        "nodeType": "IfStatement",
                        "src": "3083:464:60",
                        "trueBody": {
                          "id": 15436,
                          "nodeType": "Block",
                          "src": "3115:432:60",
                          "statements": [
                            {
                              "assignments": [
                                15394
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 15394,
                                  "name": "permissions",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 15436,
                                  "src": "3133:18:60",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  },
                                  "typeName": {
                                    "id": 15393,
                                    "name": "bytes4",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "3133:6:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes4",
                                      "typeString": "bytes4"
                                    }
                                  },
                                  "value": null,
                                  "visibility": "internal"
                                }
                              ],
                              "id": 15404,
                              "initialValue": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 15398,
                                        "name": "this",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 22237,
                                        "src": "3194:4:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                          "typeString": "contract UpgradeScheme"
                                        }
                                      ],
                                      "id": 15397,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3186:7:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 15399,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3186:13:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address",
                                      "typeString": "address"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 15401,
                                        "name": "avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15321,
                                        "src": "3209:6:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$12705",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 15400,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "3201:7:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 15402,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3201:15:60",
                                    "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": 15395,
                                    "name": "controller",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15367,
                                    "src": "3154:10:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 15396,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "getSchemePermissions",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 14375,
                                  "src": "3154:31:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_bytes4_$",
                                    "typeString": "function (address,address) view external returns (bytes4)"
                                  }
                                },
                                "id": 15403,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3154:63:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes4",
                                  "typeString": "bytes4"
                                }
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "3133:84:60"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15408,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "3286:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15409,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "upgradeContract",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15288,
                                        "src": "3286:24:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 15410,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 15331,
                                          "src": "3312:8:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                            "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                          }
                                        },
                                        "id": 15411,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "params",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 15290,
                                        "src": "3312:15:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes32",
                                          "typeString": "bytes32"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 15412,
                                        "name": "permissions",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15394,
                                        "src": "3329:11:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bytes4",
                                          "typeString": "bytes4"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "id": 15414,
                                            "name": "avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 15321,
                                            "src": "3350:6:60",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$12705",
                                              "typeString": "contract Avatar"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_contract$_Avatar_$12705",
                                              "typeString": "contract Avatar"
                                            }
                                          ],
                                          "id": 15413,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3342:7:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": "address"
                                        },
                                        "id": 15415,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3342:15:60",
                                        "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": 15406,
                                        "name": "controller",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 15367,
                                        "src": "3260:10:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 15407,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "registerScheme",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 14211,
                                      "src": "3260:25:60",
                                      "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": 15416,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3260:98:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 15405,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    22174,
                                    22175
                                  ],
                                  "referencedDeclaration": 22174,
                                  "src": "3235:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 15417,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3235:141:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 15418,
                              "nodeType": "ExpressionStatement",
                              "src": "3235:141:60"
                            },
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 15424,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 15419,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15331,
                                    "src": "3398:8:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                                    }
                                  },
                                  "id": 15420,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "upgradeContract",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 15288,
                                  "src": "3398:24:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 15422,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 22237,
                                      "src": "3434:4:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_UpgradeScheme_$15691",
                                        "typeString": "contract UpgradeScheme"
                                      }
                                    ],
                                    "id": 15421,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3426:7:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 15423,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3426:13:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "3398:41:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 15435,
                              "nodeType": "IfStatement",
                              "src": "3394:139:60",
                              "trueBody": {
                                "id": 15434,
                                "nodeType": "Block",
                                "src": "3441:92:60",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "arguments": [
                                        {
                                          "argumentTypes": null,
                                          "arguments": [
                                            {
                                              "argumentTypes": null,
                                              "arguments": [
                                                {
                                                  "argumentTypes": null,
                                                  "id": 15429,
                                                  "name": "avatar",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 15321,
                                                  "src": "3505:6:60",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                                    "typeString": "contract Avatar"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_contract$_Avatar_$12705",
                                                    "typeString": "contract Avatar"
                                                  }
                                                ],
                                                "id": 15428,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "lValueRequested": false,
                                                "nodeType": "ElementaryTypeNameExpression",
                                                "src": "3497:7:60",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_type$_t_address_$",
                                                  "typeString": "type(address)"
                                                },
                                                "typeName": "address"
                                              },
                                              "id": 15430,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "typeConversion",
                                              "lValueRequested": false,
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "3497:15:60",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              }
                                            ],
                                            "expression": {
                                              "argumentTypes": null,
                                              "id": 15426,
                                              "name": "controller",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 15367,
                                              "src": "3471:10:60",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                                                "typeString": "contract ControllerInterface"
                                              }
                                            },
                                            "id": 15427,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "unregisterSelf",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 14227,
                                            "src": "3471:25:60",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$_t_bool_$",
                                              "typeString": "function (address) external returns (bool)"
                                            }
                                          },
                                          "id": 15431,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "functionCall",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "3471:42:60",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        ],
                                        "id": 15425,
                                        "name": "require",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [
                                          22174,
                                          22175
                                        ],
                                        "referencedDeclaration": 22174,
                                        "src": "3463:7:60",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                          "typeString": "function (bool) pure"
                                        }
                                      },
                                      "id": 15432,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "3463:51:60",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_tuple$__$",
                                        "typeString": "tuple()"
                                      }
                                    },
                                    "id": 15433,
                                    "nodeType": "ExpressionStatement",
                                    "src": "3463:51:60"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15442,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15321,
                            "src": "3596:6:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15441,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3588:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15443,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3588:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15444,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15310,
                        "src": "3605:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15445,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15312,
                        "src": "3618:6:60",
                        "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": 15440,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15280,
                      "src": "3571:16:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 15446,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3571:54:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15447,
                  "nodeType": "EmitStatement",
                  "src": "3566:59:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 15448,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3642:4:60",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 15319,
                  "id": 15449,
                  "nodeType": "Return",
                  "src": "3635:11:60"
                }
              ]
            },
            "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": 15451,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15315,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15310,
                    "src": "2282:11:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15316,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15314,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "2264:17:60",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2264:30:60"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15313,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15310,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2219:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15309,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2219:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15312,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2240:13:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 15311,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2240:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2218:36:60"
            },
            "returnParameters": {
              "id": 15319,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15318,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15451,
                  "src": "2303:4:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15317,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2303:4:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2302:6:60"
            },
            "scope": 15691,
            "src": "2194:1459:60",
            "stateMutability": "nonpayable",
            "superFunction": 20582,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15483,
              "nodeType": "Block",
              "src": "3877:213:60",
              "statements": [
                {
                  "assignments": [
                    15461
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15461,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 15483,
                      "src": "3887:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15460,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3887:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15466,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15463,
                        "name": "_voteParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15453,
                        "src": "3926:11:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15464,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15455,
                        "src": "3939:8:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 15462,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15503,
                      "src": "3908:17:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$20571_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 15465,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3908:40:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3887:61:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15472,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15467,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15308,
                          "src": "3958:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 15469,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15468,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15461,
                          "src": "3969:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3958:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 15470,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15301,
                      "src": "3958:33:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15471,
                      "name": "_voteParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15453,
                      "src": "3994:11:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "3958:47:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 15473,
                  "nodeType": "ExpressionStatement",
                  "src": "3958:47:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15479,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15474,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15308,
                          "src": "4015:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                            "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                          }
                        },
                        "id": 15476,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15475,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15461,
                          "src": "4026:10:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4015:22:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                          "typeString": "struct UpgradeScheme.Parameters storage ref"
                        }
                      },
                      "id": 15477,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15303,
                      "src": "4015:30:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15478,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15455,
                      "src": "4048:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4015:41:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 15480,
                  "nodeType": "ExpressionStatement",
                  "src": "4015:41:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15481,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15461,
                    "src": "4073:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15459,
                  "id": 15482,
                  "nodeType": "Return",
                  "src": "4066:17:60"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 15484,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15456,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15453,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3788:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15452,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3788:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15455,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3817:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15454,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 20571,
                    "src": "3817:16:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3778:70:60"
            },
            "returnParameters": {
              "id": 15459,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15458,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15484,
                  "src": "3864:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15457,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3864:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3863:9:60"
            },
            "scope": 15691,
            "src": "3756:334:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15502,
              "nodeType": "Block",
              "src": "4290:77:60",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 15496,
                                "name": "_voteParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15486,
                                "src": "4336:11:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 15497,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15488,
                                "src": "4349:8:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15494,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 22158,
                                "src": "4319:3:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 15495,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4319:16:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 15498,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4319:39:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 15493,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22165,
                          "src": "4309:9:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 15499,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4309:50:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 15500,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4308:52:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15492,
                  "id": 15501,
                  "nodeType": "Return",
                  "src": "4300:60:60"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters",
            "id": 15503,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15489,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15486,
                  "name": "_voteParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4196:19:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15485,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4196:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15488,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4225:25:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15487,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 20571,
                    "src": "4225:16:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4186:70:60"
            },
            "returnParameters": {
              "id": 15492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15491,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15503,
                  "src": "4277:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15490,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4277:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4276:9:60"
            },
            "scope": 15691,
            "src": "4160:207:60",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15587,
              "nodeType": "Block",
              "src": "4826:799:60",
              "statements": [
                {
                  "assignments": [
                    15515
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15515,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "4836:24:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15514,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15304,
                        "src": "4836:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15521,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 15516,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15308,
                      "src": "4863:10:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 15520,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 15518,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15505,
                          "src": "4902:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15517,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          15222
                        ],
                        "referencedDeclaration": 15222,
                        "src": "4874:27:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$12705_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 15519,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "4874:36:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4863:48:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4836:75:60"
                },
                {
                  "assignments": [
                    15523
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15523,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "4921:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15522,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "4921:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15536,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15527,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4965:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15528,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15515,
                          "src": "4968:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15529,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15301,
                        "src": "4968:17:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15530,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "4987:3:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15531,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "4987:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15533,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15505,
                            "src": "5007:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15532,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "4999:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15534,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4999:16:60",
                        "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": 15524,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15515,
                          "src": "4942:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15525,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15303,
                        "src": "4942:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 15526,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 20517,
                      "src": "4942:22:60",
                      "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": 15535,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4942:74:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4921:95:60"
                },
                {
                  "assignments": [
                    15538
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15538,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15587,
                      "src": "5026:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15537,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "5026:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15546,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 15540,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5104:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 15541,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15507,
                        "src": "5136:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 15543,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "5180:1:60",
                            "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": 15542,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5172:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_bytes32_$",
                            "typeString": "type(bytes32)"
                          },
                          "typeName": "bytes32"
                        },
                        "id": 15544,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5172:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15539,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15293,
                      "src": "5060:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$15293_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 15545,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "5060:133:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5026:167:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15555,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15547,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "5203:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15552,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15549,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15505,
                              "src": "5234:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15548,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5226:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15550,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5226:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5203:40:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15553,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15551,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5244:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5203:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15554,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15538,
                      "src": "5258:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "5203:63:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 15556,
                  "nodeType": "ExpressionStatement",
                  "src": "5203:63:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15559,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15505,
                            "src": "5317:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15558,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5309:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15560,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5309:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15561,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5335:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15563,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15515,
                              "src": "5363:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 15564,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15303,
                            "src": "5363:14:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 15562,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "5355:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15565,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5355:23:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15566,
                        "name": "_newController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15507,
                        "src": "5388:14:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15567,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15509,
                        "src": "5412:16:60",
                        "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": 15557,
                      "name": "NewUpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15258,
                      "src": "5281:18:60",
                      "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": 15568,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5281:157:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15569,
                  "nodeType": "EmitStatement",
                  "src": "5276:162:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15583,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15570,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "5448:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15576,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 15572,
                                "name": "params",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15515,
                                "src": "5470:6:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                  "typeString": "struct UpgradeScheme.Parameters memory"
                                }
                              },
                              "id": 15573,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15303,
                              "src": "5470:14:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 15571,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "5462:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15574,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5462:23:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "5448:38:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15577,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15575,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15523,
                        "src": "5487:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5448:50:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15579,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22161,
                            "src": "5540:5:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 15580,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "5540:12:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 15581,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15505,
                          "src": "5573:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15578,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15702,
                        "src": "5501:12:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$15702_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 15582,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "5501:90:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "5448:143:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 15584,
                  "nodeType": "ExpressionStatement",
                  "src": "5448:143:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15585,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15523,
                    "src": "5608:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15513,
                  "id": 15586,
                  "nodeType": "Return",
                  "src": "5601:17:60"
                }
              ]
            },
            "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": 15588,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15510,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15505,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4710:14:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15504,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12705,
                    "src": "4710:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15507,
                  "name": "_newController",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4726:22:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15506,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4726:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15509,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4750:30:60",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15508,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4750:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4709:72:60"
            },
            "returnParameters": {
              "id": 15513,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15512,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15588,
                  "src": "4813:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15511,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4813:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4812:9:60"
            },
            "scope": 15691,
            "src": "4686:939:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15689,
              "nodeType": "Block",
              "src": "6193:960:60",
              "statements": [
                {
                  "assignments": [
                    15602
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15602,
                      "name": "params",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6203:24:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15601,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15304,
                        "src": "6203:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$15304_storage_ptr",
                          "typeString": "struct UpgradeScheme.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15608,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 15603,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15308,
                      "src": "6230:10:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$15304_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)"
                      }
                    },
                    "id": 15607,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 15605,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15590,
                          "src": "6269:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15604,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          15222
                        ],
                        "referencedDeclaration": 15222,
                        "src": "6241:27:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$12705_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 15606,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6241:36:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6230:48:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$15304_storage",
                      "typeString": "struct UpgradeScheme.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6203:75:60"
                },
                {
                  "assignments": [
                    15610
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15610,
                      "name": "intVote",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6288:24:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                        "typeString": "contract IntVoteInterface"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15609,
                        "name": "IntVoteInterface",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 20571,
                        "src": "6288:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15613,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "id": 15611,
                      "name": "params",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15602,
                      "src": "6315:6:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                        "typeString": "struct UpgradeScheme.Parameters memory"
                      }
                    },
                    "id": 15612,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "intVote",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15303,
                    "src": "6315:14:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6288:41:60"
                },
                {
                  "assignments": [
                    15615
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15615,
                      "name": "proposalId",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6339:18:60",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 15614,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6339:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15627,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15618,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6376:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15619,
                          "name": "params",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15602,
                          "src": "6379:6:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                            "typeString": "struct UpgradeScheme.Parameters memory"
                          }
                        },
                        "id": 15620,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15301,
                        "src": "6379:17:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15621,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "6398:3:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15622,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6398:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15624,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15590,
                            "src": "6418:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15623,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6410:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15625,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6410:16:60",
                        "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": 15616,
                        "name": "intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15610,
                        "src": "6360:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 15617,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 20517,
                      "src": "6360:15:60",
                      "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": 15626,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6360:67:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6339:88:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 15638,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 15629,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15299,
                                "src": "6445:22:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                                }
                              },
                              "id": 15633,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "id": 15631,
                                    "name": "_avatar",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 15590,
                                    "src": "6476:7:60",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$12705",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$12705",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 15630,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "6468:7:60",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 15632,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "6468:16:60",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6445:40:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                                "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                              }
                            },
                            "id": 15635,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 15634,
                              "name": "proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15615,
                              "src": "6486:10:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "6445:52:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                              "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                            }
                          },
                          "id": 15636,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "proposalType",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15292,
                          "src": "6445:65:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15637,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6514:1:60",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "6445:70:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 15628,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22174,
                      "src": "6437:7:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 15639,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6437:79:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15640,
                  "nodeType": "ExpressionStatement",
                  "src": "6437:79:60"
                },
                {
                  "assignments": [
                    15642
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15642,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15689,
                      "src": "6527:31:60",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15641,
                        "name": "UpgradeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15293,
                        "src": "6527:15:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage_ptr",
                          "typeString": "struct UpgradeScheme.UpgradeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15648,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 15644,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6605:1:60",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "id": 15645,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15592,
                        "src": "6637:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15646,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15594,
                        "src": "6666:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 15643,
                      "name": "UpgradeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15293,
                      "src": "6561:15:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_UpgradeProposal_$15293_storage_ptr_$",
                        "typeString": "type(struct UpgradeScheme.UpgradeProposal storage pointer)"
                      }
                    },
                    "id": 15647,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "proposalType",
                      "upgradeContract",
                      "params"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6561:123:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory",
                      "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6527:157:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15657,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15649,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15299,
                          "src": "6694:22:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))"
                          }
                        },
                        "id": 15654,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15651,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15590,
                              "src": "6725:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$12705",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 15650,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6717:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15652,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6717:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6694:40:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_UpgradeProposal_$15293_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)"
                        }
                      },
                      "id": 15655,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15653,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "6735:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6694:52:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                        "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 15656,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15642,
                      "src": "6749:8:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_UpgradeProposal_$15293_memory_ptr",
                        "typeString": "struct UpgradeScheme.UpgradeProposal memory"
                      }
                    },
                    "src": "6694:63:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_UpgradeProposal_$15293_storage",
                      "typeString": "struct UpgradeScheme.UpgradeProposal storage ref"
                    }
                  },
                  "id": 15658,
                  "nodeType": "ExpressionStatement",
                  "src": "6694:63:60"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15661,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15590,
                            "src": "6822:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15660,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6814:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15662,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6814:16:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15663,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "6844:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15665,
                              "name": "params",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15602,
                              "src": "6876:6:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$15304_memory_ptr",
                                "typeString": "struct UpgradeScheme.Parameters memory"
                              }
                            },
                            "id": 15666,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15303,
                            "src": "6876:14:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 15664,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6868:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15667,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6868:23:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15668,
                        "name": "_scheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15592,
                        "src": "6905:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15669,
                        "name": "_params",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15594,
                        "src": "6926:7:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15670,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15596,
                        "src": "6947:16:60",
                        "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": 15659,
                      "name": "ChangeUpgradeSchemeProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15272,
                      "src": "6773:27:60",
                      "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": 15671,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6773:200:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15672,
                  "nodeType": "EmitStatement",
                  "src": "6768:205:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15685,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15673,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "6983:13:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15678,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 15675,
                              "name": "intVote",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15610,
                              "src": "7005:7:60",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$20571",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 15674,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6997:7:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 15676,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6997:16:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6983:31:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15679,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15677,
                        "name": "proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15615,
                        "src": "7015:10:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6983:43:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15681,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22161,
                            "src": "7068:5:60",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 15682,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7068:12:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 15683,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15590,
                          "src": "7101:7:60",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 15680,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15702,
                        "src": "7029:12:60",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$15702_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 15684,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7029:90:60",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "6983:136:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 15686,
                  "nodeType": "ExpressionStatement",
                  "src": "6983:136:60"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15687,
                    "name": "proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15615,
                    "src": "7136:10:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 15600,
                  "id": 15688,
                  "nodeType": "Return",
                  "src": "7129:17:60"
                }
              ]
            },
            "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": 15690,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeChangeUpgradingScheme",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15597,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15590,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6038:14:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15589,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12705,
                    "src": "6038:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15592,
                  "name": "_scheme",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6062:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15591,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "6062:7:60",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15594,
                  "name": "_params",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6087:15:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15593,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6087:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15596,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6112:30:60",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 15595,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "6112:6:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6028:120:60"
            },
            "returnParameters": {
              "id": 15600,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15599,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15690,
                  "src": "6180:7:60",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15598,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6180:7:60",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "6179:9:60"
            },
            "scope": 15691,
            "src": "5991:1162:60",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 15692,
        "src": "429:6726:60"
      }
    ],
    "src": "0:7156:60"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.2",
  "updatedAt": "2021-08-23T07:33:52.426Z",
  "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": {}
  }
}