{
  "contractName": "VotingMachineCallbacks",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "proposalsInfo",
      "outputs": [
        {
          "name": "blockNumber",
          "type": "uint256"
        },
        {
          "name": "avatar",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "mintReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "burnReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "stakingTokenTransfer",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "balanceOfStakingToken",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getTotalReputationSupply",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "reputationOf",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"stakingTokenTransfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"mintReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":\"VotingMachineCallbacks\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzzr://b0af60e651a75274a028dc4b53d06091a46ca0efa3bfb4153879e76cf86a49dc\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzzr://e8050774c20b9b22636b47cdd353eaf5df72e0bca8f2b8569365be30f4eaef0c\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzzr://7ba306fdbad344e01474e3ae9c37b27b64efdc1cb17ffc0f3ec1c4427fde359d\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzzr://d1f293a0bbaa292296a83977cb36a14048db404a32e3f6aa9bd79ea61ac3c4c3\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzzr://cd706a2dc7540d093b591a280b464256c596ddad598b68886e6db2e7958f9916\"]},\"@daostack/arc/contracts/universalSchemes/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzzr://6cd99ec0b19ae06f7845a3ca56d2dc43ec122cfa809969248e6742e0c56076ca\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzzr://29eac5d525cc39129df30c5b8deada4350d40c5261a85ce0b29c12fe80b10b15\"]},\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":{\"keccak256\":\"0x4052c6f57add891f5f6514a7837f54955ac1f3ad4654fa45d864e4aad19864ba\",\"urls\":[\"bzzr://b013e9ee810bf43f6de254cc61dceb59a9cf102d795d4abc527c2989ff5df568\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"@daostack/infra/contracts/libs/RealMath.sol\":{\"keccak256\":\"0x3ee79c4b483da327916ac36f9d5cc6a1f2f0363db3ad06793ec67f46e1f653db\",\"urls\":[\"bzzr://548cdb33afa45d2d4bfb0ed3f557257f77c7d9ae142326d04584e20d00c153d3\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocol.sol\":{\"keccak256\":\"0x0321da6019e0e1a7fc4e1ca484d7d5d376805abb17f9eb9c46a6731e9dfe58dc\",\"urls\":[\"bzzr://4cf93479ffb97b0f90d2974a0404136bfda093edb9e4b6dd3d9737a29202ee63\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocolLogic.sol\":{\"keccak256\":\"0x2bf5fba64fbda5605b9250ea8ca6d8e28dab41fb0e2b43c9145b91e1d0425eef\",\"urls\":[\"bzzr://bf7d5bb906c1f0f627d028214b0d8d2cbf0f766ead5d7b27f116b834255ffa76\"]},\"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\":{\"keccak256\":\"0x877991da94b1fe9c2accf69367b32fff474c4e4f7897e9cf5a61fa5d1378908f\",\"urls\":[\"bzzr://a7bb7b3a39a1553cb39378801976c8b192b801f9627098385eca24e62440826b\"]},\"@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol\":{\"keccak256\":\"0xb80a153793e1723b35e70ba1c3800975fbc1fae63c989cfb8134a4e58085e181\",\"urls\":[\"bzzr://e5ff7e9f77e596fff366bb31326a7d2ca82d0fdeed1d612c09589eb9fb69d9bf\"]},\"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\":{\"keccak256\":\"0xec215d305f0aa5a5193b6f0302a1aa6bb84e85460167f80b261faf9d30564563\",\"urls\":[\"bzzr://baae21ef9ee3e315191aece7767d3a9ab62810aff5063ad144cb2120eebdabf0\"]},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"keccak256\":\"0xb48974d92a87053dc1d6c5389f3d1b2ad522dec23afcb508eaa935d98dfdc0b6\",\"urls\":[\"bzzr://e665a84309432c27a26e622665dd97ff29d4d6ad7ad655d6e2c50226a5e99b56\"]},\"openzeppelin-solidity/contracts/math/Math.sol\":{\"keccak256\":\"0x37605dd0606b349cfb1b679892e1bb0ef4ddc16dedb06e229cc4402610a7a848\",\"urls\":[\"bzzr://c2253b0f57a80ee1ab7d90192aec144310e9c9a420d2ca2fcfd5999ae66e8f33\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x965012d27b4262d7a41f5028cbb30c51ebd9ecd4be8fb30380aaa7a3c64fbc8b\",\"urls\":[\"bzzr://41ca38f6b0fa4b77b0feec43e422cfbec48b7eb38a41edf0b85c77e8d9a296b1\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzzr://08894efa2a557982070beda6a81a032407e70532d24bdafe80d39660c74904d9\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xba431353cb4fe70777ac026231eb5468e41aa1e81240a2b8136917acc5fff4dc\",\"urls\":[\"bzzr://80cd02a56e6e33504318124d0d645c82e615cc8a4b5829cc9d82d17635c644c8\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol\":{\"keccak256\":\"0xa3e68fd7f987c8fbdaf4867d428a69a15f3cf2f69709a5b0a0fbef750b0e6fbc\",\"urls\":[\"bzzr://f4ebb7c5b9e429b98b07e2caca6156c13c3724e9b1191cca8423ab8427bc6265\"]},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzzr://48248e86f64407a95f241d6c5c8cfea6b4d4ebf4ebb467e5c98c8af3868fafe4\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x5c731061b804fa256fc8c05150eafe5d20b6bb94541a8f187912bf84f7033f34\",\"urls\":[\"bzzr://63fc4af0d7a99a770925b96a6cf48f25fc00d30274266f82db05f30baa238267\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b50610b2f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100815760003560e060020a90048063b551c3731161005f578063b551c3731461013d578063bea75f281461015a578063d29b5d2f146101aa578063f81f8bf6146101dc57610081565b806360bdbb3f146100865780636b8eb403146100d35780639588378e14610111575b600080fd5b6100b26004803603604081101561009c57600080fd5b50600160a060020a03813516906020013561020e565b60408051928352600160a060020a0390911660208301528051918290030190f35b6100ff600480360360408110156100e957600080fd5b50600160a060020a038135169060200135610238565b60408051918252519081900360200190f35b6100ff6004803603604081101561012757600080fd5b50600160a060020a0381351690602001356102fd565b6100ff6004803603602081101561015357600080fd5b5035610429565b6101966004803603608081101561017057600080fd5b50600160a060020a03813581169160208101359091169060408101359060600135610581565b604080519115158252519081900360200190f35b610196600480360360608110156101c057600080fd5b50803590600160a060020a036020820135169060400135610768565b610196600480360360608110156101f257600080fd5b50803590600160a060020a036020820135169060400135610946565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b33600090815260208181526040808320848452909152812060010154600160a060020a031680151561026e5760009150506102f7565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b1580156102c757600080fd5b505afa1580156102db573d6000803e3d6000fd5b505050506040513d60208110156102f157600080fd5b50519150505b92915050565b6000610307610aec565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a031690820181905215156103505760009150506102f7565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561039057600080fd5b505afa1580156103a4573d6000803e3d6000fd5b505050506040513d60208110156103ba57600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b1580156102c757600080fd5b6000610433610aec565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561047c57600091505061057c565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d60208110156104e657600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561054c57600080fd5b505afa158015610560573d6000803e3d6000fd5b505050506040513d602081101561057657600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a0316151561061557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561064b57600092505061075f565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561068757600080fd5b505afa15801561069b573d6000803e3d6000fd5b505050506040513d60208110156106b157600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050506040513d602081101561075957600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156107fc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561083257600092505061093e565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d602081101561089857600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561090e57600080fd5b505af1158015610922573d6000803e3d6000fd5b505050506040513d602081101561093857600080fd5b50519250505b509392505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156109da57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515610a1057600092505061093e565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610a4c57600080fd5b505afa158015610a60573d6000803e3d6000fd5b505050506040513d6020811015610a7657600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561090e57600080fd5b60408051808201909152600080825260208201529056fea165627a7a72305820e8479c0ea4f6b58577bed54dbefc24dea73fbc8eb73747ab884102dae0b6220d0029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100815760003560e060020a90048063b551c3731161005f578063b551c3731461013d578063bea75f281461015a578063d29b5d2f146101aa578063f81f8bf6146101dc57610081565b806360bdbb3f146100865780636b8eb403146100d35780639588378e14610111575b600080fd5b6100b26004803603604081101561009c57600080fd5b50600160a060020a03813516906020013561020e565b60408051928352600160a060020a0390911660208301528051918290030190f35b6100ff600480360360408110156100e957600080fd5b50600160a060020a038135169060200135610238565b60408051918252519081900360200190f35b6100ff6004803603604081101561012757600080fd5b50600160a060020a0381351690602001356102fd565b6100ff6004803603602081101561015357600080fd5b5035610429565b6101966004803603608081101561017057600080fd5b50600160a060020a03813581169160208101359091169060408101359060600135610581565b604080519115158252519081900360200190f35b610196600480360360608110156101c057600080fd5b50803590600160a060020a036020820135169060400135610768565b610196600480360360608110156101f257600080fd5b50803590600160a060020a036020820135169060400135610946565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b33600090815260208181526040808320848452909152812060010154600160a060020a031680151561026e5760009150506102f7565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b1580156102c757600080fd5b505afa1580156102db573d6000803e3d6000fd5b505050506040513d60208110156102f157600080fd5b50519150505b92915050565b6000610307610aec565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a031690820181905215156103505760009150506102f7565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561039057600080fd5b505afa1580156103a4573d6000803e3d6000fd5b505050506040513d60208110156103ba57600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b1580156102c757600080fd5b6000610433610aec565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561047c57600091505061057c565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d60208110156104e657600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b15801561054c57600080fd5b505afa158015610560573d6000803e3d6000fd5b505050506040513d602081101561057657600080fd5b50519150505b919050565b336000908152602081815260408083208484529091528120600101548290600160a060020a0316151561061557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561064b57600092505061075f565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561068757600080fd5b505afa15801561069b573d6000803e3d6000fd5b505050506040513d60208110156106b157600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b505050506040513d602081101561075957600080fd5b50519250505b50949350505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156107fc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561083257600092505061093e565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d602081101561089857600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b15801561090e57600080fd5b505af1158015610922573d6000803e3d6000fd5b505050506040513d602081101561093857600080fd5b50519250505b509392505050565b336000908152602081815260408083208484529091528120600101548290600160a060020a031615156109da57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6f6e6c7920566f74696e674d616368696e650000000000000000000000000000604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515610a1057600092505061093e565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610a4c57600080fd5b505afa158015610a60573d6000803e3d6000fd5b505050506040513d6020811015610a7657600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b15801561090e57600080fd5b60408051808201909152600080825260208201529056fea165627a7a72305820e8479c0ea4f6b58577bed54dbefc24dea73fbc8eb73747ab884102dae0b6220d0029",
  "sourceMap": "148:2892:52:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:2892:52;;;;;;;",
  "deployedSourceMap": "148:2892:52:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:2892:52;;;;;;;;-1:-1:-1;;;148:2892:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;598:73;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:52;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;598:73:52;;;;;;;;;;;;;;;;2000:346;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:52;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2693:345;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:52;;;;;;;;:::i;2352:335::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:52;;:::i;1510:484::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:52;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;678:410;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:52;;;-1:-1:-1;;;;;678:410:52;;;;;;;;;;:::i;1094:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:52;;;-1:-1:-1;;;;;1094:410:52;;;;;;;;;;:::i;598:73::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:52;;:::o;2000:346::-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:52;2190:58;;2186:97;;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:52;;2331:6;2299:40;;;;;-1:-1:-1;;;2299:40:52;;;;;;;-1:-1:-1;;;;;2299:40:52;-1:-1:-1;;;;;2299:40:52;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:52;;-1:-1:-1;;2000:346:52;;;;;:::o;2693:345::-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:52;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:52;;;;;;;2876:28;2872:67;;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:52;;:34;;;;;-1:-1:-1;;;2955:34:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:52;3010:20;;2955:76;;;;;;-1:-1:-1;;;;;2955:76:52;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2352:335:52;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:52;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:52;;;;;;;2531:28;2527:67;;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:52;;:34;;;;;-1:-1:-1;;;2610:34:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:52;2659:20;;2610:70;;;;;;;;;;;;;;-1:-1:-1;;;;;2610:48:52;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:52;;-1:-1:-1;;2352:335:52;;;;:::o;1510:484::-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:52;1810:19;;1806:62;;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:52;;:14;;;;;-1:-1:-1;;;1904:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:52;1884:103;;;;;;-1:-1:-1;;;;;1884:103:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:52;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:52;;-1:-1:-1;;529:1:52;1510:484;;;;;;;:::o;678:410::-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:52;917:19;;913:62;;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:52;;:14;;;;;-1:-1:-1;;;1011:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:52;991:90;;;;;;;;;;;;-1:-1:-1;;;;;991:90:52;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:52;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:52;;-1:-1:-1;;529:1:52;678:410;;;;;;:::o;1094:::-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:52;:67;;421:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:52;1333:19;;1329:62;;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:52;;:14;;;;;-1:-1:-1;;;1427:14:52;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:52;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:52;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:52;1407:90;;;;;;;;;;;;-1:-1:-1;;;;;1407:90:52;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:52;:90;;;5:2:-1;;;;30:1;27;20:12;148:2892:52;;;;;;;;;;-1:-1:-1;148:2892:52;;;;;;;;:::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": [
        10602
      ]
    },
    "id": 10603,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10304,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:52"
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "../universalSchemes/UniversalScheme.sol",
        "id": 10305,
        "nodeType": "ImportDirective",
        "scope": 10603,
        "sourceUnit": 9835,
        "src": "25:49:52",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "file": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "id": 10306,
        "nodeType": "ImportDirective",
        "scope": 10603,
        "sourceUnit": 12479,
        "src": "75:70:52",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10307,
              "name": "VotingMachineCallbacksInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15258,
              "src": "183:31:52",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacksInterface_$15258",
                "typeString": "contract VotingMachineCallbacksInterface"
              }
            },
            "id": 10308,
            "nodeType": "InheritanceSpecifier",
            "src": "183:31:52"
          }
        ],
        "contractDependencies": [
          15258
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10602,
        "linearizedBaseContracts": [
          10602,
          15258
        ],
        "name": "VotingMachineCallbacks",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "VotingMachineCallbacks.ProposalInfo",
            "id": 10313,
            "members": [
              {
                "constant": false,
                "id": 10310,
                "name": "blockNumber",
                "nodeType": "VariableDeclaration",
                "scope": 10313,
                "src": "252:19:52",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 10309,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "252:7:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 10312,
                "name": "avatar",
                "nodeType": "VariableDeclaration",
                "scope": 10313,
                "src": "312:13:52",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_Avatar_$7316",
                  "typeString": "contract Avatar"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 10311,
                  "name": "Avatar",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 7316,
                  "src": "312:6:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ProposalInfo",
            "nodeType": "StructDefinition",
            "scope": 10602,
            "src": "222:135:52",
            "visibility": "public"
          },
          {
            "body": {
              "id": 10335,
              "nodeType": "Block",
              "src": "411:126:52",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        },
                        "id": 10330,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10318,
                                "name": "proposalsInfo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10342,
                                "src": "429:13:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                                }
                              },
                              "id": 10321,
                              "indexExpression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 10319,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16782,
                                  "src": "443:3:52",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 10320,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": null,
                                "src": "443:10:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "429:25:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                                "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                              }
                            },
                            "id": 10323,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 10322,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10315,
                              "src": "455:11:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "429:38:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                              "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                            }
                          },
                          "id": 10324,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "avatar",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 10312,
                          "src": "429:45:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 10327,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "493:1:52",
                                  "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": 10326,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "485:7:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 10328,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "485:10:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            ],
                            "id": 10325,
                            "name": "Avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7316,
                            "src": "478:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                              "typeString": "type(contract Avatar)"
                            }
                          },
                          "id": 10329,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "478:18:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        },
                        "src": "429:67:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6f6e6c7920566f74696e674d616368696e65",
                        "id": 10331,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "498:20:52",
                        "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": 10317,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16786,
                      "src": "421:7:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10332,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "421:98:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10333,
                  "nodeType": "ExpressionStatement",
                  "src": "421:98:52"
                },
                {
                  "id": 10334,
                  "nodeType": "PlaceholderStatement",
                  "src": "529:1:52"
                }
              ]
            },
            "documentation": null,
            "id": 10336,
            "name": "onlyVotingMachine",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 10316,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10315,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10336,
                  "src": "390:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10314,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "390:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "389:21:52"
            },
            "src": "363:174:52",
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 10342,
            "name": "proposalsInfo",
            "nodeType": "VariableDeclaration",
            "scope": 10602,
            "src": "598:73:52",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
            },
            "typeName": {
              "id": 10341,
              "keyType": {
                "id": 10337,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "606:7:52",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "598:52:52",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
              },
              "valueType": {
                "id": 10340,
                "keyType": {
                  "id": 10338,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "625:7:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "617:32:52",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                  "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 10339,
                  "name": "ProposalInfo",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 10313,
                  "src": "636:12:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                    "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10388,
              "nodeType": "Block",
              "src": "832:256:52",
              "statements": [
                {
                  "assignments": [
                    10357
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10357,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10388,
                      "src": "842:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10356,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "842:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10365,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10358,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "858:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10361,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10359,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "872:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10360,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "872:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "858:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10363,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10362,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10348,
                        "src": "884:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "858:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10364,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "858:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "842:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10370,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10366,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10357,
                      "src": "917:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10368,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "934:1:52",
                          "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": 10367,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "927:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10369,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "927:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "917:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10374,
                  "nodeType": "IfStatement",
                  "src": "913:62:52",
                  "trueBody": {
                    "id": 10373,
                    "nodeType": "Block",
                    "src": "938:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10371,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "959:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10355,
                        "id": 10372,
                        "nodeType": "Return",
                        "src": "952:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10381,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10344,
                        "src": "1042:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10382,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10346,
                        "src": "1051:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10384,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10357,
                            "src": "1073:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10383,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1065:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10385,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1065:15:52",
                        "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": 10376,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10357,
                                "src": "1011:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10377,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1011:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10378,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1011:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10375,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "991:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10379,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "991:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10380,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mintReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8787,
                      "src": "991:50:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 10386,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "991:90:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10355,
                  "id": 10387,
                  "nodeType": "Return",
                  "src": "984:97:52"
                }
              ]
            },
            "documentation": null,
            "id": 10389,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10351,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10348,
                    "src": "797:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10352,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10350,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "779:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "779:30:52"
              }
            ],
            "name": "mintReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10349,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10344,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "702:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10343,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "702:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10346,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "719:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10345,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "719:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10348,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "741:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10347,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "701:60:52"
            },
            "returnParameters": {
              "id": 10355,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10354,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "822:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10353,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "822:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "821:6:52"
            },
            "scope": 10602,
            "src": "678:410:52",
            "stateMutability": "nonpayable",
            "superFunction": 15208,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10435,
              "nodeType": "Block",
              "src": "1248:256:52",
              "statements": [
                {
                  "assignments": [
                    10404
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10404,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10435,
                      "src": "1258:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10403,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "1258:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10412,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10405,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "1274:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10408,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10406,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "1288:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10407,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1288:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1274:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10410,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10409,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10395,
                        "src": "1300:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1274:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10411,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "1274:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1258:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10417,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10413,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10404,
                      "src": "1333:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10415,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1350:1:52",
                          "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": 10414,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "1343:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10416,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1343:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1333:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10421,
                  "nodeType": "IfStatement",
                  "src": "1329:62:52",
                  "trueBody": {
                    "id": 10420,
                    "nodeType": "Block",
                    "src": "1354:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10418,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1375:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10402,
                        "id": 10419,
                        "nodeType": "Return",
                        "src": "1368:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10428,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10391,
                        "src": "1458:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10429,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10393,
                        "src": "1467:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10431,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10404,
                            "src": "1489:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10430,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1481:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10432,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1481:15:52",
                        "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": 10423,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10404,
                                "src": "1427:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10424,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1427:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10425,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1427:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10422,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "1407:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1407:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10427,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "burnReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8798,
                      "src": "1407:50:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 10433,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1407:90:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10402,
                  "id": 10434,
                  "nodeType": "Return",
                  "src": "1400:97:52"
                }
              ]
            },
            "documentation": null,
            "id": 10436,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10398,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10395,
                    "src": "1213:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10399,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10397,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "1195:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1195:30:52"
              }
            ],
            "name": "burnReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10396,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10391,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1118:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10390,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10393,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1135:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10392,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1135:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10395,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1157:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10394,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1157:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:60:52"
            },
            "returnParameters": {
              "id": 10402,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10401,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1238:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10400,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1238:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1237:6:52"
            },
            "scope": 10602,
            "src": "1094:410:52",
            "stateMutability": "nonpayable",
            "superFunction": 15219,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10483,
              "nodeType": "Block",
              "src": "1725:269:52",
              "statements": [
                {
                  "assignments": [
                    10453
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10453,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10483,
                      "src": "1735:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10452,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "1735:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10461,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10454,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "1751:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10457,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10455,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "1765:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10456,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1765:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1751:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10459,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10458,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10444,
                        "src": "1777:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1751:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10460,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "1751:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1735:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10466,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10462,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10453,
                      "src": "1810:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10464,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1827:1:52",
                          "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": 10463,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "1820:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10465,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1820:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1810:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10470,
                  "nodeType": "IfStatement",
                  "src": "1806:62:52",
                  "trueBody": {
                    "id": 10469,
                    "nodeType": "Block",
                    "src": "1831:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10467,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1852:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10451,
                        "id": 10468,
                        "nodeType": "Return",
                        "src": "1845:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10477,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10438,
                        "src": "1942:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10478,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10440,
                        "src": "1957:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10479,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10442,
                        "src": "1971:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10480,
                        "name": "avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10453,
                        "src": "1980:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 10472,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10453,
                                "src": "1904:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10473,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1904:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10474,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1904:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10471,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "1884:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10475,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1884:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10476,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8906,
                      "src": "1884:57:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$16748_$_t_address_$_t_uint256_$_t_contract$_Avatar_$7316_$returns$_t_bool_$",
                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                      }
                    },
                    "id": 10481,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1884:103:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10451,
                  "id": 10482,
                  "nodeType": "Return",
                  "src": "1877:110:52"
                }
              ]
            },
            "documentation": null,
            "id": 10484,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10447,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10444,
                    "src": "1690:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10448,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10446,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "1672:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1672:30:52"
              }
            ],
            "name": "stakingTokenTransfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10445,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10438,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1549:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$16748",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10437,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 16748,
                    "src": "1549:6:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$16748",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10440,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1579:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10439,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1579:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10442,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1609:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10441,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1609:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10444,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1634:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10443,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1634:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1539:115:52"
            },
            "returnParameters": {
              "id": 10451,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10450,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1715:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10449,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1715:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1714:6:52"
            },
            "scope": 10602,
            "src": "1510:484:52",
            "stateMutability": "nonpayable",
            "superFunction": 15232,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10525,
              "nodeType": "Block",
              "src": "2105:241:52",
              "statements": [
                {
                  "assignments": [
                    10494
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10494,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10525,
                      "src": "2115:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10493,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "2115:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10502,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10495,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "2131:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10498,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10496,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "2145:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10497,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2145:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10500,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10499,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10488,
                        "src": "2157:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2131:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10501,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "2131:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2115:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10513,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 10503,
                            "name": "proposalsInfo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10342,
                            "src": "2190:13:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                            }
                          },
                          "id": 10506,
                          "indexExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10504,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16782,
                              "src": "2204:3:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 10505,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "2204:10:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2190:25:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                            "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                          }
                        },
                        "id": 10508,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10507,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10488,
                          "src": "2216:11:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2190:38:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                        }
                      },
                      "id": 10509,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2190:45:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10511,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2246:1:52",
                          "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": 10510,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2239:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10512,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2239:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2190:58:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10517,
                  "nodeType": "IfStatement",
                  "src": "2186:97:52",
                  "trueBody": {
                    "id": 10516,
                    "nodeType": "Block",
                    "src": "2250:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10514,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2271:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10492,
                        "id": 10515,
                        "nodeType": "Return",
                        "src": "2264:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10521,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10494,
                            "src": "2331:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10520,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2323:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10522,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2323:15:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10518,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10486,
                        "src": "2299:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        }
                      },
                      "id": 10519,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16722,
                      "src": "2299:23:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                        "typeString": "function (address) view external returns (uint256)"
                      }
                    },
                    "id": 10523,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2299:40:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10492,
                  "id": 10524,
                  "nodeType": "Return",
                  "src": "2292:47:52"
                }
              ]
            },
            "documentation": null,
            "id": 10526,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "balanceOfStakingToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10489,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10486,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2031:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$16748",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10485,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 16748,
                    "src": "2031:6:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$16748",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10488,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2053:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10487,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2053:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2030:43:52"
            },
            "returnParameters": {
              "id": 10492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10491,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2096:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10490,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2096:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2095:9:52"
            },
            "scope": 10602,
            "src": "2000:346:52",
            "stateMutability": "view",
            "superFunction": 15257,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10561,
              "nodeType": "Block",
              "src": "2438:249:52",
              "statements": [
                {
                  "assignments": [
                    10534
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10534,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10561,
                      "src": "2448:28:52",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10533,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10313,
                        "src": "2448:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10541,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 10535,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "2479:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 10538,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10536,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "2493:3:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10537,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2493:10:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2479:25:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 10540,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 10539,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10528,
                      "src": "2505:11:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2479:38:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2448:69:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10547,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 10542,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10534,
                        "src": "2531:8:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 10543,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2531:15:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10545,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2557:1:52",
                          "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": 10544,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2550:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10546,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2550:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2531:28:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10551,
                  "nodeType": "IfStatement",
                  "src": "2527:67:52",
                  "trueBody": {
                    "id": 10550,
                    "nodeType": "Block",
                    "src": "2561:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10548,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2582:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10532,
                        "id": 10549,
                        "nodeType": "Return",
                        "src": "2575:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10557,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10534,
                          "src": "2659:8:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 10558,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10310,
                        "src": "2659:20:52",
                        "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": 10552,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10534,
                              "src": "2610:8:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 10553,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10312,
                            "src": "2610:15:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 10554,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7054,
                          "src": "2610:32:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$11034_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 10555,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2610:34:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$11034",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 10556,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "totalSupplyAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10734,
                      "src": "2610:48:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view external returns (uint256)"
                      }
                    },
                    "id": 10559,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2610:70:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10532,
                  "id": 10560,
                  "nodeType": "Return",
                  "src": "2603:77:52"
                }
              ]
            },
            "documentation": null,
            "id": 10562,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalReputationSupply",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10529,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10528,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10562,
                  "src": "2386:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10527,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2386:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2385:21:52"
            },
            "returnParameters": {
              "id": 10532,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10531,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10562,
                  "src": "2429:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10530,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2429:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2428:9:52"
            },
            "scope": 10602,
            "src": "2352:335:52",
            "stateMutability": "view",
            "superFunction": 15239,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10600,
              "nodeType": "Block",
              "src": "2783:255:52",
              "statements": [
                {
                  "assignments": [
                    10572
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10572,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10600,
                      "src": "2793:28:52",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10571,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10313,
                        "src": "2793:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10579,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 10573,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "2824:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 10576,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10574,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "2838:3:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10575,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2838:10:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2824:25:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 10578,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 10577,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10566,
                      "src": "2850:11:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2824:38:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2793:69:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10585,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 10580,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10572,
                        "src": "2876:8:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 10581,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2876:15:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10583,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2902:1:52",
                          "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": 10582,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2895:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10584,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2895:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2876:28:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10589,
                  "nodeType": "IfStatement",
                  "src": "2872:67:52",
                  "trueBody": {
                    "id": 10588,
                    "nodeType": "Block",
                    "src": "2906:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10586,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2927:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10570,
                        "id": 10587,
                        "nodeType": "Return",
                        "src": "2920:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10595,
                        "name": "_owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10564,
                        "src": "3002:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10596,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10572,
                          "src": "3010:8:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 10597,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10310,
                        "src": "3010:20:52",
                        "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": 10590,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10572,
                              "src": "2955:8:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 10591,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10312,
                            "src": "2955:15:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 10592,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7054,
                          "src": "2955:32:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$11034_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 10593,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2955:34:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$11034",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 10594,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOfAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10703,
                      "src": "2955:46:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (address,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 10598,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2955:76:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10570,
                  "id": 10599,
                  "nodeType": "Return",
                  "src": "2948:83:52"
                }
              ]
            },
            "documentation": null,
            "id": 10601,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "reputationOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10567,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10564,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2715:14:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10563,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2715:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10566,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2731:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10565,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2731:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2714:37:52"
            },
            "returnParameters": {
              "id": 10570,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10569,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2774:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10568,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2774:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2773:9:52"
            },
            "scope": 10602,
            "src": "2693:345:52",
            "stateMutability": "view",
            "superFunction": 15248,
            "visibility": "external"
          }
        ],
        "scope": 10603,
        "src": "148:2892:52"
      }
    ],
    "src": "0:3041:52"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
    "exportedSymbols": {
      "VotingMachineCallbacks": [
        10602
      ]
    },
    "id": 10603,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10304,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:52"
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "../universalSchemes/UniversalScheme.sol",
        "id": 10305,
        "nodeType": "ImportDirective",
        "scope": 10603,
        "sourceUnit": 9835,
        "src": "25:49:52",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "file": "@daostack/infra/contracts/votingMachines/GenesisProtocol.sol",
        "id": 10306,
        "nodeType": "ImportDirective",
        "scope": 10603,
        "sourceUnit": 12479,
        "src": "75:70:52",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10307,
              "name": "VotingMachineCallbacksInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 15258,
              "src": "183:31:52",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacksInterface_$15258",
                "typeString": "contract VotingMachineCallbacksInterface"
              }
            },
            "id": 10308,
            "nodeType": "InheritanceSpecifier",
            "src": "183:31:52"
          }
        ],
        "contractDependencies": [
          15258
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10602,
        "linearizedBaseContracts": [
          10602,
          15258
        ],
        "name": "VotingMachineCallbacks",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "VotingMachineCallbacks.ProposalInfo",
            "id": 10313,
            "members": [
              {
                "constant": false,
                "id": 10310,
                "name": "blockNumber",
                "nodeType": "VariableDeclaration",
                "scope": 10313,
                "src": "252:19:52",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 10309,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "252:7:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 10312,
                "name": "avatar",
                "nodeType": "VariableDeclaration",
                "scope": 10313,
                "src": "312:13:52",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_Avatar_$7316",
                  "typeString": "contract Avatar"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 10311,
                  "name": "Avatar",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 7316,
                  "src": "312:6:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$7316",
                    "typeString": "contract Avatar"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ProposalInfo",
            "nodeType": "StructDefinition",
            "scope": 10602,
            "src": "222:135:52",
            "visibility": "public"
          },
          {
            "body": {
              "id": 10335,
              "nodeType": "Block",
              "src": "411:126:52",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        },
                        "id": 10330,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10318,
                                "name": "proposalsInfo",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10342,
                                "src": "429:13:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                                }
                              },
                              "id": 10321,
                              "indexExpression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 10319,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 16782,
                                  "src": "443:3:52",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 10320,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": null,
                                "src": "443:10:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "429:25:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                                "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                              }
                            },
                            "id": 10323,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 10322,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10315,
                              "src": "455:11:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "429:38:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                              "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                            }
                          },
                          "id": 10324,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "avatar",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 10312,
                          "src": "429:45:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 10327,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "493:1:52",
                                  "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": 10326,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "485:7:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 10328,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "485:10:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            ],
                            "id": 10325,
                            "name": "Avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7316,
                            "src": "478:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                              "typeString": "type(contract Avatar)"
                            }
                          },
                          "id": 10329,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "478:18:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$7316",
                            "typeString": "contract Avatar"
                          }
                        },
                        "src": "429:67:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6f6e6c7920566f74696e674d616368696e65",
                        "id": 10331,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "498:20:52",
                        "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": 10317,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        16785,
                        16786
                      ],
                      "referencedDeclaration": 16786,
                      "src": "421:7:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10332,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "421:98:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10333,
                  "nodeType": "ExpressionStatement",
                  "src": "421:98:52"
                },
                {
                  "id": 10334,
                  "nodeType": "PlaceholderStatement",
                  "src": "529:1:52"
                }
              ]
            },
            "documentation": null,
            "id": 10336,
            "name": "onlyVotingMachine",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 10316,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10315,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10336,
                  "src": "390:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10314,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "390:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "389:21:52"
            },
            "src": "363:174:52",
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 10342,
            "name": "proposalsInfo",
            "nodeType": "VariableDeclaration",
            "scope": 10602,
            "src": "598:73:52",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
            },
            "typeName": {
              "id": 10341,
              "keyType": {
                "id": 10337,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "606:7:52",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "598:52:52",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo))"
              },
              "valueType": {
                "id": 10340,
                "keyType": {
                  "id": 10338,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "625:7:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "617:32:52",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                  "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 10339,
                  "name": "ProposalInfo",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 10313,
                  "src": "636:12:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                    "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10388,
              "nodeType": "Block",
              "src": "832:256:52",
              "statements": [
                {
                  "assignments": [
                    10357
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10357,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10388,
                      "src": "842:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10356,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "842:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10365,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10358,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "858:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10361,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10359,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "872:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10360,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "872:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "858:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10363,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10362,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10348,
                        "src": "884:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "858:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10364,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "858:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "842:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10370,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10366,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10357,
                      "src": "917:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10368,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "934:1:52",
                          "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": 10367,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "927:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10369,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "927:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "917:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10374,
                  "nodeType": "IfStatement",
                  "src": "913:62:52",
                  "trueBody": {
                    "id": 10373,
                    "nodeType": "Block",
                    "src": "938:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10371,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "959:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10355,
                        "id": 10372,
                        "nodeType": "Return",
                        "src": "952:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10381,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10344,
                        "src": "1042:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10382,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10346,
                        "src": "1051:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10384,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10357,
                            "src": "1073:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10383,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1065:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10385,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1065:15:52",
                        "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": 10376,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10357,
                                "src": "1011:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10377,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1011:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10378,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1011:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10375,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "991:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10379,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "991:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10380,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "mintReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8787,
                      "src": "991:50:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 10386,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "991:90:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10355,
                  "id": 10387,
                  "nodeType": "Return",
                  "src": "984:97:52"
                }
              ]
            },
            "documentation": null,
            "id": 10389,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10351,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10348,
                    "src": "797:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10352,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10350,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "779:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "779:30:52"
              }
            ],
            "name": "mintReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10349,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10344,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "702:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10343,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "702:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10346,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "719:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10345,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "719:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10348,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "741:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10347,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "701:60:52"
            },
            "returnParameters": {
              "id": 10355,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10354,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10389,
                  "src": "822:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10353,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "822:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "821:6:52"
            },
            "scope": 10602,
            "src": "678:410:52",
            "stateMutability": "nonpayable",
            "superFunction": 15208,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10435,
              "nodeType": "Block",
              "src": "1248:256:52",
              "statements": [
                {
                  "assignments": [
                    10404
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10404,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10435,
                      "src": "1258:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10403,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "1258:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10412,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10405,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "1274:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10408,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10406,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "1288:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10407,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1288:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1274:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10410,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10409,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10395,
                        "src": "1300:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1274:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10411,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "1274:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1258:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10417,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10413,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10404,
                      "src": "1333:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10415,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1350:1:52",
                          "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": 10414,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "1343:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10416,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1343:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1333:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10421,
                  "nodeType": "IfStatement",
                  "src": "1329:62:52",
                  "trueBody": {
                    "id": 10420,
                    "nodeType": "Block",
                    "src": "1354:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10418,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1375:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10402,
                        "id": 10419,
                        "nodeType": "Return",
                        "src": "1368:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10428,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10391,
                        "src": "1458:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10429,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10393,
                        "src": "1467:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10431,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10404,
                            "src": "1489:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10430,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "1481:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10432,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1481:15:52",
                        "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": 10423,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10404,
                                "src": "1427:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10424,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1427:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10425,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1427:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10422,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "1407:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1407:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10427,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "burnReputation",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8798,
                      "src": "1407:50:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                        "typeString": "function (uint256,address,address) external returns (bool)"
                      }
                    },
                    "id": 10433,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1407:90:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10402,
                  "id": 10434,
                  "nodeType": "Return",
                  "src": "1400:97:52"
                }
              ]
            },
            "documentation": null,
            "id": 10436,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10398,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10395,
                    "src": "1213:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10399,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10397,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "1195:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1195:30:52"
              }
            ],
            "name": "burnReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10396,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10391,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1118:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10390,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1118:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10393,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1135:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10392,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1135:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10395,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1157:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10394,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1157:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1117:60:52"
            },
            "returnParameters": {
              "id": 10402,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10401,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10436,
                  "src": "1238:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10400,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1238:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1237:6:52"
            },
            "scope": 10602,
            "src": "1094:410:52",
            "stateMutability": "nonpayable",
            "superFunction": 15219,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10483,
              "nodeType": "Block",
              "src": "1725:269:52",
              "statements": [
                {
                  "assignments": [
                    10453
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10453,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10483,
                      "src": "1735:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10452,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "1735:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10461,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10454,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "1751:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10457,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10455,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "1765:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10456,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "1765:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1751:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10459,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10458,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10444,
                        "src": "1777:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1751:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10460,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "1751:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1735:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10466,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10462,
                      "name": "avatar",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10453,
                      "src": "1810:6:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10464,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1827:1:52",
                          "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": 10463,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "1820:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10465,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1820:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "1810:19:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10470,
                  "nodeType": "IfStatement",
                  "src": "1806:62:52",
                  "trueBody": {
                    "id": 10469,
                    "nodeType": "Block",
                    "src": "1831:37:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "66616c7365",
                          "id": 10467,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1852:5:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "false"
                        },
                        "functionReturnParameters": 10451,
                        "id": 10468,
                        "nodeType": "Return",
                        "src": "1845:12:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10477,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10438,
                        "src": "1942:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10478,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10440,
                        "src": "1957:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10479,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10442,
                        "src": "1971:7:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 10480,
                        "name": "avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10453,
                        "src": "1980:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "expression": {
                                "argumentTypes": null,
                                "id": 10472,
                                "name": "avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10453,
                                "src": "1904:6:52",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$7316",
                                  "typeString": "contract Avatar"
                                }
                              },
                              "id": 10473,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "owner",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 15953,
                              "src": "1904:12:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                "typeString": "function () view external returns (address)"
                              }
                            },
                            "id": 10474,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1904:14:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10471,
                          "name": "ControllerInterface",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9005,
                          "src": "1884:19:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$9005_$",
                            "typeString": "type(contract ControllerInterface)"
                          }
                        },
                        "id": 10475,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1884:35:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ControllerInterface_$9005",
                          "typeString": "contract ControllerInterface"
                        }
                      },
                      "id": 10476,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8906,
                      "src": "1884:57:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$16748_$_t_address_$_t_uint256_$_t_contract$_Avatar_$7316_$returns$_t_bool_$",
                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                      }
                    },
                    "id": 10481,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1884:103:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10451,
                  "id": 10482,
                  "nodeType": "Return",
                  "src": "1877:110:52"
                }
              ]
            },
            "documentation": null,
            "id": 10484,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10447,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10444,
                    "src": "1690:11:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 10448,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10446,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10336,
                  "src": "1672:17:52",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1672:30:52"
              }
            ],
            "name": "stakingTokenTransfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10445,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10438,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1549:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$16748",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10437,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 16748,
                    "src": "1549:6:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$16748",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10440,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1579:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10439,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1579:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10442,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1609:15:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10441,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1609:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10444,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1634:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10443,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1634:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1539:115:52"
            },
            "returnParameters": {
              "id": 10451,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10450,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10484,
                  "src": "1715:4:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10449,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1715:4:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1714:6:52"
            },
            "scope": 10602,
            "src": "1510:484:52",
            "stateMutability": "nonpayable",
            "superFunction": 15232,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10525,
              "nodeType": "Block",
              "src": "2105:241:52",
              "statements": [
                {
                  "assignments": [
                    10494
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10494,
                      "name": "avatar",
                      "nodeType": "VariableDeclaration",
                      "scope": 10525,
                      "src": "2115:13:52",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10493,
                        "name": "Avatar",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 7316,
                        "src": "2115:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$7316",
                          "typeString": "contract Avatar"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10502,
                  "initialValue": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 10495,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "2131:13:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 10498,
                        "indexExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 10496,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16782,
                            "src": "2145:3:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 10497,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2145:10:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:25:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 10500,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 10499,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10488,
                        "src": "2157:11:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2131:38:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "id": 10501,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "avatar",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 10312,
                    "src": "2131:45:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2115:61:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10513,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 10503,
                            "name": "proposalsInfo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10342,
                            "src": "2190:13:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                            }
                          },
                          "id": 10506,
                          "indexExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 10504,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16782,
                              "src": "2204:3:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 10505,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "2204:10:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2190:25:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                            "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                          }
                        },
                        "id": 10508,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 10507,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10488,
                          "src": "2216:11:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2190:38:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                        }
                      },
                      "id": 10509,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2190:45:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10511,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2246:1:52",
                          "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": 10510,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2239:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10512,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2239:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2190:58:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10517,
                  "nodeType": "IfStatement",
                  "src": "2186:97:52",
                  "trueBody": {
                    "id": 10516,
                    "nodeType": "Block",
                    "src": "2250:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10514,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2271:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10492,
                        "id": 10515,
                        "nodeType": "Return",
                        "src": "2264:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10521,
                            "name": "avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10494,
                            "src": "2331:6:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 10520,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2323:7:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 10522,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2323:15:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10518,
                        "name": "_stakingToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10486,
                        "src": "2299:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$16748",
                          "typeString": "contract IERC20"
                        }
                      },
                      "id": 10519,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 16722,
                      "src": "2299:23:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                        "typeString": "function (address) view external returns (uint256)"
                      }
                    },
                    "id": 10523,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2299:40:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10492,
                  "id": 10524,
                  "nodeType": "Return",
                  "src": "2292:47:52"
                }
              ]
            },
            "documentation": null,
            "id": 10526,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "balanceOfStakingToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10489,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10486,
                  "name": "_stakingToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2031:20:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$16748",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10485,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 16748,
                    "src": "2031:6:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$16748",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10488,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2053:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10487,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2053:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2030:43:52"
            },
            "returnParameters": {
              "id": 10492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10491,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10526,
                  "src": "2096:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10490,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2096:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2095:9:52"
            },
            "scope": 10602,
            "src": "2000:346:52",
            "stateMutability": "view",
            "superFunction": 15257,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10561,
              "nodeType": "Block",
              "src": "2438:249:52",
              "statements": [
                {
                  "assignments": [
                    10534
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10534,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10561,
                      "src": "2448:28:52",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10533,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10313,
                        "src": "2448:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10541,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 10535,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "2479:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 10538,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10536,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "2493:3:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10537,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2493:10:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2479:25:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 10540,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 10539,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10528,
                      "src": "2505:11:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2479:38:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2448:69:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10547,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 10542,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10534,
                        "src": "2531:8:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 10543,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2531:15:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10545,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2557:1:52",
                          "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": 10544,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2550:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10546,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2550:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2531:28:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10551,
                  "nodeType": "IfStatement",
                  "src": "2527:67:52",
                  "trueBody": {
                    "id": 10550,
                    "nodeType": "Block",
                    "src": "2561:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10548,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2582:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10532,
                        "id": 10549,
                        "nodeType": "Return",
                        "src": "2575:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10557,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10534,
                          "src": "2659:8:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 10558,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10310,
                        "src": "2659:20:52",
                        "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": 10552,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10534,
                              "src": "2610:8:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 10553,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10312,
                            "src": "2610:15:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 10554,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7054,
                          "src": "2610:32:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$11034_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 10555,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2610:34:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$11034",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 10556,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "totalSupplyAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10734,
                      "src": "2610:48:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view external returns (uint256)"
                      }
                    },
                    "id": 10559,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2610:70:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10532,
                  "id": 10560,
                  "nodeType": "Return",
                  "src": "2603:77:52"
                }
              ]
            },
            "documentation": null,
            "id": 10562,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalReputationSupply",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10529,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10528,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10562,
                  "src": "2386:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10527,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2386:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2385:21:52"
            },
            "returnParameters": {
              "id": 10532,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10531,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10562,
                  "src": "2429:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10530,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2429:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2428:9:52"
            },
            "scope": 10602,
            "src": "2352:335:52",
            "stateMutability": "view",
            "superFunction": 15239,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10600,
              "nodeType": "Block",
              "src": "2783:255:52",
              "statements": [
                {
                  "assignments": [
                    10572
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10572,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 10600,
                      "src": "2793:28:52",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 10571,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 10313,
                        "src": "2793:12:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10579,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 10573,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "2824:13:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 10576,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10574,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16782,
                          "src": "2838:3:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10575,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2838:10:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2824:25:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$10313_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 10578,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 10577,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10566,
                      "src": "2850:11:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2824:38:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$10313_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2793:69:52"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_contract$_Avatar_$7316",
                      "typeString": "contract Avatar"
                    },
                    "id": 10585,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 10580,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10572,
                        "src": "2876:8:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                        }
                      },
                      "id": 10581,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "avatar",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10312,
                      "src": "2876:15:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10583,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2902:1:52",
                          "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": 10582,
                        "name": "Avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7316,
                        "src": "2895:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Avatar_$7316_$",
                          "typeString": "type(contract Avatar)"
                        }
                      },
                      "id": 10584,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2895:9:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Avatar_$7316",
                        "typeString": "contract Avatar"
                      }
                    },
                    "src": "2876:28:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 10589,
                  "nodeType": "IfStatement",
                  "src": "2872:67:52",
                  "trueBody": {
                    "id": 10588,
                    "nodeType": "Block",
                    "src": "2906:33:52",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10586,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2927:1:52",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 10570,
                        "id": 10587,
                        "nodeType": "Return",
                        "src": "2920:8:52"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10595,
                        "name": "_owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10564,
                        "src": "3002:6:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 10596,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10572,
                          "src": "3010:8:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                            "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                          }
                        },
                        "id": 10597,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "blockNumber",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10310,
                        "src": "3010:20:52",
                        "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": 10590,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10572,
                              "src": "2955:8:52",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$10313_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 10591,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10312,
                            "src": "2955:15:52",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$7316",
                              "typeString": "contract Avatar"
                            }
                          },
                          "id": 10592,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeReputation",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 7054,
                          "src": "2955:32:52",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Reputation_$11034_$",
                            "typeString": "function () view external returns (contract Reputation)"
                          }
                        },
                        "id": 10593,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2955:34:52",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Reputation_$11034",
                          "typeString": "contract Reputation"
                        }
                      },
                      "id": 10594,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOfAt",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 10703,
                      "src": "2955:46:52",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (address,uint256) view external returns (uint256)"
                      }
                    },
                    "id": 10598,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2955:76:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10570,
                  "id": 10599,
                  "nodeType": "Return",
                  "src": "2948:83:52"
                }
              ]
            },
            "documentation": null,
            "id": 10601,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "reputationOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10567,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10564,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2715:14:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10563,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2715:7:52",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10566,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2731:19:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10565,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2731:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2714:37:52"
            },
            "returnParameters": {
              "id": 10570,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10569,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10601,
                  "src": "2774:7:52",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10568,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2774:7:52",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2773:9:52"
            },
            "scope": 10602,
            "src": "2693:345:52",
            "stateMutability": "view",
            "superFunction": 15248,
            "visibility": "external"
          }
        ],
        "scope": 10603,
        "src": "148:2892:52"
      }
    ],
    "src": "0:3041:52"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.16",
  "updatedAt": "2020-07-07T14:28:02.036Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}