{
  "contractName": "VotingMachineCallbacks",
  "abi": [
    {
      "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": "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": 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": "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": "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": true,
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getTotalReputationSupply",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "internalType": "address",
          "name": "_owner",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "reputationOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_stakingToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"mintReputation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"contract Avatar\",\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_stakingToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"stakingTokenTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":\"VotingMachineCallbacks\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzz-raw://9d3c1c7575cf6075ea1d89921f09b9b8e322b208dacaf0446cd4f64506c999f0\",\"dweb:/ipfs/QmVGDDHAR2ByuQpbgV7BBKXGEAcbaWvejpEZYzHgaagBFK\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzz-raw://ce1fcf85b744fcce2dbd4205e3943e9b4ec36a5f0330d4bbf61e65f1a3e0e470\",\"dweb:/ipfs/QmUWiLkBDdekhpy93nTzBtxDHL6yNh6sTUM9G8VbsHcBzy\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzz-raw://51d1d6e85fd90f45395a16b7a3c703c4636e836041f2a13f806e4222ef2e59c1\",\"dweb:/ipfs/QmQjeCeFf7TJzsYjT5scyZUDDixBA8Yy8YppgBuxcKPDnP\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzz-raw://19495cd88280e54d7ddcd043ffeff75e6d3777a0c42debcd61cae448e9497ea0\",\"dweb:/ipfs/QmYxWz7CgFmmddrcVXJKfob5Ktwykc2imNVUwLSR5WR8bJ\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzz-raw://5dba7734c4fed446c084a707761cbc66ba22b8b93ef53c8d4a22a76b6e271690\",\"dweb:/ipfs/QmP2VpPKUqLh4ZZs6LaxHVpCN1zCmiorygL9bMub4mbYCw\"]},\"@daostack/arc/contracts/universalSchemes/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzz-raw://d17df7fe23080da4da159c57a23793fed90dbc8129ab8d752365e6b5f07a9e2a\",\"dweb:/ipfs/QmUUNrcMqrxT3k1V4z9p9HJUnxPdNNgf5CB8NUHc5uMwBd\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzz-raw://1bd1812db855997c2c5f3df4a0a5ae568977ac05c2066999a08ce251dce05c07\",\"dweb:/ipfs/QmRbvtTZHUnSypBqaiAUZxUbK8sGzgVpyK3f6zCz9utVDz\"]},\"@daostack/arc/contracts/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": "0x608060405234801561001057600080fd5b50610a24806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063b551c3731161005b578063b551c37314610139578063bea75f2814610156578063d29b5d2f146101a6578063f81f8bf6146101d85761007d565b806360bdbb3f146100825780636b8eb403146100cf5780639588378e1461010d575b600080fd5b6100ae6004803603604081101561009857600080fd5b506001600160a01b03813516906020013561020a565b604080519283526001600160a01b0390911660208301528051918290030190f35b6100fb600480360360408110156100e557600080fd5b506001600160a01b038135169060200135610234565b60408051918252519081900360200190f35b6100fb6004803603604081101561012357600080fd5b506001600160a01b0381351690602001356102f4565b6100fb6004803603602081101561014f57600080fd5b5035610402565b6101926004803603608081101561016c57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561053c565b604080519115158252519081900360200190f35b610192600480360360608110156101bc57600080fd5b508035906001600160a01b0360208201351690604001356106de565b610192600480360360608110156101ee57600080fd5b508035906001600160a01b036020820135169060400135610877565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b336000908152602081815260408083208484529091528120600101546001600160a01b0316806102685760009150506102ee565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156102be57600080fd5b505afa1580156102d2573d6000803e3d6000fd5b505050506040513d60208110156102e857600080fd5b50519150505b92915050565b60006102fe6109d8565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b03169082018190526103455760009150506102ee565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561038257600080fd5b505afa158015610396573d6000803e3d6000fd5b505050506040513d60208110156103ac57600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b1580156102be57600080fd5b600061040c6109d8565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610453576000915050610537565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561049057600080fd5b505afa1580156104a4573d6000803e3d6000fd5b505050506040513d60208110156104ba57600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b15801561050757600080fd5b505afa15801561051b573d6000803e3d6000fd5b505050506040513d602081101561053157600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166105a9576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806105dd5760009250506106d5565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561061657600080fd5b505afa15801561062a573d6000803e3d6000fd5b505050506040513d602081101561064057600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b1580156106a557600080fd5b505af11580156106b9573d6000803e3d6000fd5b505050506040513d60208110156106cf57600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661074b576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061077f57600092505061086f565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d60208110156107e257600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561083f57600080fd5b505af1158015610853573d6000803e3d6000fd5b505050506040513d602081101561086957600080fd5b50519250505b509392505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166108e4576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061091857600092505061086f565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d602081101561097b57600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561083f57600080fd5b60408051808201909152600080825260208201529056fea265627a7a72315820127fdad6326df34702fef20efa2aae144c5fde9f6bba462047f4b15223f4b28164736f6c63430005100032",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c8063b551c3731161005b578063b551c37314610139578063bea75f2814610156578063d29b5d2f146101a6578063f81f8bf6146101d85761007d565b806360bdbb3f146100825780636b8eb403146100cf5780639588378e1461010d575b600080fd5b6100ae6004803603604081101561009857600080fd5b506001600160a01b03813516906020013561020a565b604080519283526001600160a01b0390911660208301528051918290030190f35b6100fb600480360360408110156100e557600080fd5b506001600160a01b038135169060200135610234565b60408051918252519081900360200190f35b6100fb6004803603604081101561012357600080fd5b506001600160a01b0381351690602001356102f4565b6100fb6004803603602081101561014f57600080fd5b5035610402565b6101926004803603608081101561016c57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561053c565b604080519115158252519081900360200190f35b610192600480360360608110156101bc57600080fd5b508035906001600160a01b0360208201351690604001356106de565b610192600480360360608110156101ee57600080fd5b508035906001600160a01b036020820135169060400135610877565b6000602081815292815260408082209093529081522080546001909101546001600160a01b031682565b336000908152602081815260408083208484529091528120600101546001600160a01b0316806102685760009150506102ee565b836001600160a01b03166370a08231826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156102be57600080fd5b505afa1580156102d2573d6000803e3d6000fd5b505050506040513d60208110156102e857600080fd5b50519150505b92915050565b60006102fe6109d8565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b03169082018190526103455760009150506102ee565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561038257600080fd5b505afa158015610396573d6000803e3d6000fd5b505050506040513d60208110156103ac57600080fd5b505181516040805163277166bf60e11b81526001600160a01b038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b1580156102be57600080fd5b600061040c6109d8565b5033600090815260208181526040808320858452825291829020825180840190935280548352600101546001600160a01b0316908201819052610453576000915050610537565b80602001516001600160a01b03166389ae1c906040518163ffffffff1660e01b815260040160206040518083038186803b15801561049057600080fd5b505afa1580156104a4573d6000803e3d6000fd5b505050506040513d60208110156104ba57600080fd5b5051815160408051630981b24d60e41b81526004810192909252516001600160a01b039092169163981b24d091602480820192602092909190829003018186803b15801561050757600080fd5b505afa15801561051b573d6000803e3d6000fd5b505050506040513d602081101561053157600080fd5b50519150505b919050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166105a9576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b0316806105dd5760009250506106d5565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561061657600080fd5b505afa15801561062a573d6000803e3d6000fd5b505050506040513d602081101561064057600080fd5b50516040805163b9a04cdd60e01b81526001600160a01b038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b1580156106a557600080fd5b505af11580156106b9573d6000803e3d6000fd5b505050506040513d60208110156106cf57600080fd5b50519250505b50949350505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b031661074b576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061077f57600092505061086f565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d60208110156107e257600080fd5b50516040805163757cca5960e11b8152600481018990526001600160a01b03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561083f57600080fd5b505af1158015610853573d6000803e3d6000fd5b505050506040513d602081101561086957600080fd5b50519250505b509392505050565b3360009081526020818152604080832084845290915281206001015482906001600160a01b03166108e4576040805162461bcd60e51b81526020600482015260126024820152716f6e6c7920566f74696e674d616368696e6560701b604482015290519081900360640190fd5b336000908152602081815260408083208684529091529020600101546001600160a01b03168061091857600092505061086f565b806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d602081101561097b57600080fd5b505160408051630dd29a4f60e31b8152600481018990526001600160a01b038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561083f57600080fd5b60408051808201909152600080825260208201529056fea265627a7a72315820127fdad6326df34702fef20efa2aae144c5fde9f6bba462047f4b15223f4b28164736f6c63430005100032",
  "sourceMap": "148:2892:61:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:2892:61;;;;;;;",
  "deployedSourceMap": "148:2892:61:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:2892:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;598:73;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:61;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;598:73:61;;;;;;;;;;;;;;;;2000:346;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:61;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2693:345;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:61;;;;;;;;:::i;2352:335::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:61;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:61;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;678:410;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:61;;;-1:-1:-1;;;;;678:410:61;;;;;;;;;;:::i;1094:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:61;;;-1:-1:-1;;;;;1094:410:61;;;;;;;;;;:::i;598:73::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:61;;:::o;2000:346::-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:61;;2186:97;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:61;;2331:6;2299:40;;;;;;;;;;;;;-1:-1:-1;;;;;2299:40:61;-1:-1:-1;;;;;2299:40:61;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:61;;-1:-1:-1;;2000:346:61;;;;;:::o;2693:345::-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:61;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:61;;;;;;;2872:67;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:61;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:61;3010:20;;2955:76;;;-1:-1:-1;;;2955:76:61;;-1:-1:-1;;;;;2955:76:61;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2352:335:61;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:61;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:61;;;;;;;2527:67;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:61;;:34;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:61;2659:20;;2610:70;;;-1:-1:-1;;;2610:70:61;;;;;;;;;;-1:-1:-1;;;;;2610:48:61;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:61;;-1:-1:-1;;2352:335:61;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:61;1810:19;1806:62;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:61;1884:103;;;-1:-1:-1;;;1884:103:61;;-1:-1:-1;;;;;1884:103:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:61;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:61;;-1:-1:-1;;529:1:61;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:61;917:19;913:62;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:61;991:90;;;-1:-1:-1;;;991:90:61;;;;;;;;-1:-1:-1;;;;;991:90:61;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:61;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:61;;-1:-1:-1;;529:1:61;678:410;;;;;;:::o;1094:::-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:61;421:98;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;-1:-1:-1;;;421:98:61;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:61;1333:19;1329:62;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:61;;:14;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:61;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:61;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:61;1407:90;;;-1:-1:-1;;;1407:90:61;;;;;;;;-1:-1:-1;;;;;1407:90:61;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:61;:90;;;5:2:-1;;;;30:1;27;20:12;148:2892:61;;;;;;;;;;-1:-1:-1;148:2892:61;;;;;;;;:::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"../universalSchemes/UniversalScheme.sol\";\nimport \"@daostack/infra/contracts/votingMachines/GenesisProtocol.sol\";\n\n\ncontract VotingMachineCallbacks is VotingMachineCallbacksInterface {\n\n    struct ProposalInfo {\n        uint256 blockNumber; // the proposal's block number\n        Avatar avatar; // the proposal's avatar\n    }\n\n    modifier onlyVotingMachine(bytes32 _proposalId) {\n        require(proposalsInfo[msg.sender][_proposalId].avatar != Avatar(address(0)), \"only VotingMachine\");\n        _;\n    }\n\n    // VotingMaching  ->  proposalId  ->  ProposalInfo\n    mapping(address => mapping(bytes32 => ProposalInfo)) public proposalsInfo;\n\n    function mintReputation(uint256 _amount, address _beneficiary, bytes32 _proposalId)\n    external\n    onlyVotingMachine(_proposalId)\n    returns(bool)\n    {\n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        if (avatar == Avatar(0)) {\n            return false;\n        }\n        return ControllerInterface(avatar.owner()).mintReputation(_amount, _beneficiary, address(avatar));\n    }\n\n    function burnReputation(uint256 _amount, address _beneficiary, bytes32 _proposalId)\n    external\n    onlyVotingMachine(_proposalId)\n    returns(bool)\n    {\n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        if (avatar == Avatar(0)) {\n            return false;\n        }\n        return ControllerInterface(avatar.owner()).burnReputation(_amount, _beneficiary, address(avatar));\n    }\n\n    function stakingTokenTransfer(\n        IERC20 _stakingToken,\n        address _beneficiary,\n        uint256 _amount,\n        bytes32 _proposalId)\n    external\n    onlyVotingMachine(_proposalId)\n    returns(bool)\n    {\n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        if (avatar == Avatar(0)) {\n            return false;\n        }\n        return ControllerInterface(avatar.owner()).externalTokenTransfer(_stakingToken, _beneficiary, _amount, avatar);\n    }\n\n    function balanceOfStakingToken(IERC20 _stakingToken, bytes32 _proposalId) external view returns(uint256) {\n        Avatar avatar = proposalsInfo[msg.sender][_proposalId].avatar;\n        if (proposalsInfo[msg.sender][_proposalId].avatar == Avatar(0)) {\n            return 0;\n        }\n        return _stakingToken.balanceOf(address(avatar));\n    }\n\n    function getTotalReputationSupply(bytes32 _proposalId) external view returns(uint256) {\n        ProposalInfo memory proposal = proposalsInfo[msg.sender][_proposalId];\n        if (proposal.avatar == Avatar(0)) {\n            return 0;\n        }\n        return proposal.avatar.nativeReputation().totalSupplyAt(proposal.blockNumber);\n    }\n\n    function reputationOf(address _owner, bytes32 _proposalId) external view returns(uint256) {\n        ProposalInfo memory proposal = proposalsInfo[msg.sender][_proposalId];\n        if (proposal.avatar == Avatar(0)) {\n            return 0;\n        }\n        return proposal.avatar.nativeReputation().balanceOfAt(_owner, proposal.blockNumber);\n    }\n}\n",
  "sourcePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
    "exportedSymbols": {
      "VotingMachineCallbacks": [
        15991
      ]
    },
    "id": 15992,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15693,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:61"
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "../universalSchemes/UniversalScheme.sol",
        "id": 15694,
        "nodeType": "ImportDirective",
        "scope": 15992,
        "sourceUnit": 15224,
        "src": "25:49:61",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "file": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "id": 15695,
        "nodeType": "ImportDirective",
        "scope": 15992,
        "sourceUnit": 17868,
        "src": "75:70:61",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15696,
              "name": "VotingMachineCallbacksInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 20647,
              "src": "183:31:61",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacksInterface_$20647",
                "typeString": "contract VotingMachineCallbacksInterface"
              }
            },
            "id": 15697,
            "nodeType": "InheritanceSpecifier",
            "src": "183:31:61"
          }
        ],
        "contractDependencies": [
          20647
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 15991,
        "linearizedBaseContracts": [
          15991,
          20647
        ],
        "name": "VotingMachineCallbacks",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "VotingMachineCallbacks.ProposalInfo",
            "id": 15702,
            "members": [
              {
                "constant": false,
                "id": 15699,
                "name": "blockNumber",
                "nodeType": "VariableDeclaration",
                "scope": 15702,
                "src": "252:19:61",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 15698,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "252:7:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15701,
                "name": "avatar",
                "nodeType": "VariableDeclaration",
                "scope": 15702,
                "src": "312:13:61",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_Avatar_$12705",
                  "typeString": "contract Avatar"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 15700,
                  "name": "Avatar",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12705,
                  "src": "312:6:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ProposalInfo",
            "nodeType": "StructDefinition",
            "scope": 15991,
            "src": "222:135:61",
            "visibility": "public"
          },
          {
            "body": {
              "id": 15724,
              "nodeType": "Block",
              "src": "411:126:61",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        },
                        "id": 15719,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 15707,
                                "name": "proposalsInfo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15731,
                                "src": "429:13:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                                }
                              },
                              "id": 15710,
                              "indexExpression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 15708,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22171,
                                  "src": "443:3:61",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 15709,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": null,
                                "src": "443:10:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "429:25:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                                "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                              }
                            },
                            "id": 15712,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 15711,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15704,
                              "src": "455:11:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "429:38:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                              "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                            }
                          },
                          "id": 15713,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "avatar",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15701,
                          "src": "429:45:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 15716,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "493:1:61",
                                  "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": 15715,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "485:7:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 15717,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "485:10:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            ],
                            "id": 15714,
                            "name": "Avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 12705,
                            "src": "478:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                              "typeString": "type(contract Avatar)"
                            }
                          },
                          "id": 15718,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "478:18:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        },
                        "src": "429:67:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6f6e6c7920566f74696e674d616368696e65",
                        "id": 15720,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "498:20:61",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_d09f602d792b11aff19268ca8644e6115c2e269c3f2202bcaa79f7e4908e11bb",
                          "typeString": "literal_string \"only VotingMachine\""
                        },
                        "value": "only VotingMachine"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_d09f602d792b11aff19268ca8644e6115c2e269c3f2202bcaa79f7e4908e11bb",
                          "typeString": "literal_string \"only VotingMachine\""
                        }
                      ],
                      "id": 15706,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22175,
                      "src": "421:7:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 15721,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "421:98:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15722,
                  "nodeType": "ExpressionStatement",
                  "src": "421:98:61"
                },
                {
                  "id": 15723,
                  "nodeType": "PlaceholderStatement",
                  "src": "529:1:61"
                }
              ]
            },
            "documentation": null,
            "id": 15725,
            "name": "onlyVotingMachine",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 15705,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15704,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15725,
                  "src": "390:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15703,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "390:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "389:21:61"
            },
            "src": "363:174:61",
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 15731,
            "name": "proposalsInfo",
            "nodeType": "VariableDeclaration",
            "scope": 15991,
            "src": "598:73:61",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
            },
            "typeName": {
              "id": 15730,
              "keyType": {
                "id": 15726,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "606:7:61",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "598:52:61",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
              },
              "valueType": {
                "id": 15729,
                "keyType": {
                  "id": 15727,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "625:7:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "617:32:61",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                  "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 15728,
                  "name": "ProposalInfo",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15702,
                  "src": "636:12:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                    "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15777,
              "nodeType": "Block",
              "src": "832:256:61",
              "statements": [
                {
                  "assignments": [
                    15746
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15746,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15777,
                      "src": "842:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15745,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "842:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15754,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15747,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "858:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15750,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15748,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "872:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15749,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "872:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "858:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15752,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15751,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15737,
                        "src": "884:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "858:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15753,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "858:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "842:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15759,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15755,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15746,
                      "src": "917:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15757,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "934:1:61",
                          "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": 15756,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "927:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15758,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "927:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "917:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15763,
                  "nodeType": "IfStatement",
                  "src": "913:62:61",
                  "trueBody": {
                    "id": 15762,
                    "nodeType": "Block",
                    "src": "938:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15760,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "959:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15744,
                        "id": 15761,
                        "nodeType": "Return",
                        "src": "952:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15770,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15733,
                        "src": "1042:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15771,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15735,
                        "src": "1051:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15773,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15746,
                            "src": "1073:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15772,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1065:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15774,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1065:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15765,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15746,
                                "src": "1011:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15766,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1011:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15767,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1011:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15764,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "991:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15768,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "991:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15769,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mintReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14176,
                      "src": "991:50:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 15775,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "991:90:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15744,
                  "id": 15776,
                  "nodeType": "Return",
                  "src": "984:97:61"
                }
              ]
            },
            "documentation": null,
            "id": 15778,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15740,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15737,
                    "src": "797:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15741,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15739,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "779:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "779:30:61"
              }
            ],
            "name": "mintReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15738,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15733,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "702:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15732,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "702:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15735,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "719:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15734,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "719:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15737,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "741:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15736,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "701:60:61"
            },
            "returnParameters": {
              "id": 15744,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15743,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "822:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15742,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "822:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "821:6:61"
            },
            "scope": 15991,
            "src": "678:410:61",
            "stateMutability": "nonpayable",
            "superFunction": 20597,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15824,
              "nodeType": "Block",
              "src": "1248:256:61",
              "statements": [
                {
                  "assignments": [
                    15793
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15793,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15824,
                      "src": "1258:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15792,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "1258:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15801,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15794,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "1274:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15797,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15795,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "1288:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15796,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1288:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1274:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15799,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15798,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15784,
                        "src": "1300:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1274:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15800,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "1274:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1258:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15806,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15802,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15793,
                      "src": "1333:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15804,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1350:1:61",
                          "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": 15803,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "1343:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15805,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1343:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1333:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15810,
                  "nodeType": "IfStatement",
                  "src": "1329:62:61",
                  "trueBody": {
                    "id": 15809,
                    "nodeType": "Block",
                    "src": "1354:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15807,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1375:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15791,
                        "id": 15808,
                        "nodeType": "Return",
                        "src": "1368:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15817,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15780,
                        "src": "1458:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15818,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15782,
                        "src": "1467:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15820,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15793,
                            "src": "1489:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15819,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1481:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15821,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1481:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15812,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15793,
                                "src": "1427:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15813,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1427:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15814,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1427:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15811,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "1407:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15815,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1407:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15816,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "burnReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14187,
                      "src": "1407:50:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 15822,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1407:90:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15791,
                  "id": 15823,
                  "nodeType": "Return",
                  "src": "1400:97:61"
                }
              ]
            },
            "documentation": null,
            "id": 15825,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15787,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15784,
                    "src": "1213:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15788,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15786,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "1195:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1195:30:61"
              }
            ],
            "name": "burnReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15785,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15780,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1118:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15779,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15782,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1135:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15781,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1135:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15784,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1157:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15783,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1157:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:60:61"
            },
            "returnParameters": {
              "id": 15791,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15790,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1238:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15789,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1238:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1237:6:61"
            },
            "scope": 15991,
            "src": "1094:410:61",
            "stateMutability": "nonpayable",
            "superFunction": 20608,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15872,
              "nodeType": "Block",
              "src": "1725:269:61",
              "statements": [
                {
                  "assignments": [
                    15842
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15842,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15872,
                      "src": "1735:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15841,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "1735:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15850,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15843,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "1751:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15846,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15844,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "1765:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15845,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1765:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1751:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15848,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15847,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15833,
                        "src": "1777:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1751:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15849,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "1751:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1735:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15855,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15851,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15842,
                      "src": "1810:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15853,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1827:1:61",
                          "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": 15852,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "1820:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15854,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1820:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1810:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15859,
                  "nodeType": "IfStatement",
                  "src": "1806:62:61",
                  "trueBody": {
                    "id": 15858,
                    "nodeType": "Block",
                    "src": "1831:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15856,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1852:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15840,
                        "id": 15857,
                        "nodeType": "Return",
                        "src": "1845:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15866,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15827,
                        "src": "1942:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15867,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15829,
                        "src": "1957:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15868,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15831,
                        "src": "1971:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15869,
                        "name": "avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15842,
                        "src": "1980:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15861,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15842,
                                "src": "1904:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15862,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1904:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15863,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1904:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15860,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "1884:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15864,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1884:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15865,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14295,
                      "src": "1884:57:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$22137_$_t_address_$_t_uint256_$_t_contract$_Avatar_$12705_$returns$_t_bool_$",
                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                      }
                    },
                    "id": 15870,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1884:103:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15840,
                  "id": 15871,
                  "nodeType": "Return",
                  "src": "1877:110:61"
                }
              ]
            },
            "documentation": null,
            "id": 15873,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15836,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15833,
                    "src": "1690:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15837,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15835,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "1672:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1672:30:61"
              }
            ],
            "name": "stakingTokenTransfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15834,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15827,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1549:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$22137",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15826,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 22137,
                    "src": "1549:6:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$22137",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15829,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1579:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15828,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1579:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15831,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1609:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15830,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1609:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15833,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1634:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15832,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1634:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1539:115:61"
            },
            "returnParameters": {
              "id": 15840,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15839,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1715:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15838,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1715:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1714:6:61"
            },
            "scope": 15991,
            "src": "1510:484:61",
            "stateMutability": "nonpayable",
            "superFunction": 20621,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15914,
              "nodeType": "Block",
              "src": "2105:241:61",
              "statements": [
                {
                  "assignments": [
                    15883
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15883,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15914,
                      "src": "2115:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15882,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "2115:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15891,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15884,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "2131:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15887,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15885,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "2145:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15886,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2145:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15889,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15888,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15877,
                        "src": "2157:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2131:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15890,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "2131:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2115:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15902,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 15892,
                            "name": "proposalsInfo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15731,
                            "src": "2190:13:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                            }
                          },
                          "id": 15895,
                          "indexExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15893,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22171,
                              "src": "2204:3:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 15894,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "2204:10:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2190:25:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                            "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                          }
                        },
                        "id": 15897,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15896,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15877,
                          "src": "2216:11:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2190:38:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                        }
                      },
                      "id": 15898,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2190:45:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15900,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2246:1:61",
                          "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": 15899,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2239:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15901,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2239:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2190:58:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15906,
                  "nodeType": "IfStatement",
                  "src": "2186:97:61",
                  "trueBody": {
                    "id": 15905,
                    "nodeType": "Block",
                    "src": "2250:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15903,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2271:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15881,
                        "id": 15904,
                        "nodeType": "Return",
                        "src": "2264:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15910,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15883,
                            "src": "2331:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15909,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2323:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15911,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2323:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 15907,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15875,
                        "src": "2299:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        }
                      },
                      "id": 15908,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 22111,
                      "src": "2299:23:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                        "typeString": "function (address) view external returns (uint256)"
                      }
                    },
                    "id": 15912,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2299:40:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15881,
                  "id": 15913,
                  "nodeType": "Return",
                  "src": "2292:47:61"
                }
              ]
            },
            "documentation": null,
            "id": 15915,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "balanceOfStakingToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15875,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2031:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$22137",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15874,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 22137,
                    "src": "2031:6:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$22137",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15877,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2053:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15876,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2053:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2030:43:61"
            },
            "returnParameters": {
              "id": 15881,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15880,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2096:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15879,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2096:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2095:9:61"
            },
            "scope": 15991,
            "src": "2000:346:61",
            "stateMutability": "view",
            "superFunction": 20646,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15950,
              "nodeType": "Block",
              "src": "2438:249:61",
              "statements": [
                {
                  "assignments": [
                    15923
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15923,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15950,
                      "src": "2448:28:61",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15922,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15702,
                        "src": "2448:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15930,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15924,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15731,
                        "src": "2479:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 15927,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15925,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "2493:3:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15926,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2493:10:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2479:25:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 15929,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15928,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15917,
                      "src": "2505:11:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2479:38:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2448:69:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15936,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 15931,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15923,
                        "src": "2531:8:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 15932,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2531:15:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15934,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2557:1:61",
                          "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": 15933,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2550:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2550:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2531:28:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15940,
                  "nodeType": "IfStatement",
                  "src": "2527:67:61",
                  "trueBody": {
                    "id": 15939,
                    "nodeType": "Block",
                    "src": "2561:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15937,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2582:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15921,
                        "id": 15938,
                        "nodeType": "Return",
                        "src": "2575:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15946,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15923,
                          "src": "2659:8:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 15947,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15699,
                        "src": "2659:20:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15941,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15923,
                              "src": "2610:8:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 15942,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15701,
                            "src": "2610:15:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 15943,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 12443,
                          "src": "2610:32:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$16423_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 15944,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2610:34:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$16423",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 15945,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "totalSupplyAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16123,
                      "src": "2610:48:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view external returns (uint256)"
                      }
                    },
                    "id": 15948,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2610:70:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15921,
                  "id": 15949,
                  "nodeType": "Return",
                  "src": "2603:77:61"
                }
              ]
            },
            "documentation": null,
            "id": 15951,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalReputationSupply",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15918,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15917,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15951,
                  "src": "2386:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15916,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2386:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2385:21:61"
            },
            "returnParameters": {
              "id": 15921,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15920,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15951,
                  "src": "2429:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15919,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2429:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2428:9:61"
            },
            "scope": 15991,
            "src": "2352:335:61",
            "stateMutability": "view",
            "superFunction": 20628,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15989,
              "nodeType": "Block",
              "src": "2783:255:61",
              "statements": [
                {
                  "assignments": [
                    15961
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15961,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15989,
                      "src": "2793:28:61",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15960,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15702,
                        "src": "2793:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15968,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15962,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15731,
                        "src": "2824:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 15965,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15963,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "2838:3:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15964,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2838:10:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2824:25:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 15967,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15966,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15955,
                      "src": "2850:11:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2824:38:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2793:69:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15974,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 15969,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15961,
                        "src": "2876:8:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 15970,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2876:15:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15972,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2902:1:61",
                          "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": 15971,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2895:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15973,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2895:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2876:28:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15978,
                  "nodeType": "IfStatement",
                  "src": "2872:67:61",
                  "trueBody": {
                    "id": 15977,
                    "nodeType": "Block",
                    "src": "2906:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15975,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2927:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15959,
                        "id": 15976,
                        "nodeType": "Return",
                        "src": "2920:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15984,
                        "name": "_owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15953,
                        "src": "3002:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15985,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15961,
                          "src": "3010:8:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 15986,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15699,
                        "src": "3010:20:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15979,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15961,
                              "src": "2955:8:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 15980,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15701,
                            "src": "2955:15:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 15981,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 12443,
                          "src": "2955:32:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$16423_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 15982,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2955:34:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$16423",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 15983,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOfAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16092,
                      "src": "2955:46:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (address,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 15987,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2955:76:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15959,
                  "id": 15988,
                  "nodeType": "Return",
                  "src": "2948:83:61"
                }
              ]
            },
            "documentation": null,
            "id": 15990,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "reputationOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15956,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15953,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2715:14:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15952,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2715:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15955,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2731:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15954,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2731:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2714:37:61"
            },
            "returnParameters": {
              "id": 15959,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15958,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2774:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15957,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2774:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2773:9:61"
            },
            "scope": 15991,
            "src": "2693:345:61",
            "stateMutability": "view",
            "superFunction": 20637,
            "visibility": "external"
          }
        ],
        "scope": 15992,
        "src": "148:2892:61"
      }
    ],
    "src": "0:3041:61"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
    "exportedSymbols": {
      "VotingMachineCallbacks": [
        15991
      ]
    },
    "id": 15992,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15693,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:61"
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "../universalSchemes/UniversalScheme.sol",
        "id": 15694,
        "nodeType": "ImportDirective",
        "scope": 15992,
        "sourceUnit": 15224,
        "src": "25:49:61",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "file": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "id": 15695,
        "nodeType": "ImportDirective",
        "scope": 15992,
        "sourceUnit": 17868,
        "src": "75:70:61",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 15696,
              "name": "VotingMachineCallbacksInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 20647,
              "src": "183:31:61",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacksInterface_$20647",
                "typeString": "contract VotingMachineCallbacksInterface"
              }
            },
            "id": 15697,
            "nodeType": "InheritanceSpecifier",
            "src": "183:31:61"
          }
        ],
        "contractDependencies": [
          20647
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 15991,
        "linearizedBaseContracts": [
          15991,
          20647
        ],
        "name": "VotingMachineCallbacks",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "VotingMachineCallbacks.ProposalInfo",
            "id": 15702,
            "members": [
              {
                "constant": false,
                "id": 15699,
                "name": "blockNumber",
                "nodeType": "VariableDeclaration",
                "scope": 15702,
                "src": "252:19:61",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 15698,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "252:7:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 15701,
                "name": "avatar",
                "nodeType": "VariableDeclaration",
                "scope": 15702,
                "src": "312:13:61",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_Avatar_$12705",
                  "typeString": "contract Avatar"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 15700,
                  "name": "Avatar",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12705,
                  "src": "312:6:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$12705",
                    "typeString": "contract Avatar"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ProposalInfo",
            "nodeType": "StructDefinition",
            "scope": 15991,
            "src": "222:135:61",
            "visibility": "public"
          },
          {
            "body": {
              "id": 15724,
              "nodeType": "Block",
              "src": "411:126:61",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        },
                        "id": 15719,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 15707,
                                "name": "proposalsInfo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15731,
                                "src": "429:13:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                                }
                              },
                              "id": 15710,
                              "indexExpression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 15708,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 22171,
                                  "src": "443:3:61",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 15709,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": null,
                                "src": "443:10:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "429:25:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                                "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                              }
                            },
                            "id": 15712,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 15711,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15704,
                              "src": "455:11:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "429:38:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                              "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                            }
                          },
                          "id": 15713,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "avatar",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 15701,
                          "src": "429:45:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 15716,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "493:1:61",
                                  "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": 15715,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "485:7:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 15717,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "485:10:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            ],
                            "id": 15714,
                            "name": "Avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 12705,
                            "src": "478:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                              "typeString": "type(contract Avatar)"
                            }
                          },
                          "id": 15718,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "478:18:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$12705",
                            "typeString": "contract Avatar"
                          }
                        },
                        "src": "429:67:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6f6e6c7920566f74696e674d616368696e65",
                        "id": 15720,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "498:20:61",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_d09f602d792b11aff19268ca8644e6115c2e269c3f2202bcaa79f7e4908e11bb",
                          "typeString": "literal_string \"only VotingMachine\""
                        },
                        "value": "only VotingMachine"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_d09f602d792b11aff19268ca8644e6115c2e269c3f2202bcaa79f7e4908e11bb",
                          "typeString": "literal_string \"only VotingMachine\""
                        }
                      ],
                      "id": 15706,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        22174,
                        22175
                      ],
                      "referencedDeclaration": 22175,
                      "src": "421:7:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 15721,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "421:98:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 15722,
                  "nodeType": "ExpressionStatement",
                  "src": "421:98:61"
                },
                {
                  "id": 15723,
                  "nodeType": "PlaceholderStatement",
                  "src": "529:1:61"
                }
              ]
            },
            "documentation": null,
            "id": 15725,
            "name": "onlyVotingMachine",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 15705,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15704,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15725,
                  "src": "390:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15703,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "390:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "389:21:61"
            },
            "src": "363:174:61",
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 15731,
            "name": "proposalsInfo",
            "nodeType": "VariableDeclaration",
            "scope": 15991,
            "src": "598:73:61",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
            },
            "typeName": {
              "id": 15730,
              "keyType": {
                "id": 15726,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "606:7:61",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "598:52:61",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
              },
              "valueType": {
                "id": 15729,
                "keyType": {
                  "id": 15727,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "625:7:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "617:32:61",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                  "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 15728,
                  "name": "ProposalInfo",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 15702,
                  "src": "636:12:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                    "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 15777,
              "nodeType": "Block",
              "src": "832:256:61",
              "statements": [
                {
                  "assignments": [
                    15746
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15746,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15777,
                      "src": "842:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15745,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "842:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15754,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15747,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "858:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15750,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15748,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "872:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15749,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "872:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "858:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15752,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15751,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15737,
                        "src": "884:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "858:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15753,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "858:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "842:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15759,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15755,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15746,
                      "src": "917:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15757,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "934:1:61",
                          "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": 15756,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "927:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15758,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "927:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "917:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15763,
                  "nodeType": "IfStatement",
                  "src": "913:62:61",
                  "trueBody": {
                    "id": 15762,
                    "nodeType": "Block",
                    "src": "938:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15760,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "959:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15744,
                        "id": 15761,
                        "nodeType": "Return",
                        "src": "952:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15770,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15733,
                        "src": "1042:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15771,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15735,
                        "src": "1051:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15773,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15746,
                            "src": "1073:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15772,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1065:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15774,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1065:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15765,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15746,
                                "src": "1011:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15766,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1011:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15767,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1011:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15764,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "991:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15768,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "991:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15769,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mintReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14176,
                      "src": "991:50:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 15775,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "991:90:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15744,
                  "id": 15776,
                  "nodeType": "Return",
                  "src": "984:97:61"
                }
              ]
            },
            "documentation": null,
            "id": 15778,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15740,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15737,
                    "src": "797:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15741,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15739,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "779:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "779:30:61"
              }
            ],
            "name": "mintReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15738,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15733,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "702:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15732,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "702:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15735,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "719:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15734,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "719:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15737,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "741:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15736,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "701:60:61"
            },
            "returnParameters": {
              "id": 15744,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15743,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15778,
                  "src": "822:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15742,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "822:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "821:6:61"
            },
            "scope": 15991,
            "src": "678:410:61",
            "stateMutability": "nonpayable",
            "superFunction": 20597,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15824,
              "nodeType": "Block",
              "src": "1248:256:61",
              "statements": [
                {
                  "assignments": [
                    15793
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15793,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15824,
                      "src": "1258:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15792,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "1258:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15801,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15794,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "1274:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15797,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15795,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "1288:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15796,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1288:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1274:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15799,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15798,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15784,
                        "src": "1300:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1274:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15800,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "1274:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1258:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15806,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15802,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15793,
                      "src": "1333:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15804,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1350:1:61",
                          "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": 15803,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "1343:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15805,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1343:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1333:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15810,
                  "nodeType": "IfStatement",
                  "src": "1329:62:61",
                  "trueBody": {
                    "id": 15809,
                    "nodeType": "Block",
                    "src": "1354:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15807,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1375:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15791,
                        "id": 15808,
                        "nodeType": "Return",
                        "src": "1368:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15817,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15780,
                        "src": "1458:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15818,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15782,
                        "src": "1467:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15820,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15793,
                            "src": "1489:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15819,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1481:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15821,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1481:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15812,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15793,
                                "src": "1427:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15813,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1427:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15814,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1427:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15811,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "1407:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15815,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1407:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15816,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "burnReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14187,
                      "src": "1407:50:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 15822,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1407:90:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15791,
                  "id": 15823,
                  "nodeType": "Return",
                  "src": "1400:97:61"
                }
              ]
            },
            "documentation": null,
            "id": 15825,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15787,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15784,
                    "src": "1213:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15788,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15786,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "1195:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1195:30:61"
              }
            ],
            "name": "burnReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15785,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15780,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1118:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15779,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15782,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1135:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15781,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1135:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15784,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1157:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15783,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1157:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:60:61"
            },
            "returnParameters": {
              "id": 15791,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15790,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15825,
                  "src": "1238:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15789,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1238:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1237:6:61"
            },
            "scope": 15991,
            "src": "1094:410:61",
            "stateMutability": "nonpayable",
            "superFunction": 20608,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15872,
              "nodeType": "Block",
              "src": "1725:269:61",
              "statements": [
                {
                  "assignments": [
                    15842
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15842,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15872,
                      "src": "1735:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15841,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "1735:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15850,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15843,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "1751:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15846,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15844,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "1765:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15845,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1765:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1751:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15848,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15847,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15833,
                        "src": "1777:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1751:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15849,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "1751:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1735:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15855,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 15851,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15842,
                      "src": "1810:6:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15853,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1827:1:61",
                          "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": 15852,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "1820:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15854,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1820:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1810:19:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15859,
                  "nodeType": "IfStatement",
                  "src": "1806:62:61",
                  "trueBody": {
                    "id": 15858,
                    "nodeType": "Block",
                    "src": "1831:37:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 15856,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1852:5:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 15840,
                        "id": 15857,
                        "nodeType": "Return",
                        "src": "1845:12:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15866,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15827,
                        "src": "1942:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15867,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15829,
                        "src": "1957:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15868,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15831,
                        "src": "1971:7:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 15869,
                        "name": "avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15842,
                        "src": "1980:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 15861,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 15842,
                                "src": "1904:6:61",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$12705",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 15862,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 21342,
                              "src": "1904:12:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 15863,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1904:14:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 15860,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 14394,
                          "src": "1884:19:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$14394_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 15864,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1884:35:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$14394",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 15865,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 14295,
                      "src": "1884:57:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$22137_$_t_address_$_t_uint256_$_t_contract$_Avatar_$12705_$returns$_t_bool_$",
                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                      }
                    },
                    "id": 15870,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1884:103:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15840,
                  "id": 15871,
                  "nodeType": "Return",
                  "src": "1877:110:61"
                }
              ]
            },
            "documentation": null,
            "id": 15873,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 15836,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 15833,
                    "src": "1690:11:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 15837,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 15835,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 15725,
                  "src": "1672:17:61",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1672:30:61"
              }
            ],
            "name": "stakingTokenTransfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15834,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15827,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1549:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$22137",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15826,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 22137,
                    "src": "1549:6:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$22137",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15829,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1579:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15828,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1579:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15831,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1609:15:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15830,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1609:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15833,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1634:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15832,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1634:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1539:115:61"
            },
            "returnParameters": {
              "id": 15840,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15839,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15873,
                  "src": "1715:4:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15838,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1715:4:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1714:6:61"
            },
            "scope": 15991,
            "src": "1510:484:61",
            "stateMutability": "nonpayable",
            "superFunction": 20621,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15914,
              "nodeType": "Block",
              "src": "2105:241:61",
              "statements": [
                {
                  "assignments": [
                    15883
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15883,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 15914,
                      "src": "2115:13:61",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15882,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 12705,
                        "src": "2115:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$12705",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15891,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 15884,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15731,
                          "src": "2131:13:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 15887,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 15885,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22171,
                            "src": "2145:3:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 15886,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2145:10:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:25:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 15889,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 15888,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15877,
                        "src": "2157:11:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2131:38:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 15890,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 15701,
                    "src": "2131:45:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2115:61:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15902,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 15892,
                            "name": "proposalsInfo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15731,
                            "src": "2190:13:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                            }
                          },
                          "id": 15895,
                          "indexExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15893,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 22171,
                              "src": "2204:3:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 15894,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "2204:10:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2190:25:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                            "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                          }
                        },
                        "id": 15897,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 15896,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15877,
                          "src": "2216:11:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2190:38:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                        }
                      },
                      "id": 15898,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2190:45:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15900,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2246:1:61",
                          "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": 15899,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2239:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15901,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2239:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2190:58:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15906,
                  "nodeType": "IfStatement",
                  "src": "2186:97:61",
                  "trueBody": {
                    "id": 15905,
                    "nodeType": "Block",
                    "src": "2250:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15903,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2271:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15881,
                        "id": 15904,
                        "nodeType": "Return",
                        "src": "2264:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 15910,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15883,
                            "src": "2331:6:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 15909,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2323:7:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 15911,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2323:15:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 15907,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15875,
                        "src": "2299:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$22137",
                          "typeString": "contract IERC20"
                        }
                      },
                      "id": 15908,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 22111,
                      "src": "2299:23:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                        "typeString": "function (address) view external returns (uint256)"
                      }
                    },
                    "id": 15912,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2299:40:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15881,
                  "id": 15913,
                  "nodeType": "Return",
                  "src": "2292:47:61"
                }
              ]
            },
            "documentation": null,
            "id": 15915,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "balanceOfStakingToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15875,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2031:20:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$22137",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 15874,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 22137,
                    "src": "2031:6:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$22137",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15877,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2053:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15876,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2053:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2030:43:61"
            },
            "returnParameters": {
              "id": 15881,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15880,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15915,
                  "src": "2096:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15879,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2096:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2095:9:61"
            },
            "scope": 15991,
            "src": "2000:346:61",
            "stateMutability": "view",
            "superFunction": 20646,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15950,
              "nodeType": "Block",
              "src": "2438:249:61",
              "statements": [
                {
                  "assignments": [
                    15923
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15923,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15950,
                      "src": "2448:28:61",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15922,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15702,
                        "src": "2448:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15930,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15924,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15731,
                        "src": "2479:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 15927,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15925,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "2493:3:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15926,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2493:10:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2479:25:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 15929,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15928,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15917,
                      "src": "2505:11:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2479:38:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2448:69:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15936,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 15931,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15923,
                        "src": "2531:8:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 15932,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2531:15:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15934,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2557:1:61",
                          "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": 15933,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2550:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2550:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2531:28:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15940,
                  "nodeType": "IfStatement",
                  "src": "2527:67:61",
                  "trueBody": {
                    "id": 15939,
                    "nodeType": "Block",
                    "src": "2561:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15937,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2582:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15921,
                        "id": 15938,
                        "nodeType": "Return",
                        "src": "2575:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15946,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15923,
                          "src": "2659:8:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 15947,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15699,
                        "src": "2659:20:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15941,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15923,
                              "src": "2610:8:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 15942,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15701,
                            "src": "2610:15:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 15943,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 12443,
                          "src": "2610:32:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$16423_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 15944,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2610:34:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$16423",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 15945,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "totalSupplyAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16123,
                      "src": "2610:48:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view external returns (uint256)"
                      }
                    },
                    "id": 15948,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2610:70:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15921,
                  "id": 15949,
                  "nodeType": "Return",
                  "src": "2603:77:61"
                }
              ]
            },
            "documentation": null,
            "id": 15951,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalReputationSupply",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15918,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15917,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15951,
                  "src": "2386:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15916,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2386:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2385:21:61"
            },
            "returnParameters": {
              "id": 15921,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15920,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15951,
                  "src": "2429:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15919,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2429:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2428:9:61"
            },
            "scope": 15991,
            "src": "2352:335:61",
            "stateMutability": "view",
            "superFunction": 20628,
            "visibility": "external"
          },
          {
            "body": {
              "id": 15989,
              "nodeType": "Block",
              "src": "2783:255:61",
              "statements": [
                {
                  "assignments": [
                    15961
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 15961,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 15989,
                      "src": "2793:28:61",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 15960,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 15702,
                        "src": "2793:12:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 15968,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 15962,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15731,
                        "src": "2824:13:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 15965,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15963,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22171,
                          "src": "2838:3:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 15964,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2838:10:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2824:25:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$15702_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 15967,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 15966,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15955,
                      "src": "2850:11:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2824:38:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$15702_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2793:69:61"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$12705",
                      "typeString": "contract Avatar"
                    },
                    "id": 15974,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 15969,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15961,
                        "src": "2876:8:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 15970,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15701,
                      "src": "2876:15:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15972,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2902:1:61",
                          "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": 15971,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 12705,
                        "src": "2895:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$12705_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 15973,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2895:9:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$12705",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2876:28:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 15978,
                  "nodeType": "IfStatement",
                  "src": "2872:67:61",
                  "trueBody": {
                    "id": 15977,
                    "nodeType": "Block",
                    "src": "2906:33:61",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 15975,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2927:1:61",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 15959,
                        "id": 15976,
                        "nodeType": "Return",
                        "src": "2920:8:61"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 15984,
                        "name": "_owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15953,
                        "src": "3002:6:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 15985,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15961,
                          "src": "3010:8:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 15986,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15699,
                        "src": "3010:20:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 15979,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 15961,
                              "src": "2955:8:61",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$15702_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 15980,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 15701,
                            "src": "2955:15:61",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$12705",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 15981,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 12443,
                          "src": "2955:32:61",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$16423_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 15982,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2955:34:61",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$16423",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 15983,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOfAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16092,
                      "src": "2955:46:61",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (address,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 15987,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2955:76:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 15959,
                  "id": 15988,
                  "nodeType": "Return",
                  "src": "2948:83:61"
                }
              ]
            },
            "documentation": null,
            "id": 15990,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "reputationOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 15956,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15953,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2715:14:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 15952,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2715:7:61",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 15955,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2731:19:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 15954,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2731:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2714:37:61"
            },
            "returnParameters": {
              "id": 15959,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15958,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 15990,
                  "src": "2774:7:61",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 15957,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2774:7:61",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2773:9:61"
            },
            "scope": 15991,
            "src": "2693:345:61",
            "stateMutability": "view",
            "superFunction": 20637,
            "visibility": "external"
          }
        ],
        "scope": 15992,
        "src": "148:2892:61"
      }
    ],
    "src": "0:3041:61"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.2",
  "updatedAt": "2021-08-23T07:33:52.543Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}