{
  "contractName": "UpgradesRegistrar",
  "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": "_scheme",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "_parametersHash",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "bytes4",
          "name": "_permissions",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "NewSchemeProposal",
      "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"
    },
    {
      "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": "_scheme",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "RemoveSchemeProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "proxy",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "impl",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "proposalId",
          "type": "bytes32"
        }
      ],
      "name": "UpgradedImpl",
      "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": "_voteRegisterParams",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "_voteRemoveParams",
          "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": "scheme",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "addScheme",
          "type": "bool"
        },
        {
          "internalType": "bytes32",
          "name": "parametersHash",
          "type": "bytes32"
        },
        {
          "internalType": "bytes4",
          "name": "permissions",
          "type": "bytes4"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "parameters",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "voteRegisterParams",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "voteRemoveParams",
          "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": "_parametersHash",
          "type": "bytes32"
        },
        {
          "internalType": "bytes4",
          "name": "_permissions",
          "type": "bytes4"
        },
        {
          "internalType": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeScheme",
      "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": "string",
          "name": "_descriptionHash",
          "type": "string"
        }
      ],
      "name": "proposeToRemoveScheme",
      "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": "_voteRegisterParams",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "_voteRemoveParams",
          "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"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "upgrades",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "timeLockEnd",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "scheme",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "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": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "executeUpgrade",
      "outputs": [],
      "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\":\"_scheme\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_parametersHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"_permissions\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"NewSchemeProposal\",\"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\"},{\"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\":\"_scheme\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"RemoveSchemeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"proposalId\",\"type\":\"bytes32\"}],\"name\":\"UpgradedImpl\",\"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\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"executeUpgrade\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_voteRegisterParams\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_voteRemoveParams\",\"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\":\"scheme\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"addScheme\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"parametersHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"permissions\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"voteRegisterParams\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"voteRemoveParams\",\"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\":\"_parametersHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes4\",\"name\":\"_permissions\",\"type\":\"bytes4\"},{\"internalType\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeScheme\",\"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\":\"string\",\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeToRemoveScheme\",\"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\":\"_voteRegisterParams\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_voteRemoveParams\",\"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\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"upgrades\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timeLockEnd\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"scheme\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"executeProposal(bytes32,int256)\":{\"details\":\"execution of proposals, can only be called by the voting machine in which the vote is held.\",\"params\":{\"_param\":\"a parameter of the voting result, 1 yes and 2 is no.\",\"_proposalId\":\"the ID of the voting in the voting machine\"}},\"proposeScheme(address,address,bytes32,bytes4,string)\":{\"details\":\"create a proposal to register a schemeNB: not only proposes the vote, but also votes for it\",\"params\":{\"_avatar\":\"the address of the organization the scheme will be registered for\",\"_descriptionHash\":\"proposal's description hash\",\"_parametersHash\":\"a hash of the configuration of the _scheme\",\"_permissions\":\"the permission of the scheme to be registered\",\"_scheme\":\"the address of the scheme to be registered\"},\"return\":\"a proposal Id\"},\"proposeToRemoveScheme(address,address,string)\":{\"details\":\"propose to remove a scheme for a controller\",\"params\":{\"_avatar\":\"the address of the controller from which we want to remove a scheme\",\"_descriptionHash\":\"proposal description hash NB: not only registers the proposal, but also votes for it\",\"_scheme\":\"the address of the scheme we want to remove\"}},\"setParameters(bytes32,bytes32,address)\":{\"details\":\"hash the parameters, save them if necessary, and return the hash value\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/hadar/workspace/GoodDollar/GoodBootstrap/packages/contracts/contracts/dao/UpgradesRegistrar.sol\":\"UpgradesRegistrar\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/hadar/workspace/GoodDollar/GoodBootstrap/packages/contracts/contracts/dao/UpgradesRegistrar.sol\":{\"keccak256\":\"0x5b1193d14af39cfef2bdc8790fa7241c8f1474419268e7460364c0229188d102\",\"urls\":[\"bzz-raw://77600bc29cffe4432d2f68b1cb7e6331d52594005517575459fe2baa10434a5c\",\"dweb:/ipfs/QmZ6uBHBTN1yFRRWyiRqXAQn3eX1x6ZPK3AT2CXT1PJQ6C\"]},\"@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/SchemeRegistrar.sol\":{\"keccak256\":\"0x13934eeba4d723347fceb4feaee0ed5a48d5d27f1b68800f0c0cc0ee91ead7c3\",\"urls\":[\"bzz-raw://911cd363dcfd942b2836969cd7a8c0a719518fafc6f5f129cc70018e17f24614\",\"dweb:/ipfs/QmWPVS5P14XAQvnG6Ccd6MSadFfbNGdqZaH9GsCLnnj3Wo\"]},\"@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/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": "0x608060405234801561001057600080fd5b50611ddd806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80637718226111610097578063bea75f2811610066578063bea75f281461042f578063d29b5d2f1461046b578063e7ac593e1461049d578063f81f8bf61461055c57610100565b8063771822611461037d5780639588378e146103af5780639d4c162d146103db578063b551c3731461041257610100565b80635099e006116100d35780635099e006146102125780635a0d2b13146102e757806360bdbb3f146103255780636b8eb4031461035157610100565b8063025068041461010557806306e3a978146101495780630a6687fd146101af5780633b6520cb146101f3575b600080fd5b6101226004803603602081101561011b57600080fd5b503561058e565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b6101756004803603604081101561015f57600080fd5b506001600160a01b0381351690602001356105b7565b604080516001600160a01b0390951685529215156020850152838301919091526001600160e01b0319166060830152519081900360800190f35b6101e1600480360360608110156101c557600080fd5b50803590602081013590604001356001600160a01b03166105f9565b60408051918252519081900360200190f35b6102106004803603602081101561020957600080fd5b5035610648565b005b6101e1600480360360a081101561022857600080fd5b6001600160a01b0382358116926020810135909116916040820135916001600160e01b03196060820135169181019060a08101608082013564010000000081111561027257600080fd5b82018360208201111561028457600080fd5b803590602001918460018302840111640100000000831117156102a657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ae0945050505050565b610304600480360360208110156102fd57600080fd5b5035610e05565b604080519283526001600160a01b0390911660208301528051918290030190f35b6103046004803603604081101561033b57600080fd5b506001600160a01b038135169060200135610e27565b6101e16004803603604081101561036757600080fd5b506001600160a01b038135169060200135610e51565b6101e16004803603606081101561039357600080fd5b50803590602081013590604001356001600160a01b0316610f11565b6101e1600480360360408110156103c557600080fd5b506001600160a01b038135169060200135610f59565b6103fe600480360360408110156103f157600080fd5b5080359060200135611067565b604080519115158252519081900360200190f35b6101e16004803603602081101561042857600080fd5b50356112e8565b6103fe6004803603608081101561044557600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611422565b6103fe6004803603606081101561048157600080fd5b508035906001600160a01b0360208201351690604001356115c4565b6101e1600480360360608110156104b357600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156104e757600080fd5b8201836020820111156104f957600080fd5b8035906020019184600183028401116401000000008311171561051b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061175d945050505050565b6103fe6004803603606081101561057257600080fd5b508035906001600160a01b0360208201351690604001356119ce565b60026020819052600091825260409091208054600182015491909201546001600160a01b031683565b600160208181526000938452604080852090915291835291208054918101546002909101546001600160a01b03831692600160a01b900460ff16919060e01b84565b600080610607858585610f11565b6000818152600260208190526040909120878155600181018790550180546001600160a01b0386166001600160a01b03199091161790559150509392505050565b610650611d4a565b50600081815260036020908152604091829020825180840190935280548084526001909101546001600160a01b0316918301919091524210156106935750610add565b600082815260036020908152604080832083815560010180546001600160a01b031916905583820151815163ec55688960e01b815291519093926001600160a01b0385169263ec5568899260048083019392829003018186803b1580156106f957600080fd5b505afa15801561070d573d6000803e3d6000fd5b505050506040513d602081101561072357600080fd5b505160408051630f91c56360e21b815290519192506000916001600160a01b03851691633e47158c916004808301926020929190829003018186803b15801561076b57600080fd5b505afa15801561077f573d6000803e3d6000fd5b505050506040513d602081101561079557600080fd5b505160408051620481eb60e61b815290519192506000916001600160a01b038616916301207ac0916004808301926020929190829003018186803b1580156107dc57600080fd5b505afa1580156107f0573d6000803e3d6000fd5b505050506040513d602081101561080657600080fd5b5051604080516309c82f5360e31b815290519192506060916001600160a01b03871691634e417a98916004808301926000929190829003018186803b15801561084e57600080fd5b505afa158015610862573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561088b57600080fd5b81019080805160405193929190846401000000008211156108ab57600080fd5b9083019060208201858111156108c057600080fd5b82516401000000008111828201881017156108da57600080fd5b82525081516020918201929091019080838360005b838110156109075781810151838201526020016108ef565b50505050905090810190601f1680156109345780820380516001836020036101000a031916815260200191505b50604052505081519192505015610a2457604051639623609d60e01b81526001600160a01b0385811660048301908152848216602484015260606044840190815284516064850152845192871693639623609d938993889388939192909160840190602085019080838360005b838110156109b95781810151838201526020016109a1565b50505050905090810190601f1680156109e65780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610a0757600080fd5b505af1158015610a1b573d6000803e3d6000fd5b50505050610a90565b6040805163266a23b160e21b81526001600160a01b03868116600483015284811660248301529151918516916399a88ec49160448082019260009290919082900301818387803b158015610a7757600080fd5b505af1158015610a8b573d6000803e3d6000fd5b505050505b604080516001600160a01b038481168252602082018a90528251908716927f2487c0241f75017a4069bfe44038429697dcd2f0a33794780e54e8022e2a7997928290030190a25050505050505b50565b60006001600160a01b038516610b35576040805162461bcd60e51b8152602060048201526015602482015274736368656d652063616e6e6f74206265207a65726f60581b604482015290519081900360640190fd5b610b3d611d61565b60026000610b4a89611b2f565b815260208082019290925260409081016000908120825160608101845281548082526001830154828701526002928301546001600160a01b039081168387018190528651634439bdaf60e11b8152600481019590955260248501929092523360448501528d166064840152935190955091936388737b5e9260848084019382900301818787803b158015610bdd57600080fd5b505af1158015610bf1573d6000803e3d6000fd5b505050506040513d6020811015610c0757600080fd5b50519050610c13611d81565b6040518060800160405280896001600160a01b03168152602001600115158152602001888152602001876001600160e01b031916815250905082604001516001600160a01b0316828a6001600160a01b03167fcc9180a05805acc3615b472c3ba00cdc9cd2c6e0e0b3648d60eb58f2c1001b848b8b8b8b60405180856001600160a01b03166001600160a01b03168152602001848152602001836001600160e01b0319166001600160e01b031916815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610cff578181015183820152602001610ce7565b50505050905090810190601f168015610d2c5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a46001600160a01b03808a166000818152600160208181526040808420888552825280842087518154848a01511515600160a01b0260ff60a01b19928a166001600160a01b0319928316179290921691909117825582890151828601556060909801516002909101805460e09290921c63ffffffff1990921691909117905580518082018252438152808301958652988101518616845283825280842088855290915290912095518655905194018054949091169390911692909217909155905095945050505050565b600360205260009081526040902080546001909101546001600160a01b031682565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b336000908152602081815260408083208484529091528120600101546001600160a01b031680610e85576000915050610f0b565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610edb57600080fd5b505afa158015610eef573d6000803e3d6000fd5b505050506040513d6020811015610f0557600080fd5b50519150505b92915050565b6040805160208082019590955280820193909352606091821b6bffffffffffffffffffffffff1916918301919091528051808303605401815260749092019052805191012090565b6000610f63611d4a565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610faa576000915050610f0b565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe757600080fd5b505afa158015610ffb573d6000803e3d6000fd5b505050506040513d602081101561101157600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610edb57600080fd5b3360009081526020818152604080832085845290915281206001015483906001600160a01b03166110d4576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208784529091529020600101546001600160a01b0316611101611d81565b506001600160a01b0381811660009081526001602081815260408084208a855282529283902083516080810185528154958616808252600160a01b90960460ff1615159281019290925291820154928101929092526002015460e01b6001600160e01b03191660608201529061117657600080fd5b6001600160a01b03821660008181526001602081815260408084208b855290915280832080546001600160a81b03191681559182018390556002909101805463ffffffff19169055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a3846001141561129c5780600001516001600160a01b031663778d46236040518163ffffffff1660e01b815260040160206040518083038186803b15801561122b57600080fd5b505afa15801561123f573d6000803e3d6000fd5b505050506040513d602081101561125557600080fd5b50516000878152600360205260409020610e10909102420181558151600190910180546001600160a01b0319166001600160a01b0390921691909117905561129c86610648565b60408051868152905187916001600160a01b038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b60006112f2611d4a565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b031690820181905261133957600091505061141d565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561137657600080fd5b505afa15801561138a573d6000803e3d6000fd5b505050506040513d60208110156113a057600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b1580156113ed57600080fd5b505afa158015611401573d6000803e3d6000fd5b505050506040513d602081101561141757600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661148f576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806114c35760009250506115bb565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fc57600080fd5b505afa158015611510573d6000803e3d6000fd5b505050506040513d602081101561152657600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561158b57600080fd5b505af115801561159f573d6000803e3d6000fd5b505050506040513d60208110156115b557600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b0316611631576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b031680611665576000925050611755565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561169e57600080fd5b505afa1580156116b2573d6000803e3d6000fd5b505050506040513d60208110156116c857600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561172557600080fd5b505af1158015611739573d6000803e3d6000fd5b505050506040513d602081101561174f57600080fd5b50519250505b509392505050565b60006001600160a01b0383166117b2576040805162461bcd60e51b8152602060048201526015602482015274736368656d652063616e6e6f74206265207a65726f60581b604482015290519081900360640190fd5b60006117bd85611b2f565b90506117c7611d61565b5060008181526002602081815260408084208151606081018352815481526001820154818501819052918501546001600160a01b039081168285018190528451634439bdaf60e11b8152600481019790975260248701939093523360448701528b166064860152915191949093909284926388737b5e92608480820193929182900301818787803b15801561185b57600080fd5b505af115801561186f573d6000803e3d6000fd5b505050506040513d602081101561188557600080fd5b50516001600160a01b038981166000818152600160209081526040808320868452825280832080546001600160a01b0319168e871690811790915581519081528083018281528d51928201929092528c519697509488169587957f504b6bd2558241a5f0532c970f3444e1fc24e1f7cf3d7c49a8d213bd612e9055948f948f9492936060850192918601918190849084905b8381101561192f578181015183820152602001611917565b50505050905090810190601f16801561195c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a46040805180820182524381526001600160a01b03998a166020808301918252958301518b166000908152808752838120858252909652919094209351845551600190930180546001600160a01b031916939098169290921790965595945050505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b0316611a3b576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b031680611a6f576000925050611755565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611aa857600080fd5b505afa158015611abc573d6000803e3d6000fd5b505050506040513d6020811015611ad257600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561172557600080fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6a57600080fd5b505afa158015611b7e573d6000803e3d6000fd5b505050506040513d6020811015611b9457600080fd5b505160408051639be2faed60e01b81523060048201526001600160a01b03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b158015611be657600080fd5b505afa158015611bfa573d6000803e3d6000fd5b505050506040513d6020811015611c1057600080fd5b5051611c63576040805162461bcd60e51b815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9c57600080fd5b505afa158015611cb0573d6000803e3d6000fd5b505050506040513d6020811015611cc657600080fd5b505160408051630389aac160e31b81523060048201526001600160a01b03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611d1857600080fd5b505afa158015611d2c573d6000803e3d6000fd5b505050506040513d6020811015611d4257600080fd5b505192915050565b604080518082019091526000808252602082015290565b604080516060810182526000808252602082018190529181019190915290565b6040805160808101825260008082526020820181905291810182905260608101919091529056fea265627a7a7231582006957a0c0e7ffbeedbccc12b76c81073f62d5a4934931e98d219ce1b4cebc84064736f6c63430005100032",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c80637718226111610097578063bea75f2811610066578063bea75f281461042f578063d29b5d2f1461046b578063e7ac593e1461049d578063f81f8bf61461055c57610100565b8063771822611461037d5780639588378e146103af5780639d4c162d146103db578063b551c3731461041257610100565b80635099e006116100d35780635099e006146102125780635a0d2b13146102e757806360bdbb3f146103255780636b8eb4031461035157610100565b8063025068041461010557806306e3a978146101495780630a6687fd146101af5780633b6520cb146101f3575b600080fd5b6101226004803603602081101561011b57600080fd5b503561058e565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b6101756004803603604081101561015f57600080fd5b506001600160a01b0381351690602001356105b7565b604080516001600160a01b0390951685529215156020850152838301919091526001600160e01b0319166060830152519081900360800190f35b6101e1600480360360608110156101c557600080fd5b50803590602081013590604001356001600160a01b03166105f9565b60408051918252519081900360200190f35b6102106004803603602081101561020957600080fd5b5035610648565b005b6101e1600480360360a081101561022857600080fd5b6001600160a01b0382358116926020810135909116916040820135916001600160e01b03196060820135169181019060a08101608082013564010000000081111561027257600080fd5b82018360208201111561028457600080fd5b803590602001918460018302840111640100000000831117156102a657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ae0945050505050565b610304600480360360208110156102fd57600080fd5b5035610e05565b604080519283526001600160a01b0390911660208301528051918290030190f35b6103046004803603604081101561033b57600080fd5b506001600160a01b038135169060200135610e27565b6101e16004803603604081101561036757600080fd5b506001600160a01b038135169060200135610e51565b6101e16004803603606081101561039357600080fd5b50803590602081013590604001356001600160a01b0316610f11565b6101e1600480360360408110156103c557600080fd5b506001600160a01b038135169060200135610f59565b6103fe600480360360408110156103f157600080fd5b5080359060200135611067565b604080519115158252519081900360200190f35b6101e16004803603602081101561042857600080fd5b50356112e8565b6103fe6004803603608081101561044557600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611422565b6103fe6004803603606081101561048157600080fd5b508035906001600160a01b0360208201351690604001356115c4565b6101e1600480360360608110156104b357600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156104e757600080fd5b8201836020820111156104f957600080fd5b8035906020019184600183028401116401000000008311171561051b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061175d945050505050565b6103fe6004803603606081101561057257600080fd5b508035906001600160a01b0360208201351690604001356119ce565b60026020819052600091825260409091208054600182015491909201546001600160a01b031683565b600160208181526000938452604080852090915291835291208054918101546002909101546001600160a01b03831692600160a01b900460ff16919060e01b84565b600080610607858585610f11565b6000818152600260208190526040909120878155600181018790550180546001600160a01b0386166001600160a01b03199091161790559150509392505050565b610650611d4a565b50600081815260036020908152604091829020825180840190935280548084526001909101546001600160a01b0316918301919091524210156106935750610add565b600082815260036020908152604080832083815560010180546001600160a01b031916905583820151815163ec55688960e01b815291519093926001600160a01b0385169263ec5568899260048083019392829003018186803b1580156106f957600080fd5b505afa15801561070d573d6000803e3d6000fd5b505050506040513d602081101561072357600080fd5b505160408051630f91c56360e21b815290519192506000916001600160a01b03851691633e47158c916004808301926020929190829003018186803b15801561076b57600080fd5b505afa15801561077f573d6000803e3d6000fd5b505050506040513d602081101561079557600080fd5b505160408051620481eb60e61b815290519192506000916001600160a01b038616916301207ac0916004808301926020929190829003018186803b1580156107dc57600080fd5b505afa1580156107f0573d6000803e3d6000fd5b505050506040513d602081101561080657600080fd5b5051604080516309c82f5360e31b815290519192506060916001600160a01b03871691634e417a98916004808301926000929190829003018186803b15801561084e57600080fd5b505afa158015610862573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561088b57600080fd5b81019080805160405193929190846401000000008211156108ab57600080fd5b9083019060208201858111156108c057600080fd5b82516401000000008111828201881017156108da57600080fd5b82525081516020918201929091019080838360005b838110156109075781810151838201526020016108ef565b50505050905090810190601f1680156109345780820380516001836020036101000a031916815260200191505b50604052505081519192505015610a2457604051639623609d60e01b81526001600160a01b0385811660048301908152848216602484015260606044840190815284516064850152845192871693639623609d938993889388939192909160840190602085019080838360005b838110156109b95781810151838201526020016109a1565b50505050905090810190601f1680156109e65780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610a0757600080fd5b505af1158015610a1b573d6000803e3d6000fd5b50505050610a90565b6040805163266a23b160e21b81526001600160a01b03868116600483015284811660248301529151918516916399a88ec49160448082019260009290919082900301818387803b158015610a7757600080fd5b505af1158015610a8b573d6000803e3d6000fd5b505050505b604080516001600160a01b038481168252602082018a90528251908716927f2487c0241f75017a4069bfe44038429697dcd2f0a33794780e54e8022e2a7997928290030190a25050505050505b50565b60006001600160a01b038516610b35576040805162461bcd60e51b8152602060048201526015602482015274736368656d652063616e6e6f74206265207a65726f60581b604482015290519081900360640190fd5b610b3d611d61565b60026000610b4a89611b2f565b815260208082019290925260409081016000908120825160608101845281548082526001830154828701526002928301546001600160a01b039081168387018190528651634439bdaf60e11b8152600481019590955260248501929092523360448501528d166064840152935190955091936388737b5e9260848084019382900301818787803b158015610bdd57600080fd5b505af1158015610bf1573d6000803e3d6000fd5b505050506040513d6020811015610c0757600080fd5b50519050610c13611d81565b6040518060800160405280896001600160a01b03168152602001600115158152602001888152602001876001600160e01b031916815250905082604001516001600160a01b0316828a6001600160a01b03167fcc9180a05805acc3615b472c3ba00cdc9cd2c6e0e0b3648d60eb58f2c1001b848b8b8b8b60405180856001600160a01b03166001600160a01b03168152602001848152602001836001600160e01b0319166001600160e01b031916815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610cff578181015183820152602001610ce7565b50505050905090810190601f168015610d2c5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a46001600160a01b03808a166000818152600160208181526040808420888552825280842087518154848a01511515600160a01b0260ff60a01b19928a166001600160a01b0319928316179290921691909117825582890151828601556060909801516002909101805460e09290921c63ffffffff1990921691909117905580518082018252438152808301958652988101518616845283825280842088855290915290912095518655905194018054949091169390911692909217909155905095945050505050565b600360205260009081526040902080546001909101546001600160a01b031682565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b336000908152602081815260408083208484529091528120600101546001600160a01b031680610e85576000915050610f0b565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610edb57600080fd5b505afa158015610eef573d6000803e3d6000fd5b505050506040513d6020811015610f0557600080fd5b50519150505b92915050565b6040805160208082019590955280820193909352606091821b6bffffffffffffffffffffffff1916918301919091528051808303605401815260749092019052805191012090565b6000610f63611d4a565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610faa576000915050610f0b565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe757600080fd5b505afa158015610ffb573d6000803e3d6000fd5b505050506040513d602081101561101157600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610edb57600080fd5b3360009081526020818152604080832085845290915281206001015483906001600160a01b03166110d4576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208784529091529020600101546001600160a01b0316611101611d81565b506001600160a01b0381811660009081526001602081815260408084208a855282529283902083516080810185528154958616808252600160a01b90960460ff1615159281019290925291820154928101929092526002015460e01b6001600160e01b03191660608201529061117657600080fd5b6001600160a01b03821660008181526001602081815260408084208b855290915280832080546001600160a81b03191681559182018390556002909101805463ffffffff19169055518892917f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe91a3846001141561129c5780600001516001600160a01b031663778d46236040518163ffffffff1660e01b815260040160206040518083038186803b15801561122b57600080fd5b505afa15801561123f573d6000803e3d6000fd5b505050506040513d602081101561125557600080fd5b50516000878152600360205260409020610e10909102420181558151600190910180546001600160a01b0319166001600160a01b0390921691909117905561129c86610648565b60408051868152905187916001600160a01b038516917fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc09181900360200190a350600195945050505050565b60006112f2611d4a565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b031690820181905261133957600091505061141d565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561137657600080fd5b505afa15801561138a573d6000803e3d6000fd5b505050506040513d60208110156113a057600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b1580156113ed57600080fd5b505afa158015611401573d6000803e3d6000fd5b505050506040513d602081101561141757600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661148f576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806114c35760009250506115bb565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fc57600080fd5b505afa158015611510573d6000803e3d6000fd5b505050506040513d602081101561152657600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561158b57600080fd5b505af115801561159f573d6000803e3d6000fd5b505050506040513d60208110156115b557600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b0316611631576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b031680611665576000925050611755565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561169e57600080fd5b505afa1580156116b2573d6000803e3d6000fd5b505050506040513d60208110156116c857600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561172557600080fd5b505af1158015611739573d6000803e3d6000fd5b505050506040513d602081101561174f57600080fd5b50519250505b509392505050565b60006001600160a01b0383166117b2576040805162461bcd60e51b8152602060048201526015602482015274736368656d652063616e6e6f74206265207a65726f60581b604482015290519081900360640190fd5b60006117bd85611b2f565b90506117c7611d61565b5060008181526002602081815260408084208151606081018352815481526001820154818501819052918501546001600160a01b039081168285018190528451634439bdaf60e11b8152600481019790975260248701939093523360448701528b166064860152915191949093909284926388737b5e92608480820193929182900301818787803b15801561185b57600080fd5b505af115801561186f573d6000803e3d6000fd5b505050506040513d602081101561188557600080fd5b50516001600160a01b038981166000818152600160209081526040808320868452825280832080546001600160a01b0319168e871690811790915581519081528083018281528d51928201929092528c519697509488169587957f504b6bd2558241a5f0532c970f3444e1fc24e1f7cf3d7c49a8d213bd612e9055948f948f9492936060850192918601918190849084905b8381101561192f578181015183820152602001611917565b50505050905090810190601f16801561195c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a46040805180820182524381526001600160a01b03998a166020808301918252958301518b166000908152808752838120858252909652919094209351845551600190930180546001600160a01b031916939098169290921790965595945050505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b0316611a3b576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b031680611a6f576000925050611755565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611aa857600080fd5b505afa158015611abc573d6000803e3d6000fd5b505050506040513d6020811015611ad257600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561172557600080fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6a57600080fd5b505afa158015611b7e573d6000803e3d6000fd5b505050506040513d6020811015611b9457600080fd5b505160408051639be2faed60e01b81523060048201526001600160a01b03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b158015611be657600080fd5b505afa158015611bfa573d6000803e3d6000fd5b505050506040513d6020811015611c1057600080fd5b5051611c63576040805162461bcd60e51b815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9c57600080fd5b505afa158015611cb0573d6000803e3d6000fd5b505050506040513d6020811015611cc657600080fd5b505160408051630389aac160e31b81523060048201526001600160a01b03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015611d1857600080fd5b505afa158015611d2c573d6000803e3d6000fd5b505050506040513d6020811015611d4257600080fd5b505192915050565b604080518082019091526000808252602082015290565b604080516060810182526000808252602082018190529181019190915290565b6040805160808101825260008082526020820181905291810182905260608101919091529056fea265627a7a7231582006957a0c0e7ffbeedbccc12b76c81073f62d5a4934931e98d219ce1b4cebc84064736f6c63430005100032",
  "sourceMap": "861:2109:5:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;861:2109:5;;;;;;;",
  "deployedSourceMap": "861:2109:5:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;861:2109:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1884:46:52;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:46:52;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1884:46:52;;;;;;;;;;;;;;1559:80;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1559:80:52;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1559:80:52;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1559:80:52;;;;;;;;;;;;;;3523:489;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3523:489:52;;;;;;;;;;;-1:-1:-1;;;;;3523:489:52;;:::i;:::-;;;;;;;;;;;;;;;;2206:762:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2206:762:5;;:::i;:::-;;4809:1306:52;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;4809:1306:52;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4809:1306:52;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4809:1306:52;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4809:1306:52;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;4809:1306:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4809:1306:52;;-1:-1:-1;4809:1306:52;;-1:-1:-1;;;;;4809:1306:52:i;1073:41:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1073:41:5;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1073:41:5;;;;;;;;;;;;;;;;598:73:56;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:56;;;;;;;;:::i;2000:346::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:56;;;;;;;;:::i;4018:274:52:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4018:274:52;;;;;;;;;;;-1:-1:-1;;;;;4018:274:52;;:::i;2693:345:56:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:56;;;;;;;;:::i;1381:819:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1381:819:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2352:335:56;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:56;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:56;;;;;;;;;;;;;;;;;;;;;;:::i;678:410::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:56;;;-1:-1:-1;;;;;678:410:56;;;;;;;;;;:::i;6466:855:52:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;6466:855:52;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6466:855:52;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6466:855:52;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;6466:855:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6466:855:52;;-1:-1:-1;6466:855:52;;-1:-1:-1;;;;;6466:855:52:i;1094:410:56:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:56;;;-1:-1:-1;;;;;1094:410:56;;;;;;;;;;:::i;1884:46:52:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1884:46:52;;:::o;1559:80::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1559:80:52;;;-1:-1:-1;;;1559:80:52;;;;;;;;;:::o;3523:489::-;3674:7;3697:18;3718:67;3736:19;3757:17;3776:8;3718:17;:67::i;:::-;3795:22;;;;:10;:22;;;;;;;;:63;;;3868:39;;;:59;;;3937:30;:41;;-1:-1:-1;;;;;3937:41:52;;-1:-1:-1;;;;;;3937:41:52;;;;;;3697:88;-1:-1:-1;;3523:489:52;;;;;:::o;2206:762:5:-;2272:22;;:::i;:::-;-1:-1:-1;2297:21:5;;;;:8;:21;;;;;;;;;2272:46;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2272:46:5;;;;;;;;2353:3;-1:-1:-1;2328:37:5;;;2358:7;;;2328:37;2390:21;;;;:8;:21;;;;;;;;2383:28;;;;;;;-1:-1:-1;;;;;;2383:28:5;;;2470:14;;;;2511:17;;-1:-1:-1;;;2511:17:5;;;;2470:14;;2390:21;-1:-1:-1;;;;;2511:15:5;;;;;:17;;;;;2390:21;2511:17;;;;;:15;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;2511:17:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2511:17:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2511:17:5;2559:22;;;-1:-1:-1;;;2559:22:5;;;;2511:17;;-1:-1:-1;2538:18:5;;-1:-1:-1;;;;;2559:20:5;;;;;:22;;;;;2511:17;;2559:22;;;;;;;:20;:22;;;5:2:-1;;;;30:1;27;20:12;5:2;2559:22:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2559:22:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2559:22:5;2609:19;;;-1:-1:-1;;;2609:19:5;;;;2559:22;;-1:-1:-1;2591:15:5;;-1:-1:-1;;;;;2609:17:5;;;;;:19;;;;;2559:22;;2609:19;;;;;;;:17;:19;;;5:2:-1;;;;30:1;27;20:12;5:2;2609:19:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2609:19:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2609:19:5;2662:20;;;-1:-1:-1;;;2662:20:5;;;;2609:19;;-1:-1:-1;2638:21:5;;-1:-1:-1;;;;;2662:18:5;;;;;:20;;;;;;;;;;;;;;:18;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;2662:20:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2662:20:5;;;;;;39:16:-1;36:1;17:17;2:54;101:4;2662:20:5;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;2662:20:5;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;2662:20:5;;420:4:-1;411:14;;;;2662:20:5;;;;;411:14:-1;2662:20:5;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;2662:20:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2662:20:5;;-1:-1:-1;;2696:15:5;;2638:44;;-1:-1:-1;;2696:19:5;2693:202;;2739:61;;-1:-1:-1;;;2739:61:5;;-1:-1:-1;;;;;2739:61:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:37;;;;;;2777:5;;2783:7;;2791:8;;2739:61;;;;;;;;;;;;;;-1:-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;2739:61:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2739:61:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2739:61:5;;;;2693:202;;;2839:45;;;-1:-1:-1;;;2839:45:5;;-1:-1:-1;;;;;2839:45:5;;;;;;;;;;;;;;;;:30;;;;;;:45;;;;;-1:-1:-1;;2839:45:5;;;;;;;;-1:-1:-1;2839:30:5;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;2839:45:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2839:45:5;;;;2693:202;2910:42;;;-1:-1:-1;;;;;2910:42:5;;;;;;;;;;;;;;;;;;;;;;;;;2206:762;;;;;;;;:::o;4809:1306:52:-;5012:7;-1:-1:-1;;;;;5062:21:52;;5054:55;;;;;-1:-1:-1;;;5054:55:52;;;;;;;;;;;;-1:-1:-1;;;5054:55:52;;;;;;;;;;;;;;;5119:34;;:::i;:::-;5156:10;:48;5167:36;5195:7;5167:27;:36::i;:::-;5156:48;;;;;;;;;;;;;;-1:-1:-1;5156:48:52;;;5119:85;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5119:85:52;;;;;;;;;5236:160;;-1:-1:-1;;;5236:160:52;;;;;;;;;;;;;;;;5346:10;5236:160;;;;;;;;;;;;5119:85;;-1:-1:-1;;;5236:32:52;;:160;;;;;;;;;;-1:-1:-1;5119:85:52;5236:160;;;5:2:-1;;;;30:1;27;20:12;5:2;5236:160:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5236:160:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5236:160:52;;-1:-1:-1;5407:30:52;;:::i;:::-;5440:168;;;;;;;;5477:7;-1:-1:-1;;;;;5440:168:52;;;;;5554:4;5440:168;;;;;;5514:15;5440:168;;;;5585:12;-1:-1:-1;;;;;5440:168:52;;;;;5407:201;;5716:16;:24;;;-1:-1:-1;;;;;5623:222:52;5684:10;5662:7;-1:-1:-1;;;;;5623:222:52;;5755:7;5764:15;5793:12;5819:16;5623:222;;;;-1:-1:-1;;;;;5623:222:52;-1:-1:-1;;;;;5623:222:52;;;;;;;;;;;-1:-1:-1;;;;;5623:222:52;;-1:-1:-1;;;;;5623:222:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5623:222:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5855:40:52;;;;;;;:22;:40;;;;;;;;:52;;;;;;;;:63;;;;;;;;;;-1:-1:-1;;;5855:63:52;-1:-1:-1;;;;5855:63:52;;;-1:-1:-1;;;;;;5855:63:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5855:63:52;;;;;;;;;5991:90;;;;;;;6030:12;5991:90;;;;;;;;5950:24;;;;5928:48;;;;;;;;;;:60;;;;;;;;;:153;;;;;;;;;;;;;;;;;;;;;;;;;5896:10;-1:-1:-1;4809:1306:52;;;;;;;:::o;1073:41:5:-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1073:41:5;;:::o;598:73:56:-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:56;;:::o;2000:346::-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:56;;2186:97;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:56;;2331:6;2299:40;;;;;;;;;;;;;-1:-1:-1;;;;;2299:40:56;-1:-1:-1;;;;;2299:40:56;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:56;;-1:-1:-1;;2000:346:56;;;;;:::o;4018:274:52:-;4218:66;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4218:66:52;;;;;;;;;;26:21:-1;;;22:32;;6:49;;4218:66:52;;;;;;4208:77;;;;;;4018:274::o;2693:345:56:-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:56;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:56;;;;;;;2872:67;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:56;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:56;3010:20;;2955:76;;;-1:-1:-1;;;2955:76:56;;-1:-1:-1;;;;;2955:76:56;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;1381:819:5;443:10:56;1490:4:5;429:25:56;;;;;;;;;;;:38;;;;;;;;:45;;;1469:11:5;;-1:-1:-1;;;;;429:45:56;421:98;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;;;;1544:10:5;1514:13;1530:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1530:45:5;1585:30;;:::i;:::-;-1:-1:-1;;;;;;1618:39:5;;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;1585:85;;;;;;;;;;;;;;;-1:-1:-1;;;1585:85:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1585:85:5;;;;;;1680:38;;;;;;-1:-1:-1;;;;;1735:39:5;;;;;;:22;:39;;;;;;;;:52;;;;;;;;;1728:59;;-1:-1:-1;;;;;;1728:59:5;;;;;;;;;;;;;;;-1:-1:-1;;1728:59:5;;;1802:45;1775:11;;1735:39;1802:45;;;1861:6;1871:1;1861:11;1857:247;;;1950:8;:15;;;-1:-1:-1;;;;;1932:48:5;;:50;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1932:50:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1932:50:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1932:50:5;1888:21;;;;:8;1932:50;1888:21;;;;1985:7;1932:60;;;1925:3;:67;1888:104;;2037:15;;2006:28;;;;:46;;-1:-1:-1;;;;;;2006:46:5;-1:-1:-1;;;;;2006:46:5;;;;;;;;;2066:27;1888:21;2066:14;:27::i;:::-;2118:54;;;;;;;;2152:11;;-1:-1:-1;;;;;2118:54:5;;;;;;;;;;;;-1:-1:-1;2189:4:5;;1381:819;-1:-1:-1;;;;;1381:819:5:o;2352:335:56:-;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:56;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:56;;;;;;;2527:67;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:56;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:56;2659:20;;2610:70;;;-1:-1:-1;;;2610:70:56;;;;;;;;;;-1:-1:-1;;;;;2610:48:56;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:56;;-1:-1:-1;;2352:335:56;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:56;421:98;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:56;1810:19;1806:62;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:56;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:56;1884:103;;;-1:-1:-1;;;1884:103:56;;-1:-1:-1;;;;;1884:103:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:56;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:56;;-1:-1:-1;;529:1:56;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:56;421:98;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:56;917:19;913:62;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:56;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:56;991:90;;;-1:-1:-1;;;991:90:56;;;;;;;;-1:-1:-1;;;;;991:90:56;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:56;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:56;;-1:-1:-1;;529:1:56;678:410;;;;;;:::o;6466:855:52:-;6585:7;-1:-1:-1;;;;;6616:21:52;;6608:55;;;;;-1:-1:-1;;;6608:55:52;;;;;;;;;;;;-1:-1:-1;;;6608:55:52;;;;;;;;;;;;;;;6673:18;6694:36;6722:7;6694:27;:36::i;:::-;6673:57;;6740:24;;:::i;:::-;-1:-1:-1;6767:22:52;;;;:10;:22;;;;;;;;6740:49;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6740:49:52;;;;;;;;;6872:73;;-1:-1:-1;;;6872:73:52;;;;;;;;;;;;;;;;6916:10;6872:73;;;;;;;;;;;;6740:49;;;;6767:22;;6740:49;;6872:15;;:73;;;;;6767:22;6872:73;;;;;;6767:22;6740:49;6872:73;;;5:2:-1;;;;30:1;27;20:12;5:2;6872:73:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6872:73:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6872:73:52;-1:-1:-1;;;;;6955:40:52;;;;;;;:22;6872:73;6955:40;;;;;;;:52;;;;;;;;:69;;-1:-1:-1;;;;;;6955:69:52;;;;;;;;;;7039:95;;;;;;;;;;;;;;;;;;;;;;6872:73;;-1:-1:-1;7039:95:52;;;;6872:73;;7039:95;;6955:69;;7039:95;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7039:95:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7197:90;;;;;;;;7236:12;7197:90;;-1:-1:-1;;;;;7197:90:52;;;;;;;;;;7166:14;;;;7144:38;;-1:-1:-1;7144:38:52;;;;;;;;;:50;;;;;;;;;;:143;;;;;;;;;;;-1:-1:-1;;;;;;7144:143:52;;;;;;;;;;;;:50;6466:855;-1:-1:-1;;;;;6466:855:52:o;1094:410:56:-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:56;421:98;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;-1:-1:-1;;;421:98:56;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:56;1333:19;1329:62;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:56;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:56;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:56;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:56;1407:90;;;-1:-1:-1;;;1407:90:56;;;;;;;;-1:-1:-1;;;;;1407:90:56;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:56;:90;;;5:2:-1;;;;30:1;27;20:12;299:340:53;374:7;421;-1:-1:-1;;;;;421:13:53;;:15;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;421:15:53;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;421:15:53;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;421:15:53;401:88;;;-1:-1:-1;;;401:88:53;;465:4;401:88;;;;-1:-1:-1;;;;;401:88:53;;;;;;;;;:55;;;;;;;:88;;;;;421:15;;401:88;;;;;;;:55;:88;;;5:2:-1;;;;30:1;27;20:12;5:2;401:88:53;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;401:88:53;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;401:88:53;393:133;;;;;-1:-1:-1;;;393:133:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:7;-1:-1:-1;;;;;563:13:53;;:15;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:15:53;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;563:15:53;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;563:15:53;543:89;;;-1:-1:-1;;;543:89:53;;608:4;543:89;;;;-1:-1:-1;;;;;543:89:53;;;;;;;;;:56;;;;;;;:89;;;;;563:15;;543:89;;;;;;;:56;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;543:89:53;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;543:89:53;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;543:89:53;;299:340;-1:-1:-1;;299:340:53:o;861:2109:5:-;;;;;;;;;;-1:-1:-1;861:2109:5;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;861:2109:5;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;861:2109:5;;;;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "import \"@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol\";\n\ninterface ProxyAdmin {\n    function upgrade(address proxy, address  impl) external;\n    function  upgradeAndCall(address proxy, address  impl, bytes calldata callData) external  payable;\n}\n\n/* @title Scheme for upgrading an upgradable contract to new impl\n* see openzeppelin upgradables\n */\ncontract UpgradeImplScheme {\n\n    address public newImpl;\n    address public proxy;\n    address public proxyAdmin;\n    bytes public callData;\n    uint public timeLockHours;\n\n    /* @dev constructor.\n     */\n    constructor(address _newImpl, address _proxy, address _proxyAdmin, bytes memory _callData, uint _timeLockHours) public {\n        newImpl = _newImpl;\n        proxy = _proxy;\n        proxyAdmin = _proxyAdmin;\n        callData = _callData;\n        timeLockHours = _timeLockHours;\n    }\n\n}\n\ncontract UpgradesRegistrar is SchemeRegistrar {\n    struct Upgrade {\n        uint timeLockEnd;\n        address scheme;\n    }\n\n    event UpgradedImpl(address indexed proxy, address impl, bytes32 proposalId);\n\n    mapping(bytes32=>Upgrade) public upgrades; \n\n    /**\n    * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _param a parameter of the voting result, 1 yes and 2 is no.\n    */\n    function executeProposal(bytes32 _proposalId, int256 _param) external onlyVotingMachine(_proposalId) returns(bool) {        \n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        SchemeProposal memory proposal = organizationsProposals[address(avatar)][_proposalId];\n        require(proposal.scheme != address(0));\n        delete organizationsProposals[address(avatar)][_proposalId];\n        emit ProposalDeleted(address(avatar), _proposalId);\n        if (_param == 1) {\n            upgrades[_proposalId].timeLockEnd =  now  + UpgradeImplScheme(proposal.scheme).timeLockHours() * 1 hours;\n            upgrades[_proposalId].scheme = proposal.scheme;\n            executeUpgrade(_proposalId);\n        }\n        emit ProposalExecuted(address(avatar), _proposalId, _param);\n        return true;\n    }\n\n    function executeUpgrade(bytes32 _proposalId) public\n    {\n        Upgrade memory upgrade = upgrades[_proposalId];\n        if(upgrade.timeLockEnd > now) return;\n        \n        delete upgrades[_proposalId];\n        UpgradeImplScheme  updScheme = UpgradeImplScheme(upgrade.scheme);\n        address proxy = updScheme.proxy();\n        address proxyAdmin = updScheme.proxyAdmin();\n        address newImpl = updScheme.newImpl();\n        bytes memory callData = updScheme.callData();\n\n        if(callData.length > 0)\n        {\n            ProxyAdmin(proxyAdmin).upgradeAndCall(proxy,newImpl,callData);\n        }\n        else {\n            ProxyAdmin(proxyAdmin).upgrade(proxy,newImpl);\n        }\n\n        emit UpgradedImpl(proxy, newImpl,  _proposalId);\n        \n    }\n}",
  "sourcePath": "/Users/hadar/workspace/GoodDollar/GoodBootstrap/packages/contracts/contracts/dao/UpgradesRegistrar.sol",
  "ast": {
    "absolutePath": "/Users/hadar/workspace/GoodDollar/GoodBootstrap/packages/contracts/contracts/dao/UpgradesRegistrar.sol",
    "exportedSymbols": {
      "ProxyAdmin": [
        1813
      ],
      "UpgradeImplScheme": [
        1858
      ],
      "UpgradesRegistrar": [
        2063
      ]
    },
    "id": 2064,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
        "file": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
        "id": 1796,
        "nodeType": "ImportDirective",
        "scope": 2064,
        "sourceUnit": 11013,
        "src": "0:70:5",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 1813,
        "linearizedBaseContracts": [
          1813
        ],
        "name": "ProxyAdmin",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "id": 1803,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "upgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1801,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1798,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1803,
                  "src": "116:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1797,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "116:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1800,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1803,
                  "src": "131:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1799,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "131:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "115:30:5"
            },
            "returnParameters": {
              "id": 1802,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "154:0:5"
            },
            "scope": 1813,
            "src": "99:56:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 1812,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "upgradeAndCall",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1810,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1805,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "185:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1804,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "185:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1807,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "200:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1806,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "200:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1809,
                  "name": "callData",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "215:23:5",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 1808,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "215:5:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "184:55:5"
            },
            "returnParameters": {
              "id": 1811,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "257:0:5"
            },
            "scope": 1813,
            "src": "160:98:5",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 2064,
        "src": "72:188:5"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 1858,
        "linearizedBaseContracts": [
          1858
        ],
        "name": "UpgradeImplScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 1815,
            "name": "newImpl",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "397:22:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1814,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "397:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1817,
            "name": "proxy",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "425:20:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1816,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "425:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1819,
            "name": "proxyAdmin",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "451:25:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1818,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "451:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1821,
            "name": "callData",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "482:21:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes_storage",
              "typeString": "bytes"
            },
            "typeName": {
              "id": 1820,
              "name": "bytes",
              "nodeType": "ElementaryTypeName",
              "src": "482:5:5",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes_storage_ptr",
                "typeString": "bytes"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1823,
            "name": "timeLockHours",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "509:25:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 1822,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "509:4:5",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1856,
              "nodeType": "Block",
              "src": "693:163:5",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1838,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1836,
                      "name": "newImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1815,
                      "src": "703:7:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1837,
                      "name": "_newImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1825,
                      "src": "713:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "703:18:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1839,
                  "nodeType": "ExpressionStatement",
                  "src": "703:18:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1842,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1840,
                      "name": "proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1817,
                      "src": "731:5:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1841,
                      "name": "_proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1827,
                      "src": "739:6:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "731:14:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1843,
                  "nodeType": "ExpressionStatement",
                  "src": "731:14:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1846,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1844,
                      "name": "proxyAdmin",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1819,
                      "src": "755:10:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1845,
                      "name": "_proxyAdmin",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1829,
                      "src": "768:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "755:24:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1847,
                  "nodeType": "ExpressionStatement",
                  "src": "755:24:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1850,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1848,
                      "name": "callData",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1821,
                      "src": "789:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_storage",
                        "typeString": "bytes storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1849,
                      "name": "_callData",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1831,
                      "src": "800:9:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes memory"
                      }
                    },
                    "src": "789:20:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage",
                      "typeString": "bytes storage ref"
                    }
                  },
                  "id": 1851,
                  "nodeType": "ExpressionStatement",
                  "src": "789:20:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1854,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1852,
                      "name": "timeLockHours",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1823,
                      "src": "819:13:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1853,
                      "name": "_timeLockHours",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1833,
                      "src": "835:14:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "819:30:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 1855,
                  "nodeType": "ExpressionStatement",
                  "src": "819:30:5"
                }
              ]
            },
            "documentation": null,
            "id": 1857,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1834,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1825,
                  "name": "_newImpl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "586:16:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1824,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "586:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1827,
                  "name": "_proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "604:14:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1826,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "604:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1829,
                  "name": "_proxyAdmin",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "620:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1828,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "620:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1831,
                  "name": "_callData",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "641:22:5",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 1830,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "641:5:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1833,
                  "name": "_timeLockHours",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "665:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1832,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "665:4:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "585:100:5"
            },
            "returnParameters": {
              "id": 1835,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "693:0:5"
            },
            "scope": 1858,
            "src": "574:282:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 2064,
        "src": "363:496:5"
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1859,
              "name": "SchemeRegistrar",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 11012,
              "src": "891:15:5",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SchemeRegistrar_$11012",
                "typeString": "contract SchemeRegistrar"
              }
            },
            "id": 1860,
            "nodeType": "InheritanceSpecifier",
            "src": "891:15:5"
          }
        ],
        "contractDependencies": [
          11012,
          11059,
          11070,
          11827,
          16419,
          16483
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 2063,
        "linearizedBaseContracts": [
          2063,
          11012,
          16419,
          11827,
          16483,
          11059,
          11070
        ],
        "name": "UpgradesRegistrar",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "UpgradesRegistrar.Upgrade",
            "id": 1865,
            "members": [
              {
                "constant": false,
                "id": 1862,
                "name": "timeLockEnd",
                "nodeType": "VariableDeclaration",
                "scope": 1865,
                "src": "938:16:5",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1861,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "938:4:5",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 1864,
                "name": "scheme",
                "nodeType": "VariableDeclaration",
                "scope": 1865,
                "src": "964:14:5",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 1863,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "964:7:5",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Upgrade",
            "nodeType": "StructDefinition",
            "scope": 2063,
            "src": "913:72:5",
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1873,
            "name": "UpgradedImpl",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1872,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1867,
                  "indexed": true,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1010:21:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1866,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1010:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1869,
                  "indexed": false,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1033:12:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1868,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1033:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1871,
                  "indexed": false,
                  "name": "proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1047:18:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1870,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1047:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1009:57:5"
            },
            "src": "991:76:5"
          },
          {
            "constant": false,
            "id": 1877,
            "name": "upgrades",
            "nodeType": "VariableDeclaration",
            "scope": 2063,
            "src": "1073:41:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade)"
            },
            "typeName": {
              "id": 1876,
              "keyType": {
                "id": 1874,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1081:7:5",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1073:25:5",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade)"
              },
              "valueType": {
                "contractScope": null,
                "id": 1875,
                "name": "Upgrade",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 1865,
                "src": "1090:7:5",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Upgrade_$1865_storage_ptr",
                  "typeString": "struct UpgradesRegistrar.Upgrade"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1977,
              "nodeType": "Block",
              "src": "1496:704:5",
              "statements": [
                {
                  "assignments": [
                    1890
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1890,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 1977,
                      "src": "1514:13:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$8541",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1889,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 8541,
                        "src": "1514:6:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$8541",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1898,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1891,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 11567,
                          "src": "1530:13:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$11538_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 1894,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1892,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18007,
                            "src": "1544:3:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 1893,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1544:10:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1530:25:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$11538_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 1896,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1895,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1556:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1530:38:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$11538_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 1897,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 11537,
                    "src": "1530:45:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$8541",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1514:61:5"
                },
                {
                  "assignments": [
                    1900
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1900,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 1977,
                      "src": "1585:30:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1899,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10623,
                        "src": "1585:14:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1908,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1901,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10629,
                        "src": "1618:22:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                        }
                      },
                      "id": 1905,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1903,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "1649:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1902,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1641:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1904,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1641:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1618:39:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                      }
                    },
                    "id": 1907,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1906,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1879,
                      "src": "1658:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1618:52:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1585:85:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 1915,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1910,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1900,
                            "src": "1688:8:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 1911,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "scheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 10616,
                          "src": "1688:15:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1913,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1715:1:5",
                              "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": 1912,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1707:7:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 1914,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1707:10:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "1688:29:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 1909,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        18010,
                        18011
                      ],
                      "referencedDeclaration": 18010,
                      "src": "1680:7:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 1916,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1680:38:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1917,
                  "nodeType": "ExpressionStatement",
                  "src": "1680:38:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1925,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "1728:59:5",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1918,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10629,
                          "src": "1735:22:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 1922,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1920,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1890,
                              "src": "1766:6:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$8541",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$8541",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 1919,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1758:7:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 1921,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1758:15:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1735:39:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 1924,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1923,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1775:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "1735:52:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1926,
                  "nodeType": "ExpressionStatement",
                  "src": "1728:59:5"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1929,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "1826:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1928,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1818:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1930,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1818:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1931,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1835:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 1927,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10614,
                      "src": "1802:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 1932,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1802:45:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1933,
                  "nodeType": "EmitStatement",
                  "src": "1797:50:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 1936,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 1934,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1881,
                      "src": "1861:6:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 1935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1871:1:5",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1861:11:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 1966,
                  "nodeType": "IfStatement",
                  "src": "1857:247:5",
                  "trueBody": {
                    "id": 1965,
                    "nodeType": "Block",
                    "src": "1874:230:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1951,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 1937,
                                "name": "upgrades",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1877,
                                "src": "1888:8:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                                  "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                                }
                              },
                              "id": 1939,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 1938,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1879,
                                "src": "1897:11:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "1888:21:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                                "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                              }
                            },
                            "id": 1940,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "timeLockEnd",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1862,
                            "src": "1888:33:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 1950,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "id": 1941,
                              "name": "now",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 18009,
                              "src": "1925:3:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 1949,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "arguments": [],
                                "expression": {
                                  "argumentTypes": [],
                                  "expression": {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 1943,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 1900,
                                          "src": "1950:8:5",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 1944,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 10616,
                                        "src": "1950:15:5",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 1942,
                                      "name": "UpgradeImplScheme",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 1858,
                                      "src": "1932:17:5",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_UpgradeImplScheme_$1858_$",
                                        "typeString": "type(contract UpgradeImplScheme)"
                                      }
                                    },
                                    "id": 1945,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "1932:34:5",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                                      "typeString": "contract UpgradeImplScheme"
                                    }
                                  },
                                  "id": 1946,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "timeLockHours",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 1823,
                                  "src": "1932:48:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                                    "typeString": "function () view external returns (uint256)"
                                  }
                                },
                                "id": 1947,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "1932:50:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "*",
                              "rightExpression": {
                                "argumentTypes": null,
                                "hexValue": "31",
                                "id": 1948,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "1985:7:5",
                                "subdenomination": "hours",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_3600_by_1",
                                  "typeString": "int_const 3600"
                                },
                                "value": "1"
                              },
                              "src": "1932:60:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "1925:67:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "1888:104:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 1952,
                        "nodeType": "ExpressionStatement",
                        "src": "1888:104:5"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1959,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 1953,
                                "name": "upgrades",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1877,
                                "src": "2006:8:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                                  "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                                }
                              },
                              "id": 1955,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 1954,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1879,
                                "src": "2015:11:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "2006:21:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                                "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                              }
                            },
                            "id": 1956,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "scheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1864,
                            "src": "2006:28:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 1957,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1900,
                              "src": "2037:8:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                                "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                              }
                            },
                            "id": 1958,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "scheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10616,
                            "src": "2037:15:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "src": "2006:46:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "id": 1960,
                        "nodeType": "ExpressionStatement",
                        "src": "2006:46:5"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1962,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1879,
                              "src": "2081:11:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            ],
                            "id": 1961,
                            "name": "executeUpgrade",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2062,
                            "src": "2066:14:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$",
                              "typeString": "function (bytes32)"
                            }
                          },
                          "id": 1963,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2066:27:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 1964,
                        "nodeType": "ExpressionStatement",
                        "src": "2066:27:5"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1969,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "2143:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1968,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2135:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1970,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2135:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1971,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "2152:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1972,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1881,
                        "src": "2165:6:5",
                        "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": 1967,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10608,
                      "src": "2118:16:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 1973,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2118:54:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1974,
                  "nodeType": "EmitStatement",
                  "src": "2113:59:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 1975,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2189:4:5",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 1888,
                  "id": 1976,
                  "nodeType": "Return",
                  "src": "2182:11:5"
                }
              ]
            },
            "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": 1978,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 1884,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 1879,
                    "src": "1469:11:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 1885,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1883,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 11561,
                  "src": "1451:17:5",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1451:30:5"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1882,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1879,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1406:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1878,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1406:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1881,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1427:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 1880,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1427:6:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1405:36:5"
            },
            "returnParameters": {
              "id": 1888,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1887,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1490:4:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 1886,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1490:4:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1489:6:5"
            },
            "scope": 2063,
            "src": "1381:819:5",
            "stateMutability": "nonpayable",
            "superFunction": 10756,
            "visibility": "external"
          },
          {
            "body": {
              "id": 2061,
              "nodeType": "Block",
              "src": "2262:706:5",
              "statements": [
                {
                  "assignments": [
                    1984
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1984,
                      "name": "upgrade",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2272:22:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                        "typeString": "struct UpgradesRegistrar.Upgrade"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1983,
                        "name": "Upgrade",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1865,
                        "src": "2272:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Upgrade_$1865_storage_ptr",
                          "typeString": "struct UpgradesRegistrar.Upgrade"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1988,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 1985,
                      "name": "upgrades",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1877,
                      "src": "2297:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                      }
                    },
                    "id": 1987,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1986,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1980,
                      "src": "2306:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2297:21:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                      "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2272:46:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1992,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1989,
                        "name": "upgrade",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1984,
                        "src": "2331:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                          "typeString": "struct UpgradesRegistrar.Upgrade memory"
                        }
                      },
                      "id": 1990,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "timeLockEnd",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1862,
                      "src": "2331:19:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "id": 1991,
                      "name": "now",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18009,
                      "src": "2353:3:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2331:25:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 1994,
                  "nodeType": "IfStatement",
                  "src": "2328:37:5",
                  "trueBody": {
                    "expression": null,
                    "functionReturnParameters": 1982,
                    "id": 1993,
                    "nodeType": "Return",
                    "src": "2358:7:5"
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1998,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2383:28:5",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1995,
                        "name": "upgrades",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1877,
                        "src": "2390:8:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                        }
                      },
                      "id": 1997,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1996,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1980,
                        "src": "2399:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2390:21:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                        "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1999,
                  "nodeType": "ExpressionStatement",
                  "src": "2383:28:5"
                },
                {
                  "assignments": [
                    2001
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2001,
                      "name": "updScheme",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2421:28:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                        "typeString": "contract UpgradeImplScheme"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 2000,
                        "name": "UpgradeImplScheme",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1858,
                        "src": "2421:17:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2006,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 2003,
                          "name": "upgrade",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1984,
                          "src": "2470:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                            "typeString": "struct UpgradesRegistrar.Upgrade memory"
                          }
                        },
                        "id": 2004,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "scheme",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1864,
                        "src": "2470:14:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 2002,
                      "name": "UpgradeImplScheme",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1858,
                      "src": "2452:17:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_UpgradeImplScheme_$1858_$",
                        "typeString": "type(contract UpgradeImplScheme)"
                      }
                    },
                    "id": 2005,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2452:33:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                      "typeString": "contract UpgradeImplScheme"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2421:64:5"
                },
                {
                  "assignments": [
                    2008
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2008,
                      "name": "proxy",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2495:13:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2007,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2495:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2012,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2009,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2511:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2010,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "proxy",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1817,
                      "src": "2511:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2011,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2511:17:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2495:33:5"
                },
                {
                  "assignments": [
                    2014
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2014,
                      "name": "proxyAdmin",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2538:18:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2013,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2538:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2018,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2015,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2559:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2016,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "proxyAdmin",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1819,
                      "src": "2559:20:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2017,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2559:22:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2538:43:5"
                },
                {
                  "assignments": [
                    2020
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2020,
                      "name": "newImpl",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2591:15:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2019,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2591:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2024,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2021,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2609:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2022,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "newImpl",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1815,
                      "src": "2609:17:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2023,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2609:19:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2591:37:5"
                },
                {
                  "assignments": [
                    2026
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2026,
                      "name": "callData",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2638:21:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes"
                      },
                      "typeName": {
                        "id": 2025,
                        "name": "bytes",
                        "nodeType": "ElementaryTypeName",
                        "src": "2638:5:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_storage_ptr",
                          "typeString": "bytes"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2030,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2027,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2662:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2028,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "callData",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1821,
                      "src": "2662:18:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes_memory_$",
                        "typeString": "function () view external returns (bytes memory)"
                      }
                    },
                    "id": 2029,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2662:20:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory",
                      "typeString": "bytes memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2638:44:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 2034,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 2031,
                        "name": "callData",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2026,
                        "src": "2696:8:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      "id": 2032,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "2696:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 2033,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2714:1:5",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2696:19:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 2053,
                    "nodeType": "Block",
                    "src": "2825:70:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 2049,
                              "name": "proxy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2008,
                              "src": "2870:5:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2050,
                              "name": "newImpl",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2020,
                              "src": "2876:7:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 2046,
                                  "name": "proxyAdmin",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 2014,
                                  "src": "2850:10:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 2045,
                                "name": "ProxyAdmin",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1813,
                                "src": "2839:10:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_ProxyAdmin_$1813_$",
                                  "typeString": "type(contract ProxyAdmin)"
                                }
                              },
                              "id": 2047,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2839:22:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ProxyAdmin_$1813",
                                "typeString": "contract ProxyAdmin"
                              }
                            },
                            "id": 2048,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "upgrade",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1803,
                            "src": "2839:30:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$",
                              "typeString": "function (address,address) external"
                            }
                          },
                          "id": 2051,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2839:45:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 2052,
                        "nodeType": "ExpressionStatement",
                        "src": "2839:45:5"
                      }
                    ]
                  },
                  "id": 2054,
                  "nodeType": "IfStatement",
                  "src": "2693:202:5",
                  "trueBody": {
                    "id": 2044,
                    "nodeType": "Block",
                    "src": "2725:86:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 2039,
                              "name": "proxy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2008,
                              "src": "2777:5:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2040,
                              "name": "newImpl",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2020,
                              "src": "2783:7:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2041,
                              "name": "callData",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2026,
                              "src": "2791:8:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 2036,
                                  "name": "proxyAdmin",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 2014,
                                  "src": "2750:10:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 2035,
                                "name": "ProxyAdmin",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1813,
                                "src": "2739:10:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_ProxyAdmin_$1813_$",
                                  "typeString": "type(contract ProxyAdmin)"
                                }
                              },
                              "id": 2037,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2739:22:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ProxyAdmin_$1813",
                                "typeString": "contract ProxyAdmin"
                              }
                            },
                            "id": 2038,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "upgradeAndCall",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1812,
                            "src": "2739:37:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_payable$_t_address_$_t_address_$_t_bytes_memory_ptr_$returns$__$",
                              "typeString": "function (address,address,bytes memory) payable external"
                            }
                          },
                          "id": 2042,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2739:61:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 2043,
                        "nodeType": "ExpressionStatement",
                        "src": "2739:61:5"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 2056,
                        "name": "proxy",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2008,
                        "src": "2923:5:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 2057,
                        "name": "newImpl",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2020,
                        "src": "2930:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 2058,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1980,
                        "src": "2940:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 2055,
                      "name": "UpgradedImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1873,
                      "src": "2910:12:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,address,bytes32)"
                      }
                    },
                    "id": 2059,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2910:42:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 2060,
                  "nodeType": "EmitStatement",
                  "src": "2905:47:5"
                }
              ]
            },
            "documentation": null,
            "id": 2062,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "executeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1981,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1980,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 2062,
                  "src": "2230:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1979,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2230:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2229:21:5"
            },
            "returnParameters": {
              "id": 1982,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2262:0:5"
            },
            "scope": 2063,
            "src": "2206:762:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 2064,
        "src": "861:2109:5"
      }
    ],
    "src": "0:2970:5"
  },
  "legacyAST": {
    "absolutePath": "/Users/hadar/workspace/GoodDollar/GoodBootstrap/packages/contracts/contracts/dao/UpgradesRegistrar.sol",
    "exportedSymbols": {
      "ProxyAdmin": [
        1813
      ],
      "UpgradeImplScheme": [
        1858
      ],
      "UpgradesRegistrar": [
        2063
      ]
    },
    "id": 2064,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
        "file": "@daostack/arc/contracts/universalSchemes/SchemeRegistrar.sol",
        "id": 1796,
        "nodeType": "ImportDirective",
        "scope": 2064,
        "sourceUnit": 11013,
        "src": "0:70:5",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 1813,
        "linearizedBaseContracts": [
          1813
        ],
        "name": "ProxyAdmin",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "id": 1803,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "upgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1801,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1798,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1803,
                  "src": "116:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1797,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "116:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1800,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1803,
                  "src": "131:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1799,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "131:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "115:30:5"
            },
            "returnParameters": {
              "id": 1802,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "154:0:5"
            },
            "scope": 1813,
            "src": "99:56:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "id": 1812,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "upgradeAndCall",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1810,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1805,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "185:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1804,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "185:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1807,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "200:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1806,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "200:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1809,
                  "name": "callData",
                  "nodeType": "VariableDeclaration",
                  "scope": 1812,
                  "src": "215:23:5",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 1808,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "215:5:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "184:55:5"
            },
            "returnParameters": {
              "id": 1811,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "257:0:5"
            },
            "scope": 1813,
            "src": "160:98:5",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 2064,
        "src": "72:188:5"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 1858,
        "linearizedBaseContracts": [
          1858
        ],
        "name": "UpgradeImplScheme",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 1815,
            "name": "newImpl",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "397:22:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1814,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "397:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1817,
            "name": "proxy",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "425:20:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1816,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "425:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1819,
            "name": "proxyAdmin",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "451:25:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1818,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "451:7:5",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1821,
            "name": "callData",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "482:21:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes_storage",
              "typeString": "bytes"
            },
            "typeName": {
              "id": 1820,
              "name": "bytes",
              "nodeType": "ElementaryTypeName",
              "src": "482:5:5",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes_storage_ptr",
                "typeString": "bytes"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1823,
            "name": "timeLockHours",
            "nodeType": "VariableDeclaration",
            "scope": 1858,
            "src": "509:25:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 1822,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "509:4:5",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1856,
              "nodeType": "Block",
              "src": "693:163:5",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1838,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1836,
                      "name": "newImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1815,
                      "src": "703:7:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1837,
                      "name": "_newImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1825,
                      "src": "713:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "703:18:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1839,
                  "nodeType": "ExpressionStatement",
                  "src": "703:18:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1842,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1840,
                      "name": "proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1817,
                      "src": "731:5:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1841,
                      "name": "_proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1827,
                      "src": "739:6:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "731:14:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1843,
                  "nodeType": "ExpressionStatement",
                  "src": "731:14:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1846,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1844,
                      "name": "proxyAdmin",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1819,
                      "src": "755:10:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1845,
                      "name": "_proxyAdmin",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1829,
                      "src": "768:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "755:24:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1847,
                  "nodeType": "ExpressionStatement",
                  "src": "755:24:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1850,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1848,
                      "name": "callData",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1821,
                      "src": "789:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_storage",
                        "typeString": "bytes storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1849,
                      "name": "_callData",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1831,
                      "src": "800:9:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes memory"
                      }
                    },
                    "src": "789:20:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage",
                      "typeString": "bytes storage ref"
                    }
                  },
                  "id": 1851,
                  "nodeType": "ExpressionStatement",
                  "src": "789:20:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1854,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1852,
                      "name": "timeLockHours",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1823,
                      "src": "819:13:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 1853,
                      "name": "_timeLockHours",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1833,
                      "src": "835:14:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "819:30:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 1855,
                  "nodeType": "ExpressionStatement",
                  "src": "819:30:5"
                }
              ]
            },
            "documentation": null,
            "id": 1857,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1834,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1825,
                  "name": "_newImpl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "586:16:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1824,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "586:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1827,
                  "name": "_proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "604:14:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1826,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "604:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1829,
                  "name": "_proxyAdmin",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "620:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1828,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "620:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1831,
                  "name": "_callData",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "641:22:5",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 1830,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "641:5:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1833,
                  "name": "_timeLockHours",
                  "nodeType": "VariableDeclaration",
                  "scope": 1857,
                  "src": "665:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1832,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "665:4:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "585:100:5"
            },
            "returnParameters": {
              "id": 1835,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "693:0:5"
            },
            "scope": 1858,
            "src": "574:282:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 2064,
        "src": "363:496:5"
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1859,
              "name": "SchemeRegistrar",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 11012,
              "src": "891:15:5",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SchemeRegistrar_$11012",
                "typeString": "contract SchemeRegistrar"
              }
            },
            "id": 1860,
            "nodeType": "InheritanceSpecifier",
            "src": "891:15:5"
          }
        ],
        "contractDependencies": [
          11012,
          11059,
          11070,
          11827,
          16419,
          16483
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 2063,
        "linearizedBaseContracts": [
          2063,
          11012,
          16419,
          11827,
          16483,
          11059,
          11070
        ],
        "name": "UpgradesRegistrar",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "UpgradesRegistrar.Upgrade",
            "id": 1865,
            "members": [
              {
                "constant": false,
                "id": 1862,
                "name": "timeLockEnd",
                "nodeType": "VariableDeclaration",
                "scope": 1865,
                "src": "938:16:5",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1861,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "938:4:5",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 1864,
                "name": "scheme",
                "nodeType": "VariableDeclaration",
                "scope": 1865,
                "src": "964:14:5",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 1863,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "964:7:5",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Upgrade",
            "nodeType": "StructDefinition",
            "scope": 2063,
            "src": "913:72:5",
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1873,
            "name": "UpgradedImpl",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1872,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1867,
                  "indexed": true,
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1010:21:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1866,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1010:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1869,
                  "indexed": false,
                  "name": "impl",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1033:12:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1868,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1033:7:5",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1871,
                  "indexed": false,
                  "name": "proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 1873,
                  "src": "1047:18:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1870,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1047:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1009:57:5"
            },
            "src": "991:76:5"
          },
          {
            "constant": false,
            "id": 1877,
            "name": "upgrades",
            "nodeType": "VariableDeclaration",
            "scope": 2063,
            "src": "1073:41:5",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
              "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade)"
            },
            "typeName": {
              "id": 1876,
              "keyType": {
                "id": 1874,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "1081:7:5",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "1073:25:5",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade)"
              },
              "valueType": {
                "contractScope": null,
                "id": 1875,
                "name": "Upgrade",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 1865,
                "src": "1090:7:5",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Upgrade_$1865_storage_ptr",
                  "typeString": "struct UpgradesRegistrar.Upgrade"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1977,
              "nodeType": "Block",
              "src": "1496:704:5",
              "statements": [
                {
                  "assignments": [
                    1890
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1890,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 1977,
                      "src": "1514:13:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$8541",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1889,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 8541,
                        "src": "1514:6:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$8541",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1898,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1891,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 11567,
                          "src": "1530:13:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$11538_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 1894,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1892,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18007,
                            "src": "1544:3:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 1893,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1544:10:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1530:25:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$11538_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 1896,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1895,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1556:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1530:38:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$11538_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 1897,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 11537,
                    "src": "1530:45:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$8541",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1514:61:5"
                },
                {
                  "assignments": [
                    1900
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1900,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 1977,
                      "src": "1585:30:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                        "typeString": "struct SchemeRegistrar.SchemeProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1899,
                        "name": "SchemeProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10623,
                        "src": "1585:14:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage_ptr",
                          "typeString": "struct SchemeRegistrar.SchemeProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1908,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1901,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10629,
                        "src": "1618:22:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                        }
                      },
                      "id": 1905,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1903,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "1649:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1902,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1641:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1904,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1641:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1618:39:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$",
                        "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                      }
                    },
                    "id": 1907,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1906,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1879,
                      "src": "1658:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1618:52:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage",
                      "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1585:85:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 1915,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1910,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1900,
                            "src": "1688:8:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                              "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                            }
                          },
                          "id": 1911,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "scheme",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 10616,
                          "src": "1688:15:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1913,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1715:1:5",
                              "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": 1912,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1707:7:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 1914,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1707:10:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "1688:29:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 1909,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        18010,
                        18011
                      ],
                      "referencedDeclaration": 18010,
                      "src": "1680:7:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 1916,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1680:38:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1917,
                  "nodeType": "ExpressionStatement",
                  "src": "1680:38:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1925,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "1728:59:5",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1918,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10629,
                          "src": "1735:22:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))"
                          }
                        },
                        "id": 1922,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1920,
                              "name": "avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1890,
                              "src": "1766:6:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$8541",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$8541",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 1919,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1758:7:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 1921,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1758:15:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1735:39:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_SchemeProposal_$10623_storage_$",
                          "typeString": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)"
                        }
                      },
                      "id": 1924,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1923,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1775:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "1735:52:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_SchemeProposal_$10623_storage",
                        "typeString": "struct SchemeRegistrar.SchemeProposal storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1926,
                  "nodeType": "ExpressionStatement",
                  "src": "1728:59:5"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1929,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "1826:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1928,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1818:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1930,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1818:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1931,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "1835:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 1927,
                      "name": "ProposalDeleted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10614,
                      "src": "1802:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,bytes32)"
                      }
                    },
                    "id": 1932,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1802:45:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1933,
                  "nodeType": "EmitStatement",
                  "src": "1797:50:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 1936,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 1934,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1881,
                      "src": "1861:6:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 1935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1871:1:5",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1861:11:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 1966,
                  "nodeType": "IfStatement",
                  "src": "1857:247:5",
                  "trueBody": {
                    "id": 1965,
                    "nodeType": "Block",
                    "src": "1874:230:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1951,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 1937,
                                "name": "upgrades",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1877,
                                "src": "1888:8:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                                  "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                                }
                              },
                              "id": 1939,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 1938,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1879,
                                "src": "1897:11:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "1888:21:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                                "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                              }
                            },
                            "id": 1940,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "timeLockEnd",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1862,
                            "src": "1888:33:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 1950,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "id": 1941,
                              "name": "now",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 18009,
                              "src": "1925:3:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 1949,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "arguments": [],
                                "expression": {
                                  "argumentTypes": [],
                                  "expression": {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 1943,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 1900,
                                          "src": "1950:8:5",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                                            "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                                          }
                                        },
                                        "id": 1944,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "scheme",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 10616,
                                        "src": "1950:15:5",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 1942,
                                      "name": "UpgradeImplScheme",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 1858,
                                      "src": "1932:17:5",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_UpgradeImplScheme_$1858_$",
                                        "typeString": "type(contract UpgradeImplScheme)"
                                      }
                                    },
                                    "id": 1945,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "1932:34:5",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                                      "typeString": "contract UpgradeImplScheme"
                                    }
                                  },
                                  "id": 1946,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "timeLockHours",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 1823,
                                  "src": "1932:48:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                                    "typeString": "function () view external returns (uint256)"
                                  }
                                },
                                "id": 1947,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "1932:50:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "*",
                              "rightExpression": {
                                "argumentTypes": null,
                                "hexValue": "31",
                                "id": 1948,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "1985:7:5",
                                "subdenomination": "hours",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_3600_by_1",
                                  "typeString": "int_const 3600"
                                },
                                "value": "1"
                              },
                              "src": "1932:60:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "1925:67:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "1888:104:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 1952,
                        "nodeType": "ExpressionStatement",
                        "src": "1888:104:5"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1959,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 1953,
                                "name": "upgrades",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1877,
                                "src": "2006:8:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                                  "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                                }
                              },
                              "id": 1955,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 1954,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1879,
                                "src": "2015:11:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "2006:21:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                                "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                              }
                            },
                            "id": 1956,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "scheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1864,
                            "src": "2006:28:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 1957,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1900,
                              "src": "2037:8:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_SchemeProposal_$10623_memory_ptr",
                                "typeString": "struct SchemeRegistrar.SchemeProposal memory"
                              }
                            },
                            "id": 1958,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "scheme",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10616,
                            "src": "2037:15:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "src": "2006:46:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "id": 1960,
                        "nodeType": "ExpressionStatement",
                        "src": "2006:46:5"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1962,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1879,
                              "src": "2081:11:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            ],
                            "id": 1961,
                            "name": "executeUpgrade",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2062,
                            "src": "2066:14:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$returns$__$",
                              "typeString": "function (bytes32)"
                            }
                          },
                          "id": 1963,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2066:27:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 1964,
                        "nodeType": "ExpressionStatement",
                        "src": "2066:27:5"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 1969,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1890,
                            "src": "2143:6:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$8541",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 1968,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2135:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 1970,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2135:15:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1971,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1879,
                        "src": "2152:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1972,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1881,
                        "src": "2165:6:5",
                        "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": 1967,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10608,
                      "src": "2118:16:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 1973,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2118:54:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1974,
                  "nodeType": "EmitStatement",
                  "src": "2113:59:5"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 1975,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2189:4:5",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 1888,
                  "id": 1976,
                  "nodeType": "Return",
                  "src": "2182:11:5"
                }
              ]
            },
            "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": 1978,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 1884,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 1879,
                    "src": "1469:11:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 1885,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1883,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 11561,
                  "src": "1451:17:5",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1451:30:5"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1882,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1879,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1406:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1878,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1406:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1881,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1427:13:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 1880,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1427:6:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1405:36:5"
            },
            "returnParameters": {
              "id": 1888,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1887,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1978,
                  "src": "1490:4:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 1886,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1490:4:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1489:6:5"
            },
            "scope": 2063,
            "src": "1381:819:5",
            "stateMutability": "nonpayable",
            "superFunction": 10756,
            "visibility": "external"
          },
          {
            "body": {
              "id": 2061,
              "nodeType": "Block",
              "src": "2262:706:5",
              "statements": [
                {
                  "assignments": [
                    1984
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1984,
                      "name": "upgrade",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2272:22:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                        "typeString": "struct UpgradesRegistrar.Upgrade"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1983,
                        "name": "Upgrade",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1865,
                        "src": "2272:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Upgrade_$1865_storage_ptr",
                          "typeString": "struct UpgradesRegistrar.Upgrade"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1988,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 1985,
                      "name": "upgrades",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1877,
                      "src": "2297:8:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                        "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                      }
                    },
                    "id": 1987,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1986,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1980,
                      "src": "2306:11:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2297:21:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                      "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2272:46:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1992,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1989,
                        "name": "upgrade",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1984,
                        "src": "2331:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                          "typeString": "struct UpgradesRegistrar.Upgrade memory"
                        }
                      },
                      "id": 1990,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "timeLockEnd",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1862,
                      "src": "2331:19:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "id": 1991,
                      "name": "now",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18009,
                      "src": "2353:3:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2331:25:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 1994,
                  "nodeType": "IfStatement",
                  "src": "2328:37:5",
                  "trueBody": {
                    "expression": null,
                    "functionReturnParameters": 1982,
                    "id": 1993,
                    "nodeType": "Return",
                    "src": "2358:7:5"
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1998,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "2383:28:5",
                    "subExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1995,
                        "name": "upgrades",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1877,
                        "src": "2390:8:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Upgrade_$1865_storage_$",
                          "typeString": "mapping(bytes32 => struct UpgradesRegistrar.Upgrade storage ref)"
                        }
                      },
                      "id": 1997,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1996,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1980,
                        "src": "2399:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2390:21:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Upgrade_$1865_storage",
                        "typeString": "struct UpgradesRegistrar.Upgrade storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1999,
                  "nodeType": "ExpressionStatement",
                  "src": "2383:28:5"
                },
                {
                  "assignments": [
                    2001
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2001,
                      "name": "updScheme",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2421:28:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                        "typeString": "contract UpgradeImplScheme"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 2000,
                        "name": "UpgradeImplScheme",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1858,
                        "src": "2421:17:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2006,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 2003,
                          "name": "upgrade",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1984,
                          "src": "2470:7:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Upgrade_$1865_memory_ptr",
                            "typeString": "struct UpgradesRegistrar.Upgrade memory"
                          }
                        },
                        "id": 2004,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "scheme",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1864,
                        "src": "2470:14:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 2002,
                      "name": "UpgradeImplScheme",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1858,
                      "src": "2452:17:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_UpgradeImplScheme_$1858_$",
                        "typeString": "type(contract UpgradeImplScheme)"
                      }
                    },
                    "id": 2005,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2452:33:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                      "typeString": "contract UpgradeImplScheme"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2421:64:5"
                },
                {
                  "assignments": [
                    2008
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2008,
                      "name": "proxy",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2495:13:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2007,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2495:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2012,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2009,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2511:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2010,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "proxy",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1817,
                      "src": "2511:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2011,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2511:17:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2495:33:5"
                },
                {
                  "assignments": [
                    2014
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2014,
                      "name": "proxyAdmin",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2538:18:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2013,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2538:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2018,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2015,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2559:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2016,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "proxyAdmin",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1819,
                      "src": "2559:20:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2017,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2559:22:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2538:43:5"
                },
                {
                  "assignments": [
                    2020
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2020,
                      "name": "newImpl",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2591:15:5",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 2019,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2591:7:5",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2024,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2021,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2609:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2022,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "newImpl",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1815,
                      "src": "2609:17:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                        "typeString": "function () view external returns (address)"
                      }
                    },
                    "id": 2023,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2609:19:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2591:37:5"
                },
                {
                  "assignments": [
                    2026
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2026,
                      "name": "callData",
                      "nodeType": "VariableDeclaration",
                      "scope": 2061,
                      "src": "2638:21:5",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_memory_ptr",
                        "typeString": "bytes"
                      },
                      "typeName": {
                        "id": 2025,
                        "name": "bytes",
                        "nodeType": "ElementaryTypeName",
                        "src": "2638:5:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_storage_ptr",
                          "typeString": "bytes"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2030,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 2027,
                        "name": "updScheme",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2001,
                        "src": "2662:9:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_UpgradeImplScheme_$1858",
                          "typeString": "contract UpgradeImplScheme"
                        }
                      },
                      "id": 2028,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "callData",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1821,
                      "src": "2662:18:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes_memory_$",
                        "typeString": "function () view external returns (bytes memory)"
                      }
                    },
                    "id": 2029,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2662:20:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory",
                      "typeString": "bytes memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2638:44:5"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 2034,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 2031,
                        "name": "callData",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2026,
                        "src": "2696:8:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      "id": 2032,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "2696:15:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 2033,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2714:1:5",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2696:19:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 2053,
                    "nodeType": "Block",
                    "src": "2825:70:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 2049,
                              "name": "proxy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2008,
                              "src": "2870:5:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2050,
                              "name": "newImpl",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2020,
                              "src": "2876:7:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 2046,
                                  "name": "proxyAdmin",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 2014,
                                  "src": "2850:10:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 2045,
                                "name": "ProxyAdmin",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1813,
                                "src": "2839:10:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_ProxyAdmin_$1813_$",
                                  "typeString": "type(contract ProxyAdmin)"
                                }
                              },
                              "id": 2047,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2839:22:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ProxyAdmin_$1813",
                                "typeString": "contract ProxyAdmin"
                              }
                            },
                            "id": 2048,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "upgrade",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1803,
                            "src": "2839:30:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$",
                              "typeString": "function (address,address) external"
                            }
                          },
                          "id": 2051,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2839:45:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 2052,
                        "nodeType": "ExpressionStatement",
                        "src": "2839:45:5"
                      }
                    ]
                  },
                  "id": 2054,
                  "nodeType": "IfStatement",
                  "src": "2693:202:5",
                  "trueBody": {
                    "id": 2044,
                    "nodeType": "Block",
                    "src": "2725:86:5",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 2039,
                              "name": "proxy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2008,
                              "src": "2777:5:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2040,
                              "name": "newImpl",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2020,
                              "src": "2783:7:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 2041,
                              "name": "callData",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 2026,
                              "src": "2791:8:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_bytes_memory_ptr",
                                "typeString": "bytes memory"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 2036,
                                  "name": "proxyAdmin",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 2014,
                                  "src": "2750:10:5",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                ],
                                "id": 2035,
                                "name": "ProxyAdmin",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1813,
                                "src": "2739:10:5",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_ProxyAdmin_$1813_$",
                                  "typeString": "type(contract ProxyAdmin)"
                                }
                              },
                              "id": 2037,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2739:22:5",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ProxyAdmin_$1813",
                                "typeString": "contract ProxyAdmin"
                              }
                            },
                            "id": 2038,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "upgradeAndCall",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 1812,
                            "src": "2739:37:5",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_payable$_t_address_$_t_address_$_t_bytes_memory_ptr_$returns$__$",
                              "typeString": "function (address,address,bytes memory) payable external"
                            }
                          },
                          "id": 2042,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2739:61:5",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 2043,
                        "nodeType": "ExpressionStatement",
                        "src": "2739:61:5"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 2056,
                        "name": "proxy",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2008,
                        "src": "2923:5:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 2057,
                        "name": "newImpl",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2020,
                        "src": "2930:7:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 2058,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1980,
                        "src": "2940:11:5",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 2055,
                      "name": "UpgradedImpl",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1873,
                      "src": "2910:12:5",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bytes32_$returns$__$",
                        "typeString": "function (address,address,bytes32)"
                      }
                    },
                    "id": 2059,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2910:42:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 2060,
                  "nodeType": "EmitStatement",
                  "src": "2905:47:5"
                }
              ]
            },
            "documentation": null,
            "id": 2062,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "executeUpgrade",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1981,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1980,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 2062,
                  "src": "2230:19:5",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 1979,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2230:7:5",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2229:21:5"
            },
            "returnParameters": {
              "id": 1982,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2262:0:5"
            },
            "scope": 2063,
            "src": "2206:762:5",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 2064,
        "src": "861:2109:5"
      }
    ],
    "src": "0:2970:5"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.3",
  "updatedAt": "2022-10-27T11:34:11.098Z",
  "devdoc": {
    "methods": {
      "executeProposal(bytes32,int256)": {
        "details": "execution of proposals, can only be called by the voting machine in which the vote is held.",
        "params": {
          "_param": "a parameter of the voting result, 1 yes and 2 is no.",
          "_proposalId": "the ID of the voting in the voting machine"
        }
      },
      "proposeScheme(address,address,bytes32,bytes4,string)": {
        "details": "create a proposal to register a schemeNB: not only proposes the vote, but also votes for it",
        "params": {
          "_avatar": "the address of the organization the scheme will be registered for",
          "_descriptionHash": "proposal's description hash",
          "_parametersHash": "a hash of the configuration of the _scheme",
          "_permissions": "the permission of the scheme to be registered",
          "_scheme": "the address of the scheme to be registered"
        },
        "return": "a proposal Id"
      },
      "proposeToRemoveScheme(address,address,string)": {
        "details": "propose to remove a scheme for a controller",
        "params": {
          "_avatar": "the address of the controller from which we want to remove a scheme",
          "_descriptionHash": "proposal description hash NB: not only registers the proposal, but also votes for it",
          "_scheme": "the address of the scheme we want to remove"
        }
      },
      "setParameters(bytes32,bytes32,address)": {
        "details": "hash the parameters, save them if necessary, and return the hash value"
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}