{
  "contractName": "ContributionReward",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "parameters",
      "outputs": [
        {
          "name": "voteApproveParams",
          "type": "bytes32"
        },
        {
          "name": "intVote",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "organizationsProposals",
      "outputs": [
        {
          "name": "nativeTokenReward",
          "type": "uint256"
        },
        {
          "name": "reputationChange",
          "type": "int256"
        },
        {
          "name": "ethReward",
          "type": "uint256"
        },
        {
          "name": "externalToken",
          "type": "address"
        },
        {
          "name": "externalTokenReward",
          "type": "uint256"
        },
        {
          "name": "beneficiary",
          "type": "address"
        },
        {
          "name": "periodLength",
          "type": "uint256"
        },
        {
          "name": "numberOfPeriods",
          "type": "uint256"
        },
        {
          "name": "executionTime",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "proposalsInfo",
      "outputs": [
        {
          "name": "blockNumber",
          "type": "uint256"
        },
        {
          "name": "avatar",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "balanceOfStakingToken",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "reputationOf",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "getTotalReputationSupply",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_stakingToken",
          "type": "address"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "stakingTokenTransfer",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "mintReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_proposalId",
          "type": "bytes32"
        }
      ],
      "name": "burnReputation",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_intVoteInterface",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_descriptionHash",
          "type": "string"
        },
        {
          "indexed": false,
          "name": "_reputationChange",
          "type": "int256"
        },
        {
          "indexed": false,
          "name": "_rewards",
          "type": "uint256[5]"
        },
        {
          "indexed": false,
          "name": "_externalToken",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "name": "NewContributionProposal",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "ProposalExecuted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "int256"
        }
      ],
      "name": "RedeemReputation",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "RedeemEther",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "RedeemNativeToken",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_avatar",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "RedeemExternalToken",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_param",
          "type": "int256"
        }
      ],
      "name": "executeProposal",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_voteApproveParams",
          "type": "bytes32"
        },
        {
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "setParameters",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_voteApproveParams",
          "type": "bytes32"
        },
        {
          "name": "_intVote",
          "type": "address"
        }
      ],
      "name": "getParametersHash",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_descriptionHash",
          "type": "string"
        },
        {
          "name": "_reputationChange",
          "type": "int256"
        },
        {
          "name": "_rewards",
          "type": "uint256[5]"
        },
        {
          "name": "_externalToken",
          "type": "address"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "name": "proposeContributionReward",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "redeemReputation",
      "outputs": [
        {
          "name": "reputation",
          "type": "int256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "redeemNativeToken",
      "outputs": [
        {
          "name": "amount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "redeemEther",
      "outputs": [
        {
          "name": "amount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "redeemExternalToken",
      "outputs": [
        {
          "name": "amount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_whatToRedeem",
          "type": "bool[4]"
        }
      ],
      "name": "redeem",
      "outputs": [
        {
          "name": "reputationReward",
          "type": "int256"
        },
        {
          "name": "nativeTokenReward",
          "type": "uint256"
        },
        {
          "name": "etherReward",
          "type": "uint256"
        },
        {
          "name": "externalTokenReward",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_redeemType",
          "type": "uint256"
        }
      ],
      "name": "getPeriodsToPay",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_redeemType",
          "type": "uint256"
        }
      ],
      "name": "getRedeemedPeriods",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "getProposalEthReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "getProposalExternalTokenReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "getProposalExternalToken",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_proposalId",
          "type": "bytes32"
        },
        {
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "getProposalExecutionTime",
      "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\":\"bytes32\"}],\"name\":\"parameters\",\"outputs\":[{\"name\":\"voteApproveParams\",\"type\":\"bytes32\"},{\"name\":\"intVote\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"organizationsProposals\",\"outputs\":[{\"name\":\"nativeTokenReward\",\"type\":\"uint256\"},{\"name\":\"reputationChange\",\"type\":\"int256\"},{\"name\":\"ethReward\",\"type\":\"uint256\"},{\"name\":\"externalToken\",\"type\":\"address\"},{\"name\":\"externalTokenReward\",\"type\":\"uint256\"},{\"name\":\"beneficiary\",\"type\":\"address\"},{\"name\":\"periodLength\",\"type\":\"uint256\"},{\"name\":\"numberOfPeriods\",\"type\":\"uint256\"},{\"name\":\"executionTime\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"redeemReputation\",\"outputs\":[{\"name\":\"reputation\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"getProposalExternalTokenReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_voteApproveParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"getParametersHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"getProposalExecutionTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"getProposalEthReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_voteApproveParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"setParameters\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"},{\"name\":\"_reputationChange\",\"type\":\"int256\"},{\"name\":\"_rewards\",\"type\":\"uint256[5]\"},{\"name\":\"_externalToken\",\"type\":\"address\"},{\"name\":\"_beneficiary\",\"type\":\"address\"}],\"name\":\"proposeContributionReward\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"executeProposal\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_redeemType\",\"type\":\"uint256\"}],\"name\":\"getRedeemedPeriods\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"redeemNativeToken\",\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"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\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"redeemEther\",\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"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\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_whatToRedeem\",\"type\":\"bool[4]\"}],\"name\":\"redeem\",\"outputs\":[{\"name\":\"reputationReward\",\"type\":\"int256\"},{\"name\":\"nativeTokenReward\",\"type\":\"uint256\"},{\"name\":\"etherReward\",\"type\":\"uint256\"},{\"name\":\"externalTokenReward\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_redeemType\",\"type\":\"uint256\"}],\"name\":\"getPeriodsToPay\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"redeemExternalToken\",\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_avatar\",\"type\":\"address\"}],\"name\":\"getProposalExternalToken\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"},{\"indexed\":false,\"name\":\"_reputationChange\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"_rewards\",\"type\":\"uint256[5]\"},{\"indexed\":false,\"name\":\"_externalToken\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_beneficiary\",\"type\":\"address\"}],\"name\":\"NewContributionProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"int256\"}],\"name\":\"RedeemReputation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"RedeemEther\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"RedeemNativeToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"RedeemExternalToken\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"An agent can ask an organization to recognize a contribution and reward him with token, reputation, ether or any combination.\",\"methods\":{\"executeProposal(bytes32,int256)\":{\"details\":\"execution of proposals, can only be called by the voting machine in which the vote is held.\",\"params\":{\"_param\":\"a parameter of the voting result, 1 yes and 2 is no.\",\"_proposalId\":\"the ID of the voting in the voting machine\"}},\"getParametersHash(bytes32,address)\":{\"details\":\"return a hash of the given parameters\",\"params\":{\"_intVote\":\"the voting machine used to approve a contribution\",\"_voteApproveParams\":\"parameters for the voting machine used to approve a contribution\"},\"return\":\"a hash of the parameters\"},\"getPeriodsToPay(bytes32,address,uint256)\":{\"details\":\"getPeriodsToPay return the periods left to be paid for reputation,nativeToken,ether or externalToken. The function ignore the reward amount to be paid (which can be zero).\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\",\"_redeemType\":\"- the type of the reward  :        0 - reputation        1 - nativeTokenReward        2 - Ether        3 - ExternalToken\"},\"return\":\"periods left to be paid.\"},\"getRedeemedPeriods(bytes32,address,uint256)\":{\"details\":\"getRedeemedPeriods return the already redeemed periods for reputation, nativeToken, ether or externalToken.\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\",\"_redeemType\":\"- the type of the reward  :        0 - reputation        1 - nativeTokenReward        2 - Ether        3 - ExternalToken\"},\"return\":\"redeemed period.\"},\"proposeContributionReward(address,string,int256,uint256[5],address,address)\":{\"details\":\"Submit a proposal for a reward for a contribution:\",\"params\":{\"_avatar\":\"Avatar of the organization that the contribution was made for\",\"_beneficiary\":\"Who gets the rewards\",\"_descriptionHash\":\"A hash of the proposal's description\",\"_externalToken\":\"Address of external token, if reward is requested there\",\"_reputationChange\":\"- Amount of reputation change requested .Can be negative.\",\"_rewards\":\"rewards array:        rewards[0] - Amount of tokens requested per period        rewards[1] - Amount of ETH requested per period        rewards[2] - Amount of external tokens requested per period        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.        rewards[4] - Number of periods\"}},\"redeem(bytes32,address,bool[4])\":{\"details\":\"redeem rewards for proposal\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\",\"_whatToRedeem\":\"whatToRedeem array:        whatToRedeem[0] - reputation        whatToRedeem[1] - nativeTokenReward        whatToRedeem[2] - Ether        whatToRedeem[3] - ExternalToken\"},\"return\":\"result boolean array for each redeem type.\"},\"redeemEther(bytes32,address)\":{\"details\":\"RedeemEther reward for proposal\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\"},\"return\":\"amount ether redeemed amount\"},\"redeemExternalToken(bytes32,address)\":{\"details\":\"RedeemNativeToken reward for proposal\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\"},\"return\":\"amount the external token redeemed amount\"},\"redeemNativeToken(bytes32,address)\":{\"details\":\"RedeemNativeToken reward for proposal\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\"},\"return\":\"amount the redeemed nativeToken.\"},\"redeemReputation(bytes32,address)\":{\"details\":\"RedeemReputation reward for proposal\",\"params\":{\"_avatar\":\"address of the controller\",\"_proposalId\":\"the ID of the voting in the voting machine\"},\"return\":\"reputation the redeemed reputation.\"},\"setParameters(bytes32,address)\":{\"details\":\"hash the parameters, save them if necessary, and return the hash value\"}},\"title\":\"A scheme for proposing and rewarding contributions to an organization\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/universalSchemes/ContributionReward.sol\":\"ContributionReward\"},\"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/ContributionReward.sol\":{\"keccak256\":\"0xe27d4efe660bfca833692b43fa495b0340c7c890eb3fc89a2d4f7775513228a2\",\"urls\":[\"bzzr://419211d543e4301cb418eb84fa1838dc89fc884b727f13b15c7d735b50e1f794\"]},\"@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\":\"0xfea638b11db020fed40daf661f626ec94f3adba9728f9a9fde40dcc371910dcf\",\"urls\":[\"bzzr://8ee66ecd78ab82cf87a7f9beb15434950ff9752a059731b3b579ab27af97be81\"]},\"@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": "0x608060405234801561001057600080fd5b50612d9c806100206000396000f3fe608060405234801561001057600080fd5b506004361061015c5760003560e060020a900480639d4c162d116100c7578063d29b5d2f11610080578063d29b5d2f146105d6578063d58bf09a14610608578063e074ee5514610691578063e63b681e146106c3578063f70bbb9a146106ef578063f81f8bf6146107375761015c565b80639d4c162d146104bc578063b551c373146104f3578063b7c251c314610510578063bb1c935114610542578063bea75f281461056e578063cd3ce306146105aa5761015c565b80636046f71d116101195780636046f71d146102e157806360bdbb3f1461030d57806368e14dac146103395780636b8eb40314610365578063896488b9146103915780639588378e146104905761015c565b8063025068041461016157806306e3a9781461019f5780630d5e1e821461021f5780631c3a57131461025d5780632453732a146102895780633a256daa146102b5575b600080fd5b61017e6004803603602081101561017757600080fd5b5035610769565b60408051928352600160a060020a0390911660208301528051918290030190f35b6101cb600480360360408110156101b557600080fd5b50600160a060020a03813516906020013561078b565b60408051998a5260208a019890985288880196909652600160a060020a0394851660608901526080880193909352921660a086015260c085019190915260e084015261010083015251908190036101200190f35b61024b6004803603604081101561023557600080fd5b5080359060200135600160a060020a03166107e9565b60408051918252519081900360200190f35b61024b6004803603604081101561027357600080fd5b5080359060200135600160a060020a0316610bdc565b61024b6004803603604081101561029f57600080fd5b5080359060200135600160a060020a0316610c0a565b61024b600480360360408110156102cb57600080fd5b5080359060200135600160a060020a0316610c4f565b61024b600480360360408110156102f757600080fd5b5080359060200135600160a060020a0316610c77565b61017e6004803603604081101561032357600080fd5b50600160a060020a038135169060200135610c9f565b61024b6004803603604081101561034f57600080fd5b5080359060200135600160a060020a0316610cc9565b61024b6004803603604081101561037b57600080fd5b50600160a060020a038135169060200135610d1b565b61024b60048036036101408110156103a857600080fd5b600160a060020a0382351691908101906040810160208201356401000000008111156103d357600080fd5b8201836020820111156103e557600080fd5b8035906020019184600183028401116401000000008311171561040757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805160a081810190925293968535969095909460c082019450925060200190600590839083908082843760009201919091525091945050508035600160a060020a03908116925060209091013516610dde565b61024b600480360360408110156104a657600080fd5b50600160a060020a038135169060200135611201565b6104df600480360360408110156104d257600080fd5b508035906020013561132d565b604080519115158252519081900360200190f35b61024b6004803603602081101561050957600080fd5b50356114b7565b61024b6004803603606081101561052657600080fd5b50803590600160a060020a03602082013516906040013561160f565b61024b6004803603604081101561055857600080fd5b5080359060200135600160a060020a031661164c565b6104df6004803603608081101561058457600080fd5b50600160a060020a03813581169160208101359091169060408101359060600135611907565b61024b600480360360408110156105c057600080fd5b5080359060200135600160a060020a0316611ac5565b6104df600480360360608110156105ec57600080fd5b50803590600160a060020a036020820135169060400135611d8e565b61066b600480360360c081101561061e57600080fd5b6040805160808181018352843594600160a060020a0360208201351694810193909260c084019290918401906004908390839080828437600092019190915250919450611f439350505050565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61024b600480360360608110156106a757600080fd5b50803590600160a060020a036020820135169060400135611faf565b61024b600480360360408110156106d957600080fd5b5080359060200135600160a060020a0316612195565b61071b6004803603604081101561070557600080fd5b5080359060200135600160a060020a031661248f565b60408051600160a060020a039092168252519081900360200190f35b6104df6004803603606081101561074d57600080fd5b50803590600160a060020a0360208201351690604001356124bd565b60026020526000908152604090208054600190910154600160a060020a031682565b6001602081815260009384526040808520909152918352912080549181015460028201546003830154600484015460058501546006860154600787015460089097015495969495600160a060020a0394851695939490921692909189565b60006107f3612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b81548152602001906001019080831161089b5750505091909252505050600160a060020a0384166000908152600160209081526040808320888452909152902060088101549192509015156108ef57600080fd5b60006108fd86866000611faf565b600060018401819055602085015182029550909150841315610a365784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561095557600080fd5b505afa158015610969573d6000803e3d6000fd5b505050506040513d602081101561097f57600080fd5b505160a0840151604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a03928316602482015288831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050506040513d6020811015610a2457600080fd5b50511515610a3157600080fd5b610b5a565b6000841215610b5a5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610a7b57600080fd5b505afa158015610a8f573d6000803e3d6000fd5b505050506040513d6020811015610aa557600080fd5b505160a0840151604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260008881036004830152600160a060020a039384166024830152898416604483015291519290931692636e94d2789260648083019360209383900390910190829087803b158015610b2357600080fd5b505af1158015610b37573d6000803e3d6000fd5b505050506040513d6020811015610b4d57600080fd5b50511515610b5a57600080fd5b8315610bc957610b79816009840160005b01549063ffffffff61263a16565b600983015560a0830151604080518681529051600160a060020a03928316928992908916917feab8bc4bf2fd6ce5634b8e75023e0e48367e68249ce2aa2c0ef7c0efe5648bee9181900360200190a45b5060209091015160019091015592915050565b600160a060020a03811660009081526001602090815260408083208584529091529020600401545b92915050565b60408051602080820194909452600160a060020a03929092166c0100000000000000000000000002828201528051808303603401815260549092019052805191012090565b600160a060020a03166000908152600160209081526040808320938352929052206008015490565b600160a060020a03166000908152600160209081526040808320938352929052206002015490565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b600080610cd68484610c0a565b60008181526002602052604090208581556001018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff1990911617905591505092915050565b33600090815260208181526040808320848452909152812060010154600160a060020a0316801515610d51576000915050610c04565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b158015610daa57600080fd5b505afa158015610dbe573d6000803e3d6000fd5b505050506040513d6020811015610dd457600080fd5b5051949350505050565b6000610dea858561264c565b610df2612b7c565b60026000610dff8a612879565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908e166064840152935190955091936388737b5e9260848084019382900301818787803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b505050506040513d6020811015610ecb57600080fd5b5051905083600160a060020a0381161515610ee35750335b610eeb612b11565b60408051610140810182528951815260208082018c90528a015181830152600160a060020a038981166060830152918a0151608082015290831660a082015260c081018960036020908102919091015182520189600460200201518152602001600081526020016080604051908101604052806000815260200160008152602001600081526020016000815250815250905080600160008d600160a060020a0316600160a060020a03168152602001908152602001600020600085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a815481600160a060020a030219169083600160a060020a031602179055506080820151816004015560a08201518160050160006101000a815481600160a060020a030219169083600160a060020a0316021790555060c0820151816006015560e0820151816007015561010082015181600801556101208201518160090190600461106d929190612b93565b509050508360200151600160a060020a0316838c600160a060020a03167fcbdcbf9aaeb1e9eff0f75d74e1c1e044bc87110164baec7d18d825b0450d97df8d8d8d8d89604051808060200186815260200185600560200280838360005b838110156110e25781810151838201526020016110ca565b5050505090500184600160a060020a0316600160a060020a0316815260200183600160a060020a0316600160a060020a03168152602001828103825287818151815260200191508051906020019080838360005b8381101561114e578181015183820152602001611136565b50505050905090810190601f16801561117b5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a45050604080518082018252438152600160a060020a039a8b166020808301918252948501518c1660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff19169290991691909117909755509495945050505050565b600061120b612b7c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515611254576000915050610c04565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561129457600080fd5b505afa1580156112a8573d6000803e3d6000fd5b505050506040513d60208110156112be57600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610daa57600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515611398576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b6113a0612b7c565b503360009081526020818152604080832087845282528083208151808301835281548152600191820154600160a060020a0316818501819052855290835281842088855290925290912060080154156113f857600080fd5b602080820151600160a060020a039081166000908152600183526040808220898352909352919091206005015416151561143157600080fd5b836001141561146657602080820151600160a060020a0316600090815260018252604080822088835290925220426008909101555b848160200151600160a060020a03167fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0866040518082815260200191505060405180910390a3506001949350505050565b60006114c1612b7c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561150a57600091505061160a565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561154a57600080fd5b505afa15801561155e573d6000803e3d6000fd5b505050506040513d602081101561157457600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b1580156115da57600080fd5b505afa1580156115ee573d6000803e3d6000fd5b505050506040513d602081101561160457600080fd5b50519150505b919050565b600160a060020a03821660009081526001602090815260408083208684529091528120600901826004811061164057fe5b015490505b9392505050565b6000611656612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116116fe5750505091909252505050600160a060020a03841660009081526001602090815260408083208884529091529020600881015491925090151561175257600080fd5b600061176086866001611faf565b60008355835190915061177a90829063ffffffff612ad116565b935060008411156118fc5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d60208110156117eb57600080fd5b505160a0840151604080517f6407e43200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a039283166024820152888316604482015290519190921691636407e4329160648083019260209291908290030181600087803b15801561186657600080fd5b505af115801561187a573d6000803e3d6000fd5b505050506040513d602081101561189057600080fd5b5051151561189d57600080fd5b6118ac81600984016001610b6b565b600a83015560a0830151604080518681529051600160a060020a03928316928992908916917f13f7471cab9806ac4ff5d80ae879babfbf1081e240d05c4450b75f69c626cb2e9181900360200190a45b509051905592915050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611972576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156119a8576000925050611abc565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156119e457600080fd5b505afa1580156119f8573d6000803e3d6000fd5b505050506040513d6020811015611a0e57600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b158015611a8c57600080fd5b505af1158015611aa0573d6000803e3d6000fd5b505050506040513d6020811015611ab657600080fd5b50519250505b50949350505050565b6000611acf612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b815481526020019060010190808311611b775750505091909252505050600160a060020a038416600090815260016020908152604080832088845290915290206008810154919250901515611bcb57600080fd5b6000611bd986866002611faf565b600060028401556040840151909150611bf990829063ffffffff612ad116565b93506000841115611d7b5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611c4057600080fd5b505afa158015611c54573d6000803e3d6000fd5b505050506040513d6020811015611c6a57600080fd5b505160a0840151604080517f634965da00000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a03928316602482015288831660448201529051919092169163634965da9160648083019260209291908290030181600087803b158015611ce557600080fd5b505af1158015611cf9573d6000803e3d6000fd5b505050506040513d6020811015611d0f57600080fd5b50511515611d1c57600080fd5b611d2b81600984016002610b6b565b600b83015560a0830151604080518681529051600160a060020a03928316928992908916917f7dd55ea53ce2c347b544c257b778e1dd6638f232fa6b94320e740440e72b4b879181900360200190a45b5060409091015160029091015592915050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611df9576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515611e2f576000925050611f3b565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611e6b57600080fd5b505afa158015611e7f573d6000803e3d6000fd5b505050506040513d6020811015611e9557600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b158015611f0b57600080fd5b505af1158015611f1f573d6000803e3d6000fd5b505050506040513d6020811015611f3557600080fd5b50519250505b509392505050565b60008080808481602002015115611f6157611f5e87876107e9565b93505b602085015115611f7857611f75878761164c565b92505b604085015115611f8f57611f8c8787611ac5565b91505b606085015115611fa657611fa38787612195565b90505b93509350935093565b60006003821115611ff45760405160e560020a62461bcd028152600401808060200182810382526026815260200180612d176026913960400191505060405180910390fd5b611ffc612b11565b600160a060020a0384811660009081526001602081815260408084208a8552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116120a4575050505050815250509050806101000151600014156120da576000915050611645565b6000808260c0015111156121115760c082015161010083015161210490429063ffffffff612afc16565b81151561210d57fe5b0490505b60008260c001516000148061212a57508260e001518210155b156121615761012083015161215a90866004811061214457fe5b602002015160e08501519063ffffffff612afc16565b905061218b565b61012083015161218890866004811061217657fe5b6020020151839063ffffffff612afc16565b90505b9695505050505050565b600061219f612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116122475750505091909252505050600160a060020a03841660009081526001602090815260408083208884529091529020600881015491925090151561229b57600080fd5b60006122a986866003611faf565b600060048401556003830154909150600160a060020a0316158015906122d3575060008360800151115b1561247c5760808301516122ee90829063ffffffff612ad116565b9350600084111561247c5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561233557600080fd5b505afa158015612349573d6000803e3d6000fd5b505050506040513d602081101561235f57600080fd5b5051606084015160a0850151604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a039384166004820152918316602483015260448201889052888316606483015251919092169163b9a04cdd9160848083019260209291908290030181600087803b1580156123e657600080fd5b505af11580156123fa573d6000803e3d6000fd5b505050506040513d602081101561241057600080fd5b5051151561241d57600080fd5b61242c81600984016003610b6b565b600c83015560a0830151604080518681529051600160a060020a03928316928992908916917f5a66e28cdcd3bc22082d9f07be2b6bed5f50f349e5d89f655d750ecdd19883749181900360200190a45b5060809091015160049091015592915050565b600160a060020a03908116600090815260016020908152604080832094835293905291909120600301541690565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515612528576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561255e576000925050611f3b565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561259a57600080fd5b505afa1580156125ae573d6000803e3d6000fd5b505050506040513d60208110156125c457600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b158015611f0b57600080fd5b60008282018381101561164557600080fd5b606081015160001080612663575060808101516001145b15156126a35760405160e560020a62461bcd028152600401808060200182810382526034815260200180612c0e6034913960400191505060405180910390fd5b6080810151600010156128755760808101516000191480156126e45750817f8000000000000000000000000000000000000000000000000000000000000000145b156127235760405160e560020a62461bcd028152600401808060200182810382526031815260200180612ce66031913960400191505060405180910390fd5b6080810151829080820281151561273657fe5b05146127765760405160e560020a62461bcd028152600401808060200182810382526030815260200180612c8d6030913960400191505060405180910390fd5b8051608082015180820281151561278957fe5b04146127c95760405160e560020a62461bcd02815260040180806020018281038252602b815260200180612c62602b913960400191505060405180910390fd5b602081015160808201518082028115156127df57fe5b041461281f5760405160e560020a62461bcd028152600401808060200182810382526029815260200180612cbd6029913960400191505060405180910390fd5b6040810151608082015180820281151561283557fe5b04146128755760405160e560020a62461bcd028152600401808060200182810382526034815260200180612d3d6034913960400191505060405180910390fd5b5050565b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156128b757600080fd5b505afa1580156128cb573d6000803e3d6000fd5b505050506040513d60208110156128e157600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b15801561294c57600080fd5b505afa158015612960573d6000803e3d6000fd5b505050506040513d602081101561297657600080fd5b505115156129ce576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015612a0a57600080fd5b505afa158015612a1e573d6000803e3d6000fd5b505050506040513d6020811015612a3457600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015612a9f57600080fd5b505afa158015612ab3573d6000803e3d6000fd5b505050506040513d6020811015612ac957600080fd5b505192915050565b6000821515612ae257506000610c04565b828202828482811515612af157fe5b041461164557600080fd5b600082821115612b0b57600080fd5b50900390565b6101a0604051908101604052806000815260200160008152602001600081526020016000600160a060020a03168152602001600081526020016000600160a060020a03168152602001600081526020016000815260200160008152602001612b77612bd1565b905290565b604080518082019091526000808252602082015290565b8260048101928215612bc1579160200282015b82811115612bc1578251825591602001919060010190612ba6565b50612bcd929150612bf0565b5090565b6080604051908101604052806004906020820280388339509192915050565b612c0a91905b80821115612bcd5760008155600101612bf6565b9056fe706572696f644c656e67746820657175616c20302072657175697265206e756d6265724f66506572696f647320746f20626520316f6e6c7920566f74696e674d616368696e6500000000000000000000000000006e756d6265724f66506572696f6473202a20746f6b656e5265776172642077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a2072657075746174696f6e4368616e67652077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a206574685265776172642077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a205f72657075746174696f6e4368616e67652077696c6c206f766572666c6f7773686f756c6420626520696e207468652072656465656d6564506572696f64732072616e67656e756d6265724f66506572696f6473202a207465787465726e616c546f6b656e5265776172642077696c6c206f766572666c6f77a165627a7a723058208293d3f39ac1f6beefee75b36bc8181d562486a3615a3587f59e11b39bcff1800029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061015c5760003560e060020a900480639d4c162d116100c7578063d29b5d2f11610080578063d29b5d2f146105d6578063d58bf09a14610608578063e074ee5514610691578063e63b681e146106c3578063f70bbb9a146106ef578063f81f8bf6146107375761015c565b80639d4c162d146104bc578063b551c373146104f3578063b7c251c314610510578063bb1c935114610542578063bea75f281461056e578063cd3ce306146105aa5761015c565b80636046f71d116101195780636046f71d146102e157806360bdbb3f1461030d57806368e14dac146103395780636b8eb40314610365578063896488b9146103915780639588378e146104905761015c565b8063025068041461016157806306e3a9781461019f5780630d5e1e821461021f5780631c3a57131461025d5780632453732a146102895780633a256daa146102b5575b600080fd5b61017e6004803603602081101561017757600080fd5b5035610769565b60408051928352600160a060020a0390911660208301528051918290030190f35b6101cb600480360360408110156101b557600080fd5b50600160a060020a03813516906020013561078b565b60408051998a5260208a019890985288880196909652600160a060020a0394851660608901526080880193909352921660a086015260c085019190915260e084015261010083015251908190036101200190f35b61024b6004803603604081101561023557600080fd5b5080359060200135600160a060020a03166107e9565b60408051918252519081900360200190f35b61024b6004803603604081101561027357600080fd5b5080359060200135600160a060020a0316610bdc565b61024b6004803603604081101561029f57600080fd5b5080359060200135600160a060020a0316610c0a565b61024b600480360360408110156102cb57600080fd5b5080359060200135600160a060020a0316610c4f565b61024b600480360360408110156102f757600080fd5b5080359060200135600160a060020a0316610c77565b61017e6004803603604081101561032357600080fd5b50600160a060020a038135169060200135610c9f565b61024b6004803603604081101561034f57600080fd5b5080359060200135600160a060020a0316610cc9565b61024b6004803603604081101561037b57600080fd5b50600160a060020a038135169060200135610d1b565b61024b60048036036101408110156103a857600080fd5b600160a060020a0382351691908101906040810160208201356401000000008111156103d357600080fd5b8201836020820111156103e557600080fd5b8035906020019184600183028401116401000000008311171561040757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805160a081810190925293968535969095909460c082019450925060200190600590839083908082843760009201919091525091945050508035600160a060020a03908116925060209091013516610dde565b61024b600480360360408110156104a657600080fd5b50600160a060020a038135169060200135611201565b6104df600480360360408110156104d257600080fd5b508035906020013561132d565b604080519115158252519081900360200190f35b61024b6004803603602081101561050957600080fd5b50356114b7565b61024b6004803603606081101561052657600080fd5b50803590600160a060020a03602082013516906040013561160f565b61024b6004803603604081101561055857600080fd5b5080359060200135600160a060020a031661164c565b6104df6004803603608081101561058457600080fd5b50600160a060020a03813581169160208101359091169060408101359060600135611907565b61024b600480360360408110156105c057600080fd5b5080359060200135600160a060020a0316611ac5565b6104df600480360360608110156105ec57600080fd5b50803590600160a060020a036020820135169060400135611d8e565b61066b600480360360c081101561061e57600080fd5b6040805160808181018352843594600160a060020a0360208201351694810193909260c084019290918401906004908390839080828437600092019190915250919450611f439350505050565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61024b600480360360608110156106a757600080fd5b50803590600160a060020a036020820135169060400135611faf565b61024b600480360360408110156106d957600080fd5b5080359060200135600160a060020a0316612195565b61071b6004803603604081101561070557600080fd5b5080359060200135600160a060020a031661248f565b60408051600160a060020a039092168252519081900360200190f35b6104df6004803603606081101561074d57600080fd5b50803590600160a060020a0360208201351690604001356124bd565b60026020526000908152604090208054600190910154600160a060020a031682565b6001602081815260009384526040808520909152918352912080549181015460028201546003830154600484015460058501546006860154600787015460089097015495969495600160a060020a0394851695939490921692909189565b60006107f3612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b81548152602001906001019080831161089b5750505091909252505050600160a060020a0384166000908152600160209081526040808320888452909152902060088101549192509015156108ef57600080fd5b60006108fd86866000611faf565b600060018401819055602085015182029550909150841315610a365784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561095557600080fd5b505afa158015610969573d6000803e3d6000fd5b505050506040513d602081101561097f57600080fd5b505160a0840151604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a03928316602482015288831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050506040513d6020811015610a2457600080fd5b50511515610a3157600080fd5b610b5a565b6000841215610b5a5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015610a7b57600080fd5b505afa158015610a8f573d6000803e3d6000fd5b505050506040513d6020811015610aa557600080fd5b505160a0840151604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260008881036004830152600160a060020a039384166024830152898416604483015291519290931692636e94d2789260648083019360209383900390910190829087803b158015610b2357600080fd5b505af1158015610b37573d6000803e3d6000fd5b505050506040513d6020811015610b4d57600080fd5b50511515610b5a57600080fd5b8315610bc957610b79816009840160005b01549063ffffffff61263a16565b600983015560a0830151604080518681529051600160a060020a03928316928992908916917feab8bc4bf2fd6ce5634b8e75023e0e48367e68249ce2aa2c0ef7c0efe5648bee9181900360200190a45b5060209091015160019091015592915050565b600160a060020a03811660009081526001602090815260408083208584529091529020600401545b92915050565b60408051602080820194909452600160a060020a03929092166c0100000000000000000000000002828201528051808303603401815260549092019052805191012090565b600160a060020a03166000908152600160209081526040808320938352929052206008015490565b600160a060020a03166000908152600160209081526040808320938352929052206002015490565b600060208181529281526040808220909352908152208054600190910154600160a060020a031682565b600080610cd68484610c0a565b60008181526002602052604090208581556001018054600160a060020a03861673ffffffffffffffffffffffffffffffffffffffff1990911617905591505092915050565b33600090815260208181526040808320848452909152812060010154600160a060020a0316801515610d51576000915050610c04565b83600160a060020a03166370a08231826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b158015610daa57600080fd5b505afa158015610dbe573d6000803e3d6000fd5b505050506040513d6020811015610dd457600080fd5b5051949350505050565b6000610dea858561264c565b610df2612b7c565b60026000610dff8a612879565b815260208082019290925260409081016000908120825180840184528154808252600190920154600160a060020a0390811682870181905285517f88737b5e000000000000000000000000000000000000000000000000000000008152600260048201526024810194909452336044850152908e166064840152935190955091936388737b5e9260848084019382900301818787803b158015610ea157600080fd5b505af1158015610eb5573d6000803e3d6000fd5b505050506040513d6020811015610ecb57600080fd5b5051905083600160a060020a0381161515610ee35750335b610eeb612b11565b60408051610140810182528951815260208082018c90528a015181830152600160a060020a038981166060830152918a0151608082015290831660a082015260c081018960036020908102919091015182520189600460200201518152602001600081526020016080604051908101604052806000815260200160008152602001600081526020016000815250815250905080600160008d600160a060020a0316600160a060020a03168152602001908152602001600020600085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a815481600160a060020a030219169083600160a060020a031602179055506080820151816004015560a08201518160050160006101000a815481600160a060020a030219169083600160a060020a0316021790555060c0820151816006015560e0820151816007015561010082015181600801556101208201518160090190600461106d929190612b93565b509050508360200151600160a060020a0316838c600160a060020a03167fcbdcbf9aaeb1e9eff0f75d74e1c1e044bc87110164baec7d18d825b0450d97df8d8d8d8d89604051808060200186815260200185600560200280838360005b838110156110e25781810151838201526020016110ca565b5050505090500184600160a060020a0316600160a060020a0316815260200183600160a060020a0316600160a060020a03168152602001828103825287818151815260200191508051906020019080838360005b8381101561114e578181015183820152602001611136565b50505050905090810190601f16801561117b5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a45050604080518082018252438152600160a060020a039a8b166020808301918252948501518c1660009081528086528381208582529095529190932092518355516001909201805473ffffffffffffffffffffffffffffffffffffffff19169290991691909117909755509495945050505050565b600061120b612b7c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a03169082018190521515611254576000915050610c04565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561129457600080fd5b505afa1580156112a8573d6000803e3d6000fd5b505050506040513d60208110156112be57600080fd5b50518151604080517f4ee2cd7e000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482019390935290519190921691634ee2cd7e916044808301926020929190829003018186803b158015610daa57600080fd5b336000908152602081815260408083208584529091528120600101548390600160a060020a03161515611398576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b6113a0612b7c565b503360009081526020818152604080832087845282528083208151808301835281548152600191820154600160a060020a0316818501819052855290835281842088855290925290912060080154156113f857600080fd5b602080820151600160a060020a039081166000908152600183526040808220898352909352919091206005015416151561143157600080fd5b836001141561146657602080820151600160a060020a0316600090815260018252604080822088835290925220426008909101555b848160200151600160a060020a03167fd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0866040518082815260200191505060405180910390a3506001949350505050565b60006114c1612b7c565b503360009081526020818152604080832085845282529182902082518084019093528054835260010154600160a060020a0316908201819052151561150a57600091505061160a565b8060200151600160a060020a03166389ae1c906040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561154a57600080fd5b505afa15801561155e573d6000803e3d6000fd5b505050506040513d602081101561157457600080fd5b50518151604080517f981b24d0000000000000000000000000000000000000000000000000000000008152600481019290925251600160a060020a039092169163981b24d091602480820192602092909190829003018186803b1580156115da57600080fd5b505afa1580156115ee573d6000803e3d6000fd5b505050506040513d602081101561160457600080fd5b50519150505b919050565b600160a060020a03821660009081526001602090815260408083208684529091528120600901826004811061164057fe5b015490505b9392505050565b6000611656612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116116fe5750505091909252505050600160a060020a03841660009081526001602090815260408083208884529091529020600881015491925090151561175257600080fd5b600061176086866001611faf565b60008355835190915061177a90829063ffffffff612ad116565b935060008411156118fc5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d60208110156117eb57600080fd5b505160a0840151604080517f6407e43200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a039283166024820152888316604482015290519190921691636407e4329160648083019260209291908290030181600087803b15801561186657600080fd5b505af115801561187a573d6000803e3d6000fd5b505050506040513d602081101561189057600080fd5b5051151561189d57600080fd5b6118ac81600984016001610b6b565b600a83015560a0830151604080518681529051600160a060020a03928316928992908916917f13f7471cab9806ac4ff5d80ae879babfbf1081e240d05c4450b75f69c626cb2e9181900360200190a45b509051905592915050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611972576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a03168015156119a8576000925050611abc565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156119e457600080fd5b505afa1580156119f8573d6000803e3d6000fd5b505050506040513d6020811015611a0e57600080fd5b5051604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483015289811660248301526044820189905284811660648301529151919092169163b9a04cdd9160848083019260209291908290030181600087803b158015611a8c57600080fd5b505af1158015611aa0573d6000803e3d6000fd5b505050506040513d6020811015611ab657600080fd5b50519250505b50949350505050565b6000611acf612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b815481526020019060010190808311611b775750505091909252505050600160a060020a038416600090815260016020908152604080832088845290915290206008810154919250901515611bcb57600080fd5b6000611bd986866002611faf565b600060028401556040840151909150611bf990829063ffffffff612ad116565b93506000841115611d7b5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611c4057600080fd5b505afa158015611c54573d6000803e3d6000fd5b505050506040513d6020811015611c6a57600080fd5b505160a0840151604080517f634965da00000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a03928316602482015288831660448201529051919092169163634965da9160648083019260209291908290030181600087803b158015611ce557600080fd5b505af1158015611cf9573d6000803e3d6000fd5b505050506040513d6020811015611d0f57600080fd5b50511515611d1c57600080fd5b611d2b81600984016002610b6b565b600b83015560a0830151604080518681529051600160a060020a03928316928992908916917f7dd55ea53ce2c347b544c257b778e1dd6638f232fa6b94320e740440e72b4b879181900360200190a45b5060409091015160029091015592915050565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515611df9576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a0316801515611e2f576000925050611f3b565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015611e6b57600080fd5b505afa158015611e7f573d6000803e3d6000fd5b505050506040513d6020811015611e9557600080fd5b5051604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a03888116602483015284811660448301529151919092169163eaf994b29160648083019260209291908290030181600087803b158015611f0b57600080fd5b505af1158015611f1f573d6000803e3d6000fd5b505050506040513d6020811015611f3557600080fd5b50519250505b509392505050565b60008080808481602002015115611f6157611f5e87876107e9565b93505b602085015115611f7857611f75878761164c565b92505b604085015115611f8f57611f8c8787611ac5565b91505b606085015115611fa657611fa38787612195565b90505b93509350935093565b60006003821115611ff45760405160e560020a62461bcd028152600401808060200182810382526026815260200180612d176026913960400191505060405180910390fd5b611ffc612b11565b600160a060020a0384811660009081526001602081815260408084208a8552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116120a4575050505050815250509050806101000151600014156120da576000915050611645565b6000808260c0015111156121115760c082015161010083015161210490429063ffffffff612afc16565b81151561210d57fe5b0490505b60008260c001516000148061212a57508260e001518210155b156121615761012083015161215a90866004811061214457fe5b602002015160e08501519063ffffffff612afc16565b905061218b565b61012083015161218890866004811061217657fe5b6020020151839063ffffffff612afc16565b90505b9695505050505050565b600061219f612b11565b600160a060020a038381166000908152600160208181526040808420898552825292839020835161014081018552815481529281015491830191909152600281015482840152600381015484166060830152600480820154608080850191909152600583015490951660a0840152600682015460c0840152600782015460e0840152600882015461010084015283519485019384905291939092610120850192600985019182845b8154815260200190600101908083116122475750505091909252505050600160a060020a03841660009081526001602090815260408083208884529091529020600881015491925090151561229b57600080fd5b60006122a986866003611faf565b600060048401556003830154909150600160a060020a0316158015906122d3575060008360800151115b1561247c5760808301516122ee90829063ffffffff612ad116565b9350600084111561247c5784600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561233557600080fd5b505afa158015612349573d6000803e3d6000fd5b505050506040513d602081101561235f57600080fd5b5051606084015160a0850151604080517fb9a04cdd000000000000000000000000000000000000000000000000000000008152600160a060020a039384166004820152918316602483015260448201889052888316606483015251919092169163b9a04cdd9160848083019260209291908290030181600087803b1580156123e657600080fd5b505af11580156123fa573d6000803e3d6000fd5b505050506040513d602081101561241057600080fd5b5051151561241d57600080fd5b61242c81600984016003610b6b565b600c83015560a0830151604080518681529051600160a060020a03928316928992908916917f5a66e28cdcd3bc22082d9f07be2b6bed5f50f349e5d89f655d750ecdd19883749181900360200190a45b5060809091015160049091015592915050565b600160a060020a03908116600090815260016020908152604080832094835293905291909120600301541690565b336000908152602081815260408083208484529091528120600101548290600160a060020a03161515612528576040805160e560020a62461bcd0281526020600482015260126024820152600080516020612c42833981519152604482015290519081900360640190fd5b33600090815260208181526040808320868452909152902060010154600160a060020a031680151561255e576000925050611f3b565b80600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561259a57600080fd5b505afa1580156125ae573d6000803e3d6000fd5b505050506040513d60208110156125c457600080fd5b5051604080517f6e94d27800000000000000000000000000000000000000000000000000000000815260048101899052600160a060020a038881166024830152848116604483015291519190921691636e94d2789160648083019260209291908290030181600087803b158015611f0b57600080fd5b60008282018381101561164557600080fd5b606081015160001080612663575060808101516001145b15156126a35760405160e560020a62461bcd028152600401808060200182810382526034815260200180612c0e6034913960400191505060405180910390fd5b6080810151600010156128755760808101516000191480156126e45750817f8000000000000000000000000000000000000000000000000000000000000000145b156127235760405160e560020a62461bcd028152600401808060200182810382526031815260200180612ce66031913960400191505060405180910390fd5b6080810151829080820281151561273657fe5b05146127765760405160e560020a62461bcd028152600401808060200182810382526030815260200180612c8d6030913960400191505060405180910390fd5b8051608082015180820281151561278957fe5b04146127c95760405160e560020a62461bcd02815260040180806020018281038252602b815260200180612c62602b913960400191505060405180910390fd5b602081015160808201518082028115156127df57fe5b041461281f5760405160e560020a62461bcd028152600401808060200182810382526029815260200180612cbd6029913960400191505060405180910390fd5b6040810151608082015180820281151561283557fe5b04146128755760405160e560020a62461bcd028152600401808060200182810382526034815260200180612d3d6034913960400191505060405180910390fd5b5050565b600081600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156128b757600080fd5b505afa1580156128cb573d6000803e3d6000fd5b505050506040513d60208110156128e157600080fd5b5051604080517f9be2faed000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691639be2faed916044808301926020929190829003018186803b15801561294c57600080fd5b505afa158015612960573d6000803e3d6000fd5b505050506040513d602081101561297657600080fd5b505115156129ce576040805160e560020a62461bcd02815260206004820152601860248201527f736368656d65206973206e6f7420726567697374657265640000000000000000604482015290519081900360640190fd5b81600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a02815260040160206040518083038186803b158015612a0a57600080fd5b505afa158015612a1e573d6000803e3d6000fd5b505050506040513d6020811015612a3457600080fd5b5051604080517f1c4d5608000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03858116602483015291519190921691631c4d5608916044808301926020929190829003018186803b158015612a9f57600080fd5b505afa158015612ab3573d6000803e3d6000fd5b505050506040513d6020811015612ac957600080fd5b505192915050565b6000821515612ae257506000610c04565b828202828482811515612af157fe5b041461164557600080fd5b600082821115612b0b57600080fd5b50900390565b6101a0604051908101604052806000815260200160008152602001600081526020016000600160a060020a03168152602001600081526020016000600160a060020a03168152602001600081526020016000815260200160008152602001612b77612bd1565b905290565b604080518082019091526000808252602082015290565b8260048101928215612bc1579160200282015b82811115612bc1578251825591602001919060010190612ba6565b50612bcd929150612bf0565b5090565b6080604051908101604052806004906020820280388339509192915050565b612c0a91905b80821115612bcd5760008155600101612bf6565b9056fe706572696f644c656e67746820657175616c20302072657175697265206e756d6265724f66506572696f647320746f20626520316f6e6c7920566f74696e674d616368696e6500000000000000000000000000006e756d6265724f66506572696f6473202a20746f6b656e5265776172642077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a2072657075746174696f6e4368616e67652077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a206574685265776172642077696c6c206f766572666c6f776e756d6265724f66506572696f6473202a205f72657075746174696f6e4368616e67652077696c6c206f766572666c6f7773686f756c6420626520696e207468652072656465656d6564506572696f64732072616e67656e756d6265724f66506572696f6473202a207465787465726e616c546f6b656e5265776172642077696c6c206f766572666c6f77a165627a7a723058208293d3f39ac1f6beefee75b36bc8181d562486a3615a3587f59e11b39bcff1800029",
  "sourceMap": "499:18695:36:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;499:18695:36;;;;;;;",
  "deployedSourceMap": "499:18695:36:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;499:18695:36;;;;;;;;-1:-1:-1;;;499:18695:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2687:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2687:46:36;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2687:46:36;;;;;;;;;;;;;;;;2288:86;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2288:86:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2288:86:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7647:1346;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7647:1346:36;;;;;;-1:-1:-1;;;;;7647:1346:36;;:::i;:::-;;;;;;;;;;;;;;;;16528:196;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16528:196:36;;;;;;-1:-1:-1;;;;;16528:196:36;;:::i;4510:220::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4510:220:36;;;;;;-1:-1:-1;;;;;4510:220:36;;:::i;16929:184::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16929:184:36;;;;;;-1:-1:-1;;;;;16929:184:36;;:::i;16346:176::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16346:176:36;;;;;;-1:-1:-1;;;;;16346:176:36;;:::i;598:73:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;598:73:43;;;;;;;;:::i;3836:396:36:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3836:396:36;;;;;;-1:-1:-1;;;;;3836:396:36;;:::i;2000:346:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:346:43;;;;;;;;:::i;5571:1842:36:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5571:1842:36;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5571:1842:36;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5571:1842:36;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;5571:1842:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;5571:1842:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5571:1842:36;-1:-1:-1;5571:1842:36;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;5571:1842:36;;-1:-1:-1;;;5571:1842:36;;-1:-1:-1;;;;;5571:1842:36;;;;-1:-1:-1;5571:1842:36;;;;;;;:::i;2693:345:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2693:345:43;;;;;;;;:::i;2999:734:36:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2999:734:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2352:335:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2352:335:43;;:::i;16114:226:36:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16114:226:36;;;-1:-1:-1;;;;;16114:226:36;;;;;;;;;;:::i;9225:1055::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9225:1055:36;;;;;;-1:-1:-1;;;;;9225:1055:36;;:::i;1510:484:43:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1510:484:43;;;;;;;;;;;;;;;;;;;;;;:::i;10502:1001:36:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10502:1001:36;;;;;;-1:-1:-1;;;;;10502:1001:36;;:::i;678:410:43:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;678:410:43;;;-1:-1:-1;;;;;678:410:43;;;;;;;;;;:::i;13467:673:36:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;13467:673:36;;;;;;;;;;;;-1:-1:-1;;;;;13467:673:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;13467:673:36;;-1:-1:-1;13467:673:36;;-1:-1:-1;;;;13467:673:36:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14679:975;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14679:975:36;;;-1:-1:-1;;;;;14679:975:36;;;;;;;;;;:::i;11744:1266::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11744:1266:36;;;;;;-1:-1:-1;;;;;11744:1266:36;;:::i;16730:193::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16730:193:36;;;;;;-1:-1:-1;;;;;16730:193:36;;:::i;:::-;;;;-1:-1:-1;;;;;16730:193:36;;;;;;;;;;;;;;1094:410:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1094:410:43;;;-1:-1:-1;;;;;1094:410:43;;;;;;;;;;:::i;2687:46:36:-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2687:46:36;;:::o;2288:86::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2288:86:36;;;;;;;;;;;;;:::o;7647:1346::-;7725:17;7755:37;;:::i;:::-;-1:-1:-1;;;;;7795:40:36;;;;;;;:22;:40;;;;;;;;:53;;;;;;;;;7755:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7795:53;;7755:93;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7755:93:36;;;;-1:-1:-1;;;;;;;;7898:40:36;;7858:37;7898:40;;;:22;:40;;;;;;;;:53;;;;;;;;7969:22;;;;7755:93;;-1:-1:-1;7898:53:36;7969:27;;7961:36;;;;;;8007:20;8030:49;8046:11;8067:7;8077:1;8030:15;:49::i;:::-;8186:1;8158:25;;;:29;;;8230:26;;;;8210:46;;;-1:-1:-1;8007:72:36;;-1:-1:-1;8270:14:36;;8266:391;;;8354:7;-1:-1:-1;;;;;8354:13:36;;:15;;;;;-1:-1:-1;;;8354:15:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8354:15:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8354:15:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8354:15:36;8404:21;;;;8321:123;;;;;;;;;;;;-1:-1:-1;;;;;8321:123:36;;;;;;;;;;;;;;;;:64;;;;;;;:123;;;;;8354:15;;8321:123;;;;;;;-1:-1:-1;8321:64:36;:123;;;5:2:-1;;;;30:1;27;20:12;5:2;8321:123:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8321:123:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8321:123:36;8300:145;;;;;;;;8266:391;;;8479:1;8466:10;:14;8462:195;;;8550:7;-1:-1:-1;;;;;8550:13:36;;:15;;;;;-1:-1:-1;;;8550:15:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8550:15:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8550:15:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8550:15:36;8605:21;;;;8517:128;;;;;;8587:15;;;;8517:128;;;;-1:-1:-1;;;;;8517:128:36;;;;;;;;;;;;;;;;:64;;;;;;;:128;;;;;8550:15;;8517:128;;;;;;;;;:64;:128;;;5:2:-1;;;;30:1;27;20:12;5:2;8517:128:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8517:128:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8517:128:36;8496:150;;;;;;;;8670:15;;8666:222;;8731:45;8763:12;8731:24;;;8756:1;8731:27;;;;:45;:31;:45;:::i;:::-;8701:24;;;:75;8843:21;;;;8795:82;;;;;;;;-1:-1:-1;;;;;8795:82:36;;;;8830:11;;8795:82;;;;;;;;;;;;;8666:222;-1:-1:-1;8960:26:36;;;;;8932:25;;;;:54;7647:1346;;-1:-1:-1;;7647:1346:36:o;16528:196::-;-1:-1:-1;;;;;16653:31:36;;16627:7;16653:31;;;:22;:31;;;;;;;;:44;;;;;;;;:64;;;16528:196;;;;;:::o;4510:220::-;4675:46;;;;;;;;;;;-1:-1:-1;;;;;4675:46:36;;;;;;;;;;;;26:21:-1;;;22:32;;6:49;;4675:46:36;;;;;;4665:57;;;;;;4510:220::o;16929:184::-;-1:-1:-1;;;;;17048:31:36;17022:7;17048:31;;;:22;:31;;;;;;;;:44;;;;;;;:58;;;;16929:184::o;16346:176::-;-1:-1:-1;;;;;16461:31:36;16435:7;16461:31;;;:22;:31;;;;;;;;:44;;;;;;;:54;;;;16346:176::o;598:73:43:-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;598:73:43;;:::o;3836:396:36:-;3951:7;3974:18;3995:81;4026:18;4058:8;3995:17;:81::i;:::-;4086:22;;;;:10;:22;;;;;:61;;;4157:30;;:41;;-1:-1:-1;;;;;4157:41:36;;-1:-1:-1;;4157:41:36;;;;;;3974:102;-1:-1:-1;;3836:396:36;;;;:::o;2000:346:43:-;2145:10;2096:7;2131:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;2131:45:43;2190:58;;2186:97;;;2271:1;2264:8;;;;;2186:97;2299:13;-1:-1:-1;;;;;2299:23:43;;2331:6;2299:40;;;;;-1:-1:-1;;;2299:40:43;;;;;;;-1:-1:-1;;;;;2299:40:43;-1:-1:-1;;;;;2299:40:43;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2299:40:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2299:40:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2299:40:43;;2000:346;-1:-1:-1;;;;2000:346:43:o;5571:1842:36:-;5835:7;5858:51;5881:17;5900:8;5858:22;:51::i;:::-;5919:34;;:::i;:::-;5956:10;:48;5967:36;5995:7;5967:27;:36::i;:::-;5956:48;;;;;;;;;;;;;;-1:-1:-1;5956:48:36;;;5919:85;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5919:85:36;;;;;;;;;6040:143;;;;;6082:1;6040:143;;;;;;;;;;;6137:10;6040:143;;;;;;;;;;;;;5919:85;;-1:-1:-1;;;6040:32:36;;:143;;;;;;;;;;-1:-1:-1;5919:85:36;6040:143;;;5:2:-1;;;;30:1;27;20:12;5:2;6040:143:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6040:143:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6040:143:36;;-1:-1:-1;6224:12:36;-1:-1:-1;;;;;6250:25:36;;;6246:80;;;-1:-1:-1;6305:10:36;6246:80;6336:36;;:::i;:::-;6375:465;;;;;;;;6429:11;;6375:465;;6429:11;6375:465;;;;;;6514:11;;;6375:465;;;;-1:-1:-1;;;;;6375:465:36;;;;;;;6603:11;;;;6375:465;;;;;;;;;;;;;;6429:11;6689:1;6680:11;;;;;;;;;6375:465;;;6722:8;6731:1;6722:11;;;;6375:465;;;;6762:1;6375:465;;;;;;;;;;;;;6799:1;6375:465;;;;6808:1;6375:465;;;;6817:1;6375:465;;;;6826:1;6375:465;;;;;;6336:504;;6909:8;6850:22;:40;6881:7;-1:-1:-1;;;;;6850:40:36;-1:-1:-1;;;;;6850:40:36;;;;;;;;;;;;:56;6891:14;6850:56;;;;;;;;;;;:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6850:67:36;;;;;-1:-1:-1;;;;;6850:67:36;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6850:67:36;;;;;-1:-1:-1;;;;;6850:67:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;7036:16;:24;;;-1:-1:-1;;;;;6933:274:36;7000:14;6978:7;-1:-1:-1;;;;;6933:274:36;;7075:16;7105:17;7136:8;7158:14;7186:11;6933:274;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6933:274:36;;;;;;;-1:-1:-1;;;;;6933:274:36;-1:-1:-1;;;;;6933:274:36;;;;;;-1:-1:-1;;;;;6933:274:36;-1:-1:-1;;;;;6933:274:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6933:274:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7285:90:36;;;;;;;;7324:12;7285:90;;-1:-1:-1;;;;;7285:90:36;;;;;;;;;;7240:24;;;;7218:48;;-1:-1:-1;7218:48:36;;;;;;;;;:64;;;;;;;;;;:157;;;;;;;;;;;-1:-1:-1;;7218:157:36;;;;;;;;;;;;-1:-1:-1;7218:64:36;;5571:1842;-1:-1:-1;;;;;5571:1842:36:o;2693:345:43:-;2774:7;2793:28;;:::i;:::-;-1:-1:-1;2838:10:43;2824:13;:25;;;;;;;;;;;:38;;;;;;;;;2793:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2793:69:43;;;;;;;2876:28;2872:67;;;2927:1;2920:8;;;;;2872:67;2955:8;:15;;;-1:-1:-1;;;;;2955:32:43;;:34;;;;;-1:-1:-1;;;2955:34:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2955:34:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2955:34:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2955:34:43;3010:20;;2955:76;;;;;;-1:-1:-1;;;;;2955:76:43;;;;;;;;;;;;;;;;:46;;;;;;;:76;;;;;:34;;:76;;;;;;;:46;:76;;;5:2:-1;;;;30:1;27;20:12;2999:734:36;443:10:43;3108:4:36;429:25:43;;;;;;;;;;;:38;;;;;;;;:45;;;3087:11:36;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;3124:28:36;;:::i;:::-;-1:-1:-1;3169:10:36;3155:13;:25;;;;;;;;;;;:38;;;;;;;;3124:69;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3124:69:36;;;;;;;3211:48;;;;;;;;:61;;;;;;;;;:75;;;:80;3203:89;;;;;;3341:15;;;;;-1:-1:-1;;;;;3310:48:36;;;3395:1;3310:48;;;:22;:48;;;;;;:61;;;;;;;;;;:73;;;;:87;;3302:96;;;;;;3453:6;3463:1;3453:11;3449:179;;;3567:15;;;;;-1:-1:-1;;;;;3536:48:36;;;;;:22;:48;;;;;;:61;;;;;;;3614:3;3536:75;;;;:81;3449:179;3685:11;3667:8;:15;;;-1:-1:-1;;;;;3642:63:36;;3698:6;3642:63;;;;;;;;;;;;;;;;;;-1:-1:-1;3722:4:36;;2999:734;-1:-1:-1;;;;2999:734:36:o;2352:335:43:-;2429:7;2448:28;;:::i;:::-;-1:-1:-1;2493:10:43;2479:13;:25;;;;;;;;;;;:38;;;;;;;;;2448:69;;;;;;;;;;;;;;;-1:-1:-1;;;;;2448:69:43;;;;;;;2531:28;2527:67;;;2582:1;2575:8;;;;;2527:67;2610:8;:15;;;-1:-1:-1;;;;;2610:32:43;;:34;;;;;-1:-1:-1;;;2610:34:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2610:34:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:34:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:34:43;2659:20;;2610:70;;;;;;;;;;;;;;-1:-1:-1;;;;;2610:48:43;;;;;;:70;;;;;:34;;:70;;;;;;;;:48;:70;;;5:2:-1;;;;30:1;27;20:12;5:2;2610:70:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2610:70:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2610:70:43;;-1:-1:-1;;2352:335:43;;;;:::o;16114:226:36:-;-1:-1:-1;;;;;16260:31:36;;16234:7;16260:31;;;:22;:31;;;;;;;;:44;;;;;;;;:60;;16321:11;16260:73;;;;;;;;;16253:80;;16114:226;;;;;;:::o;9225:1055::-;9304:14;9331:37;;:::i;:::-;-1:-1:-1;;;;;9371:40:36;;;;;;;:22;:40;;;;;;;;:53;;;;;;;;;9331:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9371:53;;9331:93;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9331:93:36;;;;-1:-1:-1;;;;;;;;9474:40:36;;9434:37;9474:40;;;:22;:40;;;;;;;;:53;;;;;;;;9545:22;;;;9331:93;;-1:-1:-1;9474:53:36;9545:27;;9537:36;;;;;;9583:20;9606:49;9622:11;9643:7;9653:1;9606:15;:49::i;:::-;9763:1;9734:30;;9801:27;;9583:72;;-1:-1:-1;9784:45:36;;9583:72;;9784:45;:16;:45;:::i;:::-;9775:54;;9852:1;9843:6;:10;9839:333;;;9897:7;-1:-1:-1;;;;;9897:13:36;;:15;;;;;-1:-1:-1;;;9897:15:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9897:15:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9897:15:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9897:15:36;9933:21;;;;9877:96;;;;;;;;;;;;-1:-1:-1;;;;;9877:96:36;;;;;;;;;;;;;;;;:47;;;;;;;:96;;;;;9897:15;;9877:96;;;;;;;-1:-1:-1;9877:47:36;:96;;;5:2:-1;;;;30:1;27;20:12;5:2;9877:96:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9877:96:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9877:96:36;9869:105;;;;;;;;10018:45;10050:12;10018:24;;;10043:1;10018:27;;:45;9988:27;;;:75;10131:21;;;;10082:79;;;;;;;;-1:-1:-1;;;;;10082:79:36;;;;10118:11;;10082:79;;;;;;;;;;;;;9839:333;-1:-1:-1;10246:27:36;;10217:56;;9225:1055;;-1:-1:-1;;9225:1055:36:o;1510:484:43:-;443:10;1715:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1690:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;1765:10;1735:13;1751:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1751:45:43;1810:19;;1806:62;;;1852:5;1845:12;;;;;1806:62;1904:6;-1:-1:-1;;;;;1904:12:43;;:14;;;;;-1:-1:-1;;;1904:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1904:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1904:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1904:14:43;1884:103;;;;;;-1:-1:-1;;;;;1884:103:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:57;;;;;;;:103;;;;;1904:14;;1884:103;;;;;;;-1:-1:-1;1884:57:43;:103;;;5:2:-1;;;;30:1;27;20:12;5:2;1884:103:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1884:103:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1884:103:43;;-1:-1:-1;;529:1:43;1510:484;;;;;;;:::o;10502:1001:36:-;10575:14;10602:37;;:::i;:::-;-1:-1:-1;;;;;10642:40:36;;;;;;;:22;:40;;;;;;;;:53;;;;;;;;;10602:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10642:53;;10602:93;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10602:93:36;;;;-1:-1:-1;;;;;;;;10745:40:36;;10705:37;10745:40;;;:22;:40;;;;;;;;:53;;;;;;;;10816:22;;;;10602:93;;-1:-1:-1;10745:53:36;10816:27;;10808:36;;;;;;10854:20;10877:49;10893:11;10914:7;10924:1;10877:15;:49::i;:::-;11026:1;11005:18;;;:22;11063:19;;;;10854:72;;-1:-1:-1;11046:37:36;;10854:72;;11046:37;:16;:37;:::i;:::-;11037:46;;11107:1;11098:6;:10;11094:317;;;11152:7;-1:-1:-1;;;;;11152:13:36;;:15;;;;;-1:-1:-1;;;11152:15:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11152:15:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11152:15:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11152:15:36;11187:21;;;;11132:86;;;;;;;;;;;;-1:-1:-1;;;;;11132:86:36;;;;;;;;;;;;;;;;:46;;;;;;;:86;;;;;11152:15;;11132:86;;;;;;;-1:-1:-1;11132:46:36;:86;;;5:2:-1;;;;30:1;27;20:12;5:2;11132:86:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11132:86:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11132:86:36;11124:95;;;;;;;;11263:45;11295:12;11263:24;;;11288:1;11263:27;;:45;11233:27;;;:75;11370:21;;;;11327:73;;;;;;;;-1:-1:-1;;;;;11327:73:36;;;;11357:11;;11327:73;;;;;;;;;;;;;11094:317;-1:-1:-1;11477:19:36;;;;;11456:18;;;;:40;10502:1001;;-1:-1:-1;;10502:1001:36:o;678:410:43:-;443:10;822:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;797:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;872:10;842:13;858:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;858:45:43;917:19;;913:62;;;959:5;952:12;;;;;913:62;1011:6;-1:-1:-1;;;;;1011:12:43;;:14;;;;;-1:-1:-1;;;1011:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1011:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1011:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1011:14:43;991:90;;;;;;;;;;;;-1:-1:-1;;;;;991:90:43;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1011:14;;991:90;;;;;;;-1:-1:-1;991:50:43;:90;;;5:2:-1;;;;30:1;27;20:12;5:2;991:90:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;991:90:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;991:90:43;;-1:-1:-1;;529:1:43;678:410;;;;;;:::o;13467:673:36:-;13573:23;;;;13694:13;13573:23;13694:16;;;;13690:104;;;13745:38;13762:11;13775:7;13745:16;:38::i;:::-;13726:57;;13690:104;13808:16;;;;13804:106;;;13860:39;13878:11;13891:7;13860:17;:39::i;:::-;13840:59;;13804:106;13924:16;;;;13920:94;;;13970:33;13982:11;13995:7;13970:11;:33::i;:::-;13956:47;;13920:94;14028:16;;;;14024:110;;;14082:41;14102:11;14115:7;14082:19;:41::i;:::-;14060:63;;14024:110;13467:673;;;;;;;:::o;14679:975::-;14784:7;14826:1;14811:16;;;14803:67;;;;-1:-1:-1;;;;;14803:67:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14880:37;;:::i;:::-;-1:-1:-1;;;;;14920:31:36;;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;14880:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14920:44;;14880:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14978:9;:23;;;15005:1;14978:28;14974:54;;;15027:1;15020:8;;;;;14974:54;15038:28;15105:1;15080:9;:22;;;:26;15076:195;;;15237:22;;;;15210:23;;;;15202:32;;:3;;:32;:7;:32;:::i;:::-;15201:59;;;;;;;;15178:82;;15076:195;15280:20;15315:9;:22;;;15341:1;15315:27;15314:84;;;;15372:9;:25;;;15348:20;:49;;15314:84;15310:309;;;15459:25;;;;15429:69;;15485:11;15459:38;;;;;;;;;;;15429:25;;;;;:69;:29;:69;:::i;:::-;15414:84;;15310:309;;;15569:25;;;;15544:64;;15595:11;15569:38;;;;;;;;;;;15544:20;;:64;:24;:64;:::i;:::-;15529:79;;15310:309;15635:12;14679:975;-1:-1:-1;;;;;;14679:975:36:o;11744:1266::-;11825:14;11852:37;;:::i;:::-;-1:-1:-1;;;;;11892:40:36;;;;;;;:22;:40;;;;;;;;:53;;;;;;;;;11852:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11892:53;;11852:93;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11852:93:36;;;;-1:-1:-1;;;;;;;;11995:40:36;;11955:37;11995:40;;;:22;:40;;;;;;;;:53;;;;;;;;12066:22;;;;11852:93;;-1:-1:-1;11995:53:36;12066:27;;12058:36;;;;;;12104:20;12127:49;12143:11;12164:7;12174:1;12127:15;:49::i;:::-;12286:1;12255:28;;;:32;12302:22;;;;12104:72;;-1:-1:-1;;;;;;12302:22:36;:35;;;;:72;;;12373:1;12341:9;:29;;;:33;12302:72;12298:601;;;12416:29;;;;12399:47;;:12;;:47;:16;:47;:::i;:::-;12390:56;;12473:1;12464:6;:10;12460:429;;;12556:7;-1:-1:-1;;;;;12556:13:36;;:15;;;;;-1:-1:-1;;;12556:15:36;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12556:15:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12556:15:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12556:15:36;12612:23;;;;12637:21;;;;12519:157;;;;;;-1:-1:-1;;;;;12519:157:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;:92;;;;;;;:157;;;;;12556:15;;12519:157;;;;;;;-1:-1:-1;12519:92:36;:157;;;5:2:-1;;;;30:1;27;20:12;5:2;12519:157:36;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12519:157:36;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12519:157:36;12494:183;;;;;;;;12725:45;12757:12;12725:24;;;12750:1;12725:27;;:45;12695:27;;;:75;12844:21;;;;12793:81;;;;;;;;-1:-1:-1;;;;;12793:81:36;;;;12831:11;;12793:81;;;;;;;;;;;;;12460:429;-1:-1:-1;12974:29:36;;;;;12943:28;;;;:60;11744:1266;;-1:-1:-1;;11744:1266:36:o;16730:193::-;-1:-1:-1;;;;;16857:31:36;;;16823:7;16857:31;;;:22;:31;;;;;;;;:44;;;;;;;;;;:58;;;;;16730:193::o;1094:410:43:-;443:10;1238:4;429:25;;;;;;;;;;;:38;;;;;;;;:45;;;1213:11;;-1:-1:-1;;;;;429:45:43;:67;;421:98;;;;;-1:-1:-1;;;;;421:98:43;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;421:98:43;;;;;;;;;;;;;;;1288:10;1258:13;1274:25;;;;;;;;;;;:38;;;;;;;;:45;;;-1:-1:-1;;;;;1274:45:43;1333:19;;1329:62;;;1375:5;1368:12;;;;;1329:62;1427:6;-1:-1:-1;;;;;1427:12:43;;:14;;;;;-1:-1:-1;;;1427:14:43;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1427:14:43;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1427:14:43;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1427:14:43;1407:90;;;;;;;;;;;;-1:-1:-1;;;;;1407:90:43;;;;;;;;;;;;;;;;:50;;;;;;;:90;;;;;1427:14;;1407:90;;;;;;;-1:-1:-1;1407:50:43;:90;;;5:2:-1;;;;30:1;27;20:12;1431:145:87;1489:7;1520:5;;;1543:6;;;;1535:15;;;;;17813:1378:36;17929:11;;;;17943:1;-1:-1:-1;17929:15:36;17928:39;;-1:-1:-1;17950:11:36;;;;17965:1;17950:16;17928:39;17919:106;;;;;;-1:-1:-1;;;;;17919:106:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18039:11;;;;18053:1;-1:-1:-1;18035:1150:36;;;18165:11;;;;-1:-1:-1;;18161:22:36;:56;;;;;18187:17;18209:7;18187:30;18161:56;18159:59;18151:133;;;;-1:-1:-1;;;;;18151:133:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18429:11;;;;18445:17;;18385:36;;;18384:57;;;;;;;;:78;18376:151;;;;-1:-1:-1;;;;;18376:151:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18667:11;;18652;;;;18623:25;;;18622:41;;;;;;;;:56;18614:124;;;;-1:-1:-1;;;;;18614:124:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18876:11;;;;18861;;;;18832:25;;;18831:41;;;;;;;;:56;18823:122;;;;-1:-1:-1;;;;;18823:122:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19094:11;;;;19079;;;;19050:25;;;19049:41;;;;;;;;:56;19041:133;;;;-1:-1:-1;;;;;19041:133:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17813:1378;;:::o;299:340:40:-;374:7;421;-1:-1:-1;;;;;421:13:40;;:15;;;;;-1:-1:-1;;;421:15:40;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;421:15:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;421:15:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;421:15:40;401:88;;;;;;465:4;401:88;;;;-1:-1:-1;;;;;401:88:40;;;;;;;;;:55;;;;;;;:88;;;;;421:15;;401:88;;;;;;;:55;:88;;;5:2:-1;;;;30:1;27;20:12;5:2;401:88:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;401:88:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;401:88:40;393:133;;;;;;;-1:-1:-1;;;;;393:133:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:7;-1:-1:-1;;;;;563:13:40;;:15;;;;;-1:-1:-1;;;563:15:40;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:15:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;563:15:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;563:15:40;543:89;;;;;;608:4;543:89;;;;-1:-1:-1;;;;;543:89:40;;;;;;;;;:56;;;;;;;:89;;;;;563:15;;543:89;;;;;;;:56;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;543:89:40;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;543:89:40;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;543:89:40;;299:340;-1:-1:-1;;299:340:40:o;229:421:87:-;287:7;527:6;;523:45;;;-1:-1:-1;556:1:87;549:8;;523:45;590:5;;;594:1;590;:5;613;;;;;;;;:10;605:19;;;;;1205:145;1263:7;1290:6;;;;1282:15;;;;;;-1:-1:-1;1319:5:87;;;1205:145::o;499:18695:36:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;499:18695:36;;;;;;;;;;;-1:-1:-1;;;;;499:18695:36;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;499:18695:36;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;499:18695:36;;;-1:-1:-1;499:18695:36;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;499:18695:36;;;-1:-1:-1;;499:18695:36:o;:::-;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\";\nimport \"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\";\nimport \"./UniversalScheme.sol\";\nimport \"../votingMachines/VotingMachineCallbacks.sol\";\n\n\n/**\n * @title A scheme for proposing and rewarding contributions to an organization\n * @dev An agent can ask an organization to recognize a contribution and reward\n * him with token, reputation, ether or any combination.\n */\n\ncontract ContributionReward is UniversalScheme, VotingMachineCallbacks, ProposalExecuteInterface {\n    using SafeMath for uint;\n\n    event NewContributionProposal(\n        address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _intVoteInterface,\n        string _descriptionHash,\n        int256 _reputationChange,\n        uint[5]  _rewards,\n        IERC20 _externalToken,\n        address _beneficiary\n    );\n\n    event ProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId, int256 _param);\n\n    event RedeemReputation(\n        address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _beneficiary,\n        int256 _amount);\n\n    event RedeemEther(address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _beneficiary,\n        uint256 _amount);\n\n    event RedeemNativeToken(address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _beneficiary,\n        uint256 _amount);\n\n    event RedeemExternalToken(address indexed _avatar,\n        bytes32 indexed _proposalId,\n        address indexed _beneficiary,\n        uint256 _amount);\n\n    // A struct holding the data for a contribution proposal\n    struct ContributionProposal {\n        uint256 nativeTokenReward; // Reward asked in the native token of the organization.\n        int256 reputationChange; // Organization reputation reward requested.\n        uint256 ethReward;\n        IERC20 externalToken;\n        uint256 externalTokenReward;\n        address payable beneficiary;\n        uint256 periodLength;\n        uint256 numberOfPeriods;\n        uint256 executionTime;\n        uint[4] redeemedPeriods;\n    }\n\n    // A mapping from the organization (Avatar) address to the saved data of the organization:\n    mapping(address=>mapping(bytes32=>ContributionProposal)) public organizationsProposals;\n\n    // A mapping from hashes to parameters (use to store a particular configuration on the controller)\n    struct Parameters {\n        bytes32 voteApproveParams;\n        IntVoteInterface intVote;\n    }\n\n    // A mapping from hashes to parameters (use to store a particular configuration on the controller)\n    mapping(bytes32=>Parameters) public parameters;\n\n    /**\n    * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _param a parameter of the voting result, 1 yes and 2 is no.\n    */\n    function executeProposal(bytes32 _proposalId, int256 _param) external onlyVotingMachine(_proposalId) returns(bool) {\n        ProposalInfo memory proposal = proposalsInfo[msg.sender][_proposalId];\n        require(organizationsProposals[address(proposal.avatar)][_proposalId].executionTime == 0);\n        require(organizationsProposals[address(proposal.avatar)][_proposalId].beneficiary != address(0));\n        // Check if vote was successful:\n        if (_param == 1) {\n          // solhint-disable-next-line not-rely-on-time\n            organizationsProposals[address(proposal.avatar)][_proposalId].executionTime = now;\n        }\n        emit ProposalExecuted(address(proposal.avatar), _proposalId, _param);\n        return true;\n    }\n\n    /**\n    * @dev hash the parameters, save them if necessary, and return the hash value\n    */\n    function setParameters(\n        bytes32 _voteApproveParams,\n        IntVoteInterface _intVote\n    ) public returns(bytes32)\n    {\n        bytes32 paramsHash = getParametersHash(\n            _voteApproveParams,\n            _intVote\n        );\n        parameters[paramsHash].voteApproveParams = _voteApproveParams;\n        parameters[paramsHash].intVote = _intVote;\n        return paramsHash;\n    }\n\n    /**\n    * @dev return a hash of the given parameters\n    * @param _voteApproveParams parameters for the voting machine used to approve a contribution\n    * @param _intVote the voting machine used to approve a contribution\n    * @return a hash of the parameters\n    */\n    function getParametersHash(\n        bytes32 _voteApproveParams,\n        IntVoteInterface _intVote\n    ) public pure returns(bytes32)\n    {\n        return (keccak256(abi.encodePacked(_voteApproveParams, _intVote)));\n    }\n\n    /**\n    * @dev Submit a proposal for a reward for a contribution:\n    * @param _avatar Avatar of the organization that the contribution was made for\n    * @param _descriptionHash A hash of the proposal's description\n    * @param _reputationChange - Amount of reputation change requested .Can be negative.\n    * @param _rewards rewards array:\n    *         rewards[0] - Amount of tokens requested per period\n    *         rewards[1] - Amount of ETH requested per period\n    *         rewards[2] - Amount of external tokens requested per period\n    *         rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n    *         rewards[4] - Number of periods\n    * @param _externalToken Address of external token, if reward is requested there\n    * @param _beneficiary Who gets the rewards\n    */\n    function proposeContributionReward(\n        Avatar _avatar,\n        string memory _descriptionHash,\n        int256 _reputationChange,\n        uint[5] memory _rewards,\n        IERC20 _externalToken,\n        address payable _beneficiary\n    )\n    public\n    returns(bytes32)\n    {\n        validateProposalParams(_reputationChange, _rewards);\n        Parameters memory controllerParams = parameters[getParametersFromController(_avatar)];\n\n        bytes32 contributionId = controllerParams.intVote.propose(\n        2,\n        controllerParams.voteApproveParams,\n        msg.sender,\n        address(_avatar)\n        );\n\n        address payable beneficiary = _beneficiary;\n        if (beneficiary == address(0)) {\n            beneficiary = msg.sender;\n        }\n\n        ContributionProposal memory proposal = ContributionProposal({\n            nativeTokenReward: _rewards[0],\n            reputationChange: _reputationChange,\n            ethReward: _rewards[1],\n            externalToken: _externalToken,\n            externalTokenReward: _rewards[2],\n            beneficiary: beneficiary,\n            periodLength: _rewards[3],\n            numberOfPeriods: _rewards[4],\n            executionTime: 0,\n            redeemedPeriods:[uint(0), uint(0), uint(0), uint(0)]\n        });\n        organizationsProposals[address(_avatar)][contributionId] = proposal;\n\n        emit NewContributionProposal(\n            address(_avatar),\n            contributionId,\n            address(controllerParams.intVote),\n            _descriptionHash,\n            _reputationChange,\n            _rewards,\n            _externalToken,\n            beneficiary\n        );\n\n        proposalsInfo[address(controllerParams.intVote)][contributionId] = ProposalInfo({\n            blockNumber:block.number,\n            avatar:_avatar\n        });\n        return contributionId;\n    }\n\n    /**\n    * @dev RedeemReputation reward for proposal\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @return reputation the redeemed reputation.\n    */\n    function redeemReputation(bytes32 _proposalId, Avatar _avatar) public returns(int256 reputation) {\n\n        ContributionProposal memory _proposal = organizationsProposals[address(_avatar)][_proposalId];\n        ContributionProposal storage proposal = organizationsProposals[address(_avatar)][_proposalId];\n        require(proposal.executionTime != 0);\n        uint256 periodsToPay = getPeriodsToPay(_proposalId, address(_avatar), 0);\n\n        //set proposal reward to zero to prevent reentrancy attack.\n        proposal.reputationChange = 0;\n        reputation = int(periodsToPay) * _proposal.reputationChange;\n        if (reputation > 0) {\n            require(\n            ControllerInterface(\n            _avatar.owner()).mintReputation(uint(reputation), _proposal.beneficiary, address(_avatar)));\n        } else if (reputation < 0) {\n            require(\n            ControllerInterface(\n            _avatar.owner()).burnReputation(uint(reputation*(-1)), _proposal.beneficiary, address(_avatar)));\n        }\n        if (reputation != 0) {\n            proposal.redeemedPeriods[0] = proposal.redeemedPeriods[0].add(periodsToPay);\n            emit RedeemReputation(address(_avatar), _proposalId, _proposal.beneficiary, reputation);\n        }\n        //restore proposal reward.\n        proposal.reputationChange = _proposal.reputationChange;\n    }\n\n    /**\n    * @dev RedeemNativeToken reward for proposal\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @return amount the redeemed nativeToken.\n    */\n    function redeemNativeToken(bytes32 _proposalId, Avatar _avatar) public returns(uint256 amount) {\n\n        ContributionProposal memory _proposal = organizationsProposals[address(_avatar)][_proposalId];\n        ContributionProposal storage proposal = organizationsProposals[address(_avatar)][_proposalId];\n        require(proposal.executionTime != 0);\n        uint256 periodsToPay = getPeriodsToPay(_proposalId, address(_avatar), 1);\n        //set proposal rewards to zero to prevent reentrancy attack.\n        proposal.nativeTokenReward = 0;\n\n        amount = periodsToPay.mul(_proposal.nativeTokenReward);\n        if (amount > 0) {\n            require(ControllerInterface(_avatar.owner()).mintTokens(amount, _proposal.beneficiary, address(_avatar)));\n            proposal.redeemedPeriods[1] = proposal.redeemedPeriods[1].add(periodsToPay);\n            emit RedeemNativeToken(address(_avatar), _proposalId, _proposal.beneficiary, amount);\n        }\n\n        //restore proposal reward.\n        proposal.nativeTokenReward = _proposal.nativeTokenReward;\n    }\n\n    /**\n    * @dev RedeemEther reward for proposal\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @return amount ether redeemed amount\n    */\n    function redeemEther(bytes32 _proposalId, Avatar _avatar) public returns(uint256 amount) {\n\n        ContributionProposal memory _proposal = organizationsProposals[address(_avatar)][_proposalId];\n        ContributionProposal storage proposal = organizationsProposals[address(_avatar)][_proposalId];\n        require(proposal.executionTime != 0);\n        uint256 periodsToPay = getPeriodsToPay(_proposalId, address(_avatar), 2);\n        //set proposal rewards to zero to prevent reentrancy attack.\n        proposal.ethReward = 0;\n        amount = periodsToPay.mul(_proposal.ethReward);\n\n        if (amount > 0) {\n            require(ControllerInterface(_avatar.owner()).sendEther(amount, _proposal.beneficiary, _avatar));\n            proposal.redeemedPeriods[2] = proposal.redeemedPeriods[2].add(periodsToPay);\n            emit RedeemEther(address(_avatar), _proposalId, _proposal.beneficiary, amount);\n        }\n\n        //restore proposal reward.\n        proposal.ethReward = _proposal.ethReward;\n    }\n\n    /**\n    * @dev RedeemNativeToken reward for proposal\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @return amount the external token redeemed amount\n    */\n    function redeemExternalToken(bytes32 _proposalId, Avatar _avatar) public returns(uint256 amount) {\n\n        ContributionProposal memory _proposal = organizationsProposals[address(_avatar)][_proposalId];\n        ContributionProposal storage proposal = organizationsProposals[address(_avatar)][_proposalId];\n        require(proposal.executionTime != 0);\n        uint256 periodsToPay = getPeriodsToPay(_proposalId, address(_avatar), 3);\n        //set proposal rewards to zero to prevent reentrancy attack.\n        proposal.externalTokenReward = 0;\n\n        if (proposal.externalToken != IERC20(0) && _proposal.externalTokenReward > 0) {\n            amount = periodsToPay.mul(_proposal.externalTokenReward);\n            if (amount > 0) {\n                require(\n                ControllerInterface(\n                _avatar.owner())\n                .externalTokenTransfer(_proposal.externalToken, _proposal.beneficiary, amount, _avatar));\n                proposal.redeemedPeriods[3] = proposal.redeemedPeriods[3].add(periodsToPay);\n                emit RedeemExternalToken(address(_avatar), _proposalId, _proposal.beneficiary, amount);\n            }\n        }\n        //restore proposal reward.\n        proposal.externalTokenReward = _proposal.externalTokenReward;\n    }\n\n    /**\n    * @dev redeem rewards for proposal\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @param _whatToRedeem whatToRedeem array:\n    *         whatToRedeem[0] - reputation\n    *         whatToRedeem[1] - nativeTokenReward\n    *         whatToRedeem[2] - Ether\n    *         whatToRedeem[3] - ExternalToken\n    * @return  result boolean array for each redeem type.\n    */\n    function redeem(bytes32 _proposalId, Avatar _avatar, bool[4] memory _whatToRedeem)\n    public\n    returns(int256 reputationReward, uint256 nativeTokenReward, uint256 etherReward, uint256 externalTokenReward)\n    {\n\n        if (_whatToRedeem[0]) {\n            reputationReward = redeemReputation(_proposalId, _avatar);\n        }\n\n        if (_whatToRedeem[1]) {\n            nativeTokenReward = redeemNativeToken(_proposalId, _avatar);\n        }\n\n        if (_whatToRedeem[2]) {\n            etherReward = redeemEther(_proposalId, _avatar);\n        }\n\n        if (_whatToRedeem[3]) {\n            externalTokenReward = redeemExternalToken(_proposalId, _avatar);\n        }\n    }\n\n    /**\n    * @dev getPeriodsToPay return the periods left to be paid for reputation,nativeToken,ether or externalToken.\n    * The function ignore the reward amount to be paid (which can be zero).\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @param _redeemType - the type of the reward  :\n    *         0 - reputation\n    *         1 - nativeTokenReward\n    *         2 - Ether\n    *         3 - ExternalToken\n    * @return  periods left to be paid.\n    */\n    function getPeriodsToPay(bytes32 _proposalId, address _avatar, uint256 _redeemType) public view returns (uint256) {\n        require(_redeemType <= 3, \"should be in the redeemedPeriods range\");\n        ContributionProposal memory _proposal = organizationsProposals[_avatar][_proposalId];\n        if (_proposal.executionTime == 0)\n            return 0;\n        uint256 periodsFromExecution;\n        if (_proposal.periodLength > 0) {\n          // solhint-disable-next-line not-rely-on-time\n            periodsFromExecution = (now.sub(_proposal.executionTime))/(_proposal.periodLength);\n        }\n        uint256 periodsToPay;\n        if ((_proposal.periodLength == 0) || (periodsFromExecution >= _proposal.numberOfPeriods)) {\n            periodsToPay = _proposal.numberOfPeriods.sub(_proposal.redeemedPeriods[_redeemType]);\n        } else {\n            periodsToPay = periodsFromExecution.sub(_proposal.redeemedPeriods[_redeemType]);\n        }\n        return periodsToPay;\n    }\n\n    /**\n    * @dev getRedeemedPeriods return the already redeemed periods for reputation, nativeToken, ether or externalToken.\n    * @param _proposalId the ID of the voting in the voting machine\n    * @param _avatar address of the controller\n    * @param _redeemType - the type of the reward  :\n    *         0 - reputation\n    *         1 - nativeTokenReward\n    *         2 - Ether\n    *         3 - ExternalToken\n    * @return redeemed period.\n    */\n    function getRedeemedPeriods(bytes32 _proposalId, address _avatar, uint256 _redeemType)\n    public\n    view\n    returns (uint256) {\n        return organizationsProposals[_avatar][_proposalId].redeemedPeriods[_redeemType];\n    }\n\n    function getProposalEthReward(bytes32 _proposalId, address _avatar) public view returns (uint256) {\n        return organizationsProposals[_avatar][_proposalId].ethReward;\n    }\n\n    function getProposalExternalTokenReward(bytes32 _proposalId, address _avatar) public view returns (uint256) {\n        return organizationsProposals[_avatar][_proposalId].externalTokenReward;\n    }\n\n    function getProposalExternalToken(bytes32 _proposalId, address _avatar) public view returns (address) {\n        return address(organizationsProposals[_avatar][_proposalId].externalToken);\n    }\n\n    function getProposalExecutionTime(bytes32 _proposalId, address _avatar) public view returns (uint256) {\n        return organizationsProposals[_avatar][_proposalId].executionTime;\n    }\n\n    /**\n    * @dev validateProposalParams validate proposal's rewards parameters.\n    * The function check for potential overflow upon proposal's redeem.\n    * The function reverts if the params are not valid.\n    * @param _reputationChange - Amount of reputation change requested .Can be negative.\n    * @param _rewards rewards array:\n    *         rewards[0] - Amount of tokens requested per period\n    *         rewards[1] - Amount of ETH requested per period\n    *         rewards[2] - Amount of external tokens requested per period\n    *         rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n    *         rewards[4] - Number of periods\n    */\n    function validateProposalParams(int256 _reputationChange, uint[5] memory _rewards) private pure {\n        require(((_rewards[3] > 0) || (_rewards[4] == 1)), \"periodLength equal 0 require numberOfPeriods to be 1\");\n        if (_rewards[4] > 0) {\n            // This is the only case of overflow not detected by the check below\n            require(!(int(_rewards[4]) == -1 && _reputationChange == (-2**255)),\n            \"numberOfPeriods * _reputationChange will overflow\");\n           //check that numberOfPeriods * _reputationChange will not overflow\n            require((int(_rewards[4]) * _reputationChange) / int(_rewards[4]) == _reputationChange,\n            \"numberOfPeriods * reputationChange will overflow\");\n            //check that numberOfPeriods * tokenReward will not overflow\n            require((_rewards[4] * _rewards[0]) / _rewards[4] == _rewards[0],\n            \"numberOfPeriods * tokenReward will overflow\");\n            //check that numberOfPeriods * ethReward will not overflow\n            require((_rewards[4] * _rewards[1]) / _rewards[4] == _rewards[1],\n            \"numberOfPeriods * ethReward will overflow\");\n            //check that numberOfPeriods * texternalTokenReward will not overflow\n            require((_rewards[4] * _rewards[2]) / _rewards[4] == _rewards[2],\n            \"numberOfPeriods * texternalTokenReward will overflow\");\n        }\n    }\n\n}\n",
  "sourcePath": "@daostack/arc/contracts/universalSchemes/ContributionReward.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/ContributionReward.sol",
    "exportedSymbols": {
      "ContributionReward": [
        6958
      ]
    },
    "id": 6959,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5672,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:36"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 5673,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 12910,
        "src": "25:71:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "id": 5674,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 12986,
        "src": "97:86:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 5675,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 8358,
        "src": "184:31:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 5676,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 9126,
        "src": "216:54:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5677,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8357,
              "src": "530:15:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$8357",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 5678,
            "nodeType": "InheritanceSpecifier",
            "src": "530:15:36"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5679,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9125,
              "src": "547:22:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$9125",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 5680,
            "nodeType": "InheritanceSpecifier",
            "src": "547:22:36"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5681,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 12921,
              "src": "571:24:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$12921",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 5682,
            "nodeType": "InheritanceSpecifier",
            "src": "571:24:36"
          }
        ],
        "contractDependencies": [
          8357,
          8368,
          9125,
          12921,
          12985
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for proposing and rewarding contributions to an organization\n@dev An agent can ask an organization to recognize a contribution and reward\nhim with token, reputation, ether or any combination.",
        "fullyImplemented": true,
        "id": 6958,
        "linearizedBaseContracts": [
          6958,
          12921,
          9125,
          12985,
          8357,
          8368
        ],
        "name": "ContributionReward",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5685,
            "libraryName": {
              "contractScope": null,
              "id": 5683,
              "name": "SafeMath",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 22987,
              "src": "608:8:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SafeMath_$22987",
                "typeString": "library SafeMath"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "602:24:36",
            "typeName": {
              "id": 5684,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "621:4:36",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            }
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5705,
            "name": "NewContributionProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5704,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5687,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "671:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5686,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "671:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5689,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "704:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5688,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "704:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5691,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "741:33:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5690,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5693,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "784:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 5692,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "784:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5695,
                  "indexed": false,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "817:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5694,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "817:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5699,
                  "indexed": false,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "851:17:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5696,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "851:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5698,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 5697,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "856:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "851:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5701,
                  "indexed": false,
                  "name": "_externalToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "878:21:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5700,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 23656,
                    "src": "878:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$23656",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5703,
                  "indexed": false,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "909:20:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5702,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "909:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "661:274:36"
            },
            "src": "632:304:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5713,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5712,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5707,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "965:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5706,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "965:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5709,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "990:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5708,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "990:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5711,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "1019:13:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5710,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1019:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "964:69:36"
            },
            "src": "942:92:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5723,
            "name": "RedeemReputation",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5722,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5715,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1072:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5714,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5717,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1105:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5716,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1105:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5719,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1142:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5718,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1142:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5721,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1180:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5720,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1180:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1062:133:36"
            },
            "src": "1040:156:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5733,
            "name": "RedeemEther",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5732,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5725,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1220:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5724,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1220:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5727,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1253:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5726,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1253:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5729,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1290:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5728,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1290:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5731,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1328:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5730,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1328:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1219:125:36"
            },
            "src": "1202:143:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5743,
            "name": "RedeemNativeToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5742,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5735,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1375:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5734,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1375:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5737,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1408:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5736,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1408:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5739,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1445:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5738,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1445:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5741,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1483:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5740,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1483:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1374:125:36"
            },
            "src": "1351:149:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5753,
            "name": "RedeemExternalToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5752,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5745,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1532:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5744,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1532:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5747,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1565:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5746,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1565:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5749,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1602:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5748,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1602:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5751,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1640:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5750,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1640:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1531:125:36"
            },
            "src": "1506:151:36"
          },
          {
            "canonicalName": "ContributionReward.ContributionProposal",
            "id": 5776,
            "members": [
              {
                "constant": false,
                "id": 5755,
                "name": "nativeTokenReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1762:25:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5754,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1762:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5757,
                "name": "reputationChange",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1854:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_int256",
                  "typeString": "int256"
                },
                "typeName": {
                  "id": 5756,
                  "name": "int256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1854:6:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5759,
                "name": "ethReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1932:17:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5758,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1932:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5761,
                "name": "externalToken",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1959:20:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IERC20_$23656",
                  "typeString": "contract IERC20"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 5760,
                  "name": "IERC20",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 23656,
                  "src": "1959:6:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5763,
                "name": "externalTokenReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1989:27:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5762,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1989:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5765,
                "name": "beneficiary",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2026:27:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address_payable",
                  "typeString": "address payable"
                },
                "typeName": {
                  "id": 5764,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "2026:15:36",
                  "stateMutability": "payable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5767,
                "name": "periodLength",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2063:20:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5766,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2063:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5769,
                "name": "numberOfPeriods",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2093:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5768,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2093:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5771,
                "name": "executionTime",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2126:21:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5770,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2126:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5775,
                "name": "redeemedPeriods",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2157:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_uint256_$4_storage_ptr",
                  "typeString": "uint256[4]"
                },
                "typeName": {
                  "baseType": {
                    "id": 5772,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2157:4:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 5774,
                  "length": {
                    "argumentTypes": null,
                    "hexValue": "34",
                    "id": 5773,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2162:1:36",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": null,
                      "typeString": null
                    },
                    "value": "4"
                  },
                  "nodeType": "ArrayTypeName",
                  "src": "2157:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$4_storage_ptr",
                    "typeString": "uint256[4]"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ContributionProposal",
            "nodeType": "StructDefinition",
            "scope": 6958,
            "src": "1724:463:36",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5782,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 6958,
            "src": "2288:86:36",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal))"
            },
            "typeName": {
              "id": 5781,
              "keyType": {
                "id": 5777,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "2296:7:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "2288:56:36",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal))"
              },
              "valueType": {
                "id": 5780,
                "keyType": {
                  "id": 5778,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "2313:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "2305:38:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                  "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 5779,
                  "name": "ContributionProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 5776,
                  "src": "2322:20:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                    "typeString": "struct ContributionReward.ContributionProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "ContributionReward.Parameters",
            "id": 5787,
            "members": [
              {
                "constant": false,
                "id": 5784,
                "name": "voteApproveParams",
                "nodeType": "VariableDeclaration",
                "scope": 5787,
                "src": "2512:25:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 5783,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "2512:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5786,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 5787,
                "src": "2547:24:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 5785,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12909,
                  "src": "2547:16:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 6958,
            "src": "2484:94:36",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5791,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 6958,
            "src": "2687:46:36",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
              "typeString": "mapping(bytes32 => struct ContributionReward.Parameters)"
            },
            "typeName": {
              "id": 5790,
              "keyType": {
                "id": 5788,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "2695:7:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "2687:28:36",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                "typeString": "mapping(bytes32 => struct ContributionReward.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 5789,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 5787,
                "src": "2704:10:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$5787_storage_ptr",
                  "typeString": "struct ContributionReward.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5870,
              "nodeType": "Block",
              "src": "3114:619:36",
              "statements": [
                {
                  "assignments": [
                    5804
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5804,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 5870,
                      "src": "3124:28:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5803,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 8836,
                        "src": "3124:12:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5811,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 5805,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8865,
                        "src": "3155:13:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 5808,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5806,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "3169:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5807,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "3169:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "3155:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 5810,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 5809,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5793,
                      "src": "3181:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "3155:38:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3124:69:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5823,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 5813,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5782,
                                "src": "3211:22:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                }
                              },
                              "id": 5818,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 5815,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5804,
                                      "src": "3242:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                      }
                                    },
                                    "id": 5816,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "avatar",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 8835,
                                    "src": "3242:15:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 5814,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "3234:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 5817,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3234:24:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3211:48:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                              }
                            },
                            "id": 5820,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 5819,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5793,
                              "src": "3260:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "3211:61:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                              "typeString": "struct ContributionReward.ContributionProposal storage ref"
                            }
                          },
                          "id": 5821,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "3211:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5822,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3290:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "3211:80:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 5812,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "3203:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 5824,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3203:89:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5825,
                  "nodeType": "ExpressionStatement",
                  "src": "3203:89:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        "id": 5839,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 5827,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5782,
                                "src": "3310:22:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                }
                              },
                              "id": 5832,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 5829,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5804,
                                      "src": "3341:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                      }
                                    },
                                    "id": 5830,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "avatar",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 8835,
                                    "src": "3341:15:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 5828,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "3333:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 5831,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3333:24:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3310:48:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                              }
                            },
                            "id": 5834,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 5833,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5793,
                              "src": "3359:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "3310:61:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                              "typeString": "struct ContributionReward.ContributionProposal storage ref"
                            }
                          },
                          "id": 5835,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "beneficiary",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5765,
                          "src": "3310:73:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 5837,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "3395:1:36",
                              "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": 5836,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "3387:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 5838,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "3387:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "3310:87:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 5826,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "3302:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 5840,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3302:96:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5841,
                  "nodeType": "ExpressionStatement",
                  "src": "3302:96:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 5844,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 5842,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5795,
                      "src": "3453:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 5843,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3463:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "3453:11:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 5858,
                  "nodeType": "IfStatement",
                  "src": "3449:179:36",
                  "trueBody": {
                    "id": 5857,
                    "nodeType": "Block",
                    "src": "3466:162:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 5855,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 5845,
                                  "name": "organizationsProposals",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5782,
                                  "src": "3536:22:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                    "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                  }
                                },
                                "id": 5851,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 5847,
                                        "name": "proposal",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 5804,
                                        "src": "3567:8:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                        }
                                      },
                                      "id": 5848,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "avatar",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8835,
                                      "src": "3567:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 5846,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3559:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 5849,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3559:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "3536:48:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                  "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                                }
                              },
                              "id": 5852,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 5850,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5793,
                                "src": "3585:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3536:61:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                                "typeString": "struct ContributionReward.ContributionProposal storage ref"
                              }
                            },
                            "id": 5853,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "executionTime",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5771,
                            "src": "3536:75:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "id": 5854,
                            "name": "now",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23692,
                            "src": "3614:3:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "3536:81:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 5856,
                        "nodeType": "ExpressionStatement",
                        "src": "3536:81:36"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 5861,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5804,
                              "src": "3667:8:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 5862,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 8835,
                            "src": "3667:15:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 5860,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3659:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5863,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3659:24:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5864,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5793,
                        "src": "3685:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5865,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5795,
                        "src": "3698:6:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      ],
                      "id": 5859,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5713,
                      "src": "3642:16:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 5866,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3642:63:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5867,
                  "nodeType": "EmitStatement",
                  "src": "3637:68:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5868,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3722:4:36",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5802,
                  "id": 5869,
                  "nodeType": "Return",
                  "src": "3715:11:36"
                }
              ]
            },
            "documentation": "@dev execution of proposals, can only be called by the voting machine in which the vote is held.\n@param _proposalId the ID of the voting in the voting machine\n@param _param a parameter of the voting result, 1 yes and 2 is no.",
            "id": 5871,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 5798,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5793,
                    "src": "3087:11:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 5799,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 5797,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8859,
                  "src": "3069:17:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "3069:30:36"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5796,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5793,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3024:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5792,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3024:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5795,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3045:13:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5794,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3045:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3023:36:36"
            },
            "returnParameters": {
              "id": 5802,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5801,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3108:4:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5800,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3108:4:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3107:6:36"
            },
            "scope": 6958,
            "src": "2999:734:36",
            "stateMutability": "nonpayable",
            "superFunction": 12920,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5903,
              "nodeType": "Block",
              "src": "3964:268:36",
              "statements": [
                {
                  "assignments": [
                    5881
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5881,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 5903,
                      "src": "3974:18:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 5880,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3974:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5886,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5883,
                        "name": "_voteApproveParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5873,
                        "src": "4026:18:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5884,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5875,
                        "src": "4058:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 5882,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5923,
                      "src": "3995:17:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$12909_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 5885,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3995:81:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3974:102:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5892,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5887,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5791,
                          "src": "4086:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                          }
                        },
                        "id": 5889,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5888,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5881,
                          "src": "4097:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4086:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                          "typeString": "struct ContributionReward.Parameters storage ref"
                        }
                      },
                      "id": 5890,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteApproveParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5784,
                      "src": "4086:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5891,
                      "name": "_voteApproveParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5873,
                      "src": "4129:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "4086:61:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 5893,
                  "nodeType": "ExpressionStatement",
                  "src": "4086:61:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5899,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5894,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5791,
                          "src": "4157:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                          }
                        },
                        "id": 5896,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5895,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5881,
                          "src": "4168:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4157:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                          "typeString": "struct ContributionReward.Parameters storage ref"
                        }
                      },
                      "id": 5897,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5786,
                      "src": "4157:30:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5898,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5875,
                      "src": "4190:8:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4157:41:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 5900,
                  "nodeType": "ExpressionStatement",
                  "src": "4157:41:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5901,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5881,
                    "src": "4215:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5879,
                  "id": 5902,
                  "nodeType": "Return",
                  "src": "4208:17:36"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 5904,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5876,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5873,
                  "name": "_voteApproveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3868:26:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5872,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3868:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5875,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3904:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5874,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "3904:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3858:77:36"
            },
            "returnParameters": {
              "id": 5879,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5878,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3951:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5877,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3951:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3950:9:36"
            },
            "scope": 6958,
            "src": "3836:396:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5922,
              "nodeType": "Block",
              "src": "4647:83:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 5916,
                                "name": "_voteApproveParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5906,
                                "src": "4692:18:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 5917,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5908,
                                "src": "4712:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 5914,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 23677,
                                "src": "4675:3:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 5915,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4675:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 5918,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4675:46:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 5913,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23684,
                          "src": "4665:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 5919,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4665:57:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 5920,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4664:59:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5912,
                  "id": 5921,
                  "nodeType": "Return",
                  "src": "4657:66:36"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters\n@param _voteApproveParams parameters for the voting machine used to approve a contribution\n@param _intVote the voting machine used to approve a contribution\n@return a hash of the parameters",
            "id": 5923,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5909,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5906,
                  "name": "_voteApproveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4546:26:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5905,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4546:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5908,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4582:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5907,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "4582:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4536:77:36"
            },
            "returnParameters": {
              "id": 5912,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5911,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4634:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5910,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4634:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4633:9:36"
            },
            "scope": 6958,
            "src": "4510:220:36",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6066,
              "nodeType": "Block",
              "src": "5848:1565:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5943,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "5881:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5944,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5933,
                        "src": "5900:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      ],
                      "id": 5942,
                      "name": "validateProposalParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6957,
                      "src": "5858:22:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_array$_t_uint256_$5_memory_ptr_$returns$__$",
                        "typeString": "function (int256,uint256[5] memory) pure"
                      }
                    },
                    "id": 5945,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5858:51:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5946,
                  "nodeType": "ExpressionStatement",
                  "src": "5858:51:36"
                },
                {
                  "assignments": [
                    5948
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5948,
                      "name": "controllerParams",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "5919:34:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                        "typeString": "struct ContributionReward.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5947,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5787,
                        "src": "5919:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage_ptr",
                          "typeString": "struct ContributionReward.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5954,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 5949,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5791,
                      "src": "5956:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                      }
                    },
                    "id": 5953,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5951,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5925,
                          "src": "5995:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 5950,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          8356
                        ],
                        "referencedDeclaration": 8356,
                        "src": "5967:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 5952,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5967:36:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "5956:48:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                      "typeString": "struct ContributionReward.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5919:85:36"
                },
                {
                  "assignments": [
                    5956
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5956,
                      "name": "contributionId",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6015:22:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 5955,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6015:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5969,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 5960,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6082:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5961,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5948,
                          "src": "6093:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                            "typeString": "struct ContributionReward.Parameters memory"
                          }
                        },
                        "id": 5962,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteApproveParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5784,
                        "src": "6093:34:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5963,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "6137:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5964,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6137:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5966,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5925,
                            "src": "6165:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 5965,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6157:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5967,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6157:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5957,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5948,
                          "src": "6040:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                            "typeString": "struct ContributionReward.Parameters memory"
                          }
                        },
                        "id": 5958,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5786,
                        "src": "6040:24:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 5959,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "6040:32:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 5968,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6040:143:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6015:168:36"
                },
                {
                  "assignments": [
                    5971
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5971,
                      "name": "beneficiary",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6194:27:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      },
                      "typeName": {
                        "id": 5970,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "6194:15:36",
                        "stateMutability": "payable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5973,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 5972,
                    "name": "_beneficiary",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5937,
                    "src": "6224:12:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6194:42:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    },
                    "id": 5978,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 5974,
                      "name": "beneficiary",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5971,
                      "src": "6250:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5976,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6273:1:36",
                          "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": 5975,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "6265:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 5977,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6265:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "6250:25:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 5985,
                  "nodeType": "IfStatement",
                  "src": "6246:80:36",
                  "trueBody": {
                    "id": 5984,
                    "nodeType": "Block",
                    "src": "6277:49:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 5982,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 5979,
                            "name": "beneficiary",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5971,
                            "src": "6291:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 5980,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "6305:3:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 5981,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "6305:10:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "src": "6291:24:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "id": 5983,
                        "nodeType": "ExpressionStatement",
                        "src": "6291:24:36"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    5987
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5987,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6336:36:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5986,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "6336:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6022,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5989,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6429:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5991,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5990,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6438:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6429:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5992,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "6472:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5993,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6514:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5995,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 5994,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6523:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6514:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5996,
                        "name": "_externalToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5935,
                        "src": "6554:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5997,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6603:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5999,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "32",
                          "id": 5998,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6612:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_2_by_1",
                            "typeString": "int_const 2"
                          },
                          "value": "2"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6603:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6000,
                        "name": "beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5971,
                        "src": "6641:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6001,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6680:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 6003,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 6002,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6689:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_3_by_1",
                            "typeString": "int_const 3"
                          },
                          "value": "3"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6680:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6004,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6722:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 6006,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "34",
                          "id": 6005,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6731:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_4_by_1",
                            "typeString": "int_const 4"
                          },
                          "value": "4"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6722:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6007,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6762:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "argumentTypes": null,
                        "components": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6009,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6799:1:36",
                                "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": 6008,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6794:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6010,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6794:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6012,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6808:1:36",
                                "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": 6011,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6803:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6013,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6803:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6015,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6817:1:36",
                                "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": 6014,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6812:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6016,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6812:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6018,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6826:1:36",
                                "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": 6017,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6821:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6019,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6821:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "id": 6020,
                        "isConstant": false,
                        "isInlineArray": true,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "6793:36:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$4_memory_ptr",
                          "typeString": "uint256[4] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 5988,
                      "name": "ContributionProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5776,
                      "src": "6375:20:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_ContributionProposal_$5776_storage_ptr_$",
                        "typeString": "type(struct ContributionReward.ContributionProposal storage pointer)"
                      }
                    },
                    "id": 6021,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "nativeTokenReward",
                      "reputationChange",
                      "ethReward",
                      "externalToken",
                      "externalTokenReward",
                      "beneficiary",
                      "periodLength",
                      "numberOfPeriods",
                      "executionTime",
                      "redeemedPeriods"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6375:465:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory",
                      "typeString": "struct ContributionReward.ContributionProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6336:504:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6031,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6023,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "6850:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6028,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 6025,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5925,
                              "src": "6881:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 6024,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6873:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 6026,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6873:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6850:40:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6029,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6027,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "6891:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6850:56:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 6030,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5987,
                      "src": "6909:8:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal memory"
                      }
                    },
                    "src": "6850:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "id": 6032,
                  "nodeType": "ExpressionStatement",
                  "src": "6850:67:36"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6035,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5925,
                            "src": "6978:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6034,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6970:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6036,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6970:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6037,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "7000:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6039,
                              "name": "controllerParams",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5948,
                              "src": "7036:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                                "typeString": "struct ContributionReward.Parameters memory"
                              }
                            },
                            "id": 6040,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5786,
                            "src": "7036:24:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 6038,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7028:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6041,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7028:33:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6042,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5927,
                        "src": "7075:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6043,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "7105:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6044,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5933,
                        "src": "7136:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6045,
                        "name": "_externalToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5935,
                        "src": "7158:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6046,
                        "name": "beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5971,
                        "src": "7186:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        },
                        {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "id": 6033,
                      "name": "NewContributionProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5705,
                      "src": "6933:23:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_string_memory_ptr_$_t_int256_$_t_array$_t_uint256_$5_memory_ptr_$_t_contract$_IERC20_$23656_$_t_address_$returns$__$",
                        "typeString": "function (address,bytes32,address,string memory,int256,uint256[5] memory,contract IERC20,address)"
                      }
                    },
                    "id": 6047,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6933:274:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6048,
                  "nodeType": "EmitStatement",
                  "src": "6928:279:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6062,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6049,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "7218:13:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 6055,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6051,
                                "name": "controllerParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5948,
                                "src": "7240:16:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                                  "typeString": "struct ContributionReward.Parameters memory"
                                }
                              },
                              "id": 6052,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5786,
                              "src": "7240:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 6050,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "7232:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 6053,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7232:33:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7218:48:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 6056,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6054,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "7267:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "7218:64:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6058,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "7324:5:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 6059,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7324:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 6060,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5925,
                          "src": "7357:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6057,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "7285:12:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 6061,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7285:90:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "7218:157:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 6063,
                  "nodeType": "ExpressionStatement",
                  "src": "7218:157:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6064,
                    "name": "contributionId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5956,
                    "src": "7392:14:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5941,
                  "id": 6065,
                  "nodeType": "Return",
                  "src": "7385:21:36"
                }
              ]
            },
            "documentation": "@dev Submit a proposal for a reward for a contribution:\n@param _avatar Avatar of the organization that the contribution was made for\n@param _descriptionHash A hash of the proposal's description\n@param _reputationChange - Amount of reputation change requested .Can be negative.\n@param _rewards rewards array:\n        rewards[0] - Amount of tokens requested per period\n        rewards[1] - Amount of ETH requested per period\n        rewards[2] - Amount of external tokens requested per period\n        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n        rewards[4] - Number of periods\n@param _externalToken Address of external token, if reward is requested there\n@param _beneficiary Who gets the rewards",
            "id": 6067,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeContributionReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5938,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5925,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5615:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5924,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "5615:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5927,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5639:30:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 5926,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "5639:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5929,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5679:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5928,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5679:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5933,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5713:23:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5930,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "5713:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5932,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 5931,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "5718:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "5713:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5935,
                  "name": "_externalToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5746:21:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5934,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 23656,
                    "src": "5746:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$23656",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5937,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5777:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 5936,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5777:15:36",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5605:206:36"
            },
            "returnParameters": {
              "id": 5941,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5940,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5835:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5939,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "5835:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5834:9:36"
            },
            "scope": 6958,
            "src": "5571:1842:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6214,
              "nodeType": "Block",
              "src": "7744:1249:36",
              "statements": [
                {
                  "assignments": [
                    6077
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6077,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "7755:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6076,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "7755:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6085,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6078,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "7795:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6082,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6080,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "7826:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6079,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7818:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6081,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7818:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7795:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6084,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6083,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6069,
                      "src": "7836:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "7795:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7755:93:36"
                },
                {
                  "assignments": [
                    6087
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6087,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "7858:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6086,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "7858:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6095,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6088,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "7898:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6092,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6090,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "7929:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6089,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7921:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6091,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7921:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7898:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6094,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6093,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6069,
                      "src": "7939:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "7898:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7858:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6100,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6097,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6087,
                            "src": "7969:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6098,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "7969:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6099,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "7995:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "7969:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6096,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "7961:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6101,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7961:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6102,
                  "nodeType": "ExpressionStatement",
                  "src": "7961:36:36"
                },
                {
                  "assignments": [
                    6104
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6104,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "8007:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6103,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8007:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6112,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6106,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6069,
                        "src": "8046:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6108,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "8067:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6107,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "8059:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6109,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "8059:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6110,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8077:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        }
                      ],
                      "id": 6105,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "8030:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6111,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "8030:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8007:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6117,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6113,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6087,
                        "src": "8158:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6115,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8158:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6116,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8186:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8158:29:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6118,
                  "nodeType": "ExpressionStatement",
                  "src": "8158:29:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6126,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6119,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8197:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      },
                      "id": 6125,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6121,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6104,
                            "src": "8214:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 6120,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "8210:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_int256_$",
                            "typeString": "type(int256)"
                          },
                          "typeName": "int"
                        },
                        "id": 6122,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "8210:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "*",
                      "rightExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6123,
                          "name": "_proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6077,
                          "src": "8230:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal memory"
                          }
                        },
                        "id": 6124,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "reputationChange",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5757,
                        "src": "8230:26:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "src": "8210:46:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "src": "8197:59:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6127,
                  "nodeType": "ExpressionStatement",
                  "src": "8197:59:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 6130,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6128,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8270:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6129,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8283:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8270:14:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "condition": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      },
                      "id": 6152,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "id": 6150,
                        "name": "reputation",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6074,
                        "src": "8466:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "<",
                      "rightExpression": {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6151,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8479:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "8466:14:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseBody": null,
                    "id": 6176,
                    "nodeType": "IfStatement",
                    "src": "8462:195:36",
                    "trueBody": {
                      "id": 6175,
                      "nodeType": "Block",
                      "src": "8482:175:36",
                      "statements": [
                        {
                          "expression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "commonType": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        },
                                        "id": 6165,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "argumentTypes": null,
                                          "id": 6161,
                                          "name": "reputation",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6074,
                                          "src": "8587:10:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_int256",
                                            "typeString": "int256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "*",
                                        "rightExpression": {
                                          "argumentTypes": null,
                                          "components": [
                                            {
                                              "argumentTypes": null,
                                              "id": 6163,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "UnaryOperation",
                                              "operator": "-",
                                              "prefix": true,
                                              "src": "8599:2:36",
                                              "subExpression": {
                                                "argumentTypes": null,
                                                "hexValue": "31",
                                                "id": 6162,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "8600:1:36",
                                                "subdenomination": null,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_rational_1_by_1",
                                                  "typeString": "int_const 1"
                                                },
                                                "value": "1"
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_minus_1_by_1",
                                                "typeString": "int_const -1"
                                              }
                                            }
                                          ],
                                          "id": 6164,
                                          "isConstant": false,
                                          "isInlineArray": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "TupleExpression",
                                          "src": "8598:4:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_minus_1_by_1",
                                            "typeString": "int_const -1"
                                          }
                                        },
                                        "src": "8587:15:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      ],
                                      "id": 6160,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "8582:4:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_uint256_$",
                                        "typeString": "type(uint256)"
                                      },
                                      "typeName": "uint"
                                    },
                                    "id": 6166,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8582:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6167,
                                      "name": "_proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6077,
                                      "src": "8605:9:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal memory"
                                      }
                                    },
                                    "id": 6168,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "beneficiary",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5765,
                                    "src": "8605:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 6170,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6071,
                                        "src": "8636:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 6169,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "8628:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 6171,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8628:16:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "arguments": [],
                                        "expression": {
                                          "argumentTypes": [],
                                          "expression": {
                                            "argumentTypes": null,
                                            "id": 6155,
                                            "name": "_avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 6071,
                                            "src": "8550:7:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          },
                                          "id": 6156,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "owner",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 23021,
                                          "src": "8550:13:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                            "typeString": "function () view external returns (address)"
                                          }
                                        },
                                        "id": 6157,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "8550:15:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 6154,
                                      "name": "ControllerInterface",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 3699,
                                      "src": "8517:19:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                        "typeString": "type(contract ControllerInterface)"
                                      }
                                    },
                                    "id": 6158,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8517:49:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 6159,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "burnReputation",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 3492,
                                  "src": "8517:64:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                    "typeString": "function (uint256,address,address) external returns (bool)"
                                  }
                                },
                                "id": 6172,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "8517:128:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "id": 6153,
                              "name": "require",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [
                                23693,
                                23694
                              ],
                              "referencedDeclaration": 23693,
                              "src": "8496:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                "typeString": "function (bool) pure"
                              }
                            },
                            "id": 6173,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "8496:150:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 6174,
                          "nodeType": "ExpressionStatement",
                          "src": "8496:150:36"
                        }
                      ]
                    }
                  },
                  "id": 6177,
                  "nodeType": "IfStatement",
                  "src": "8266:391:36",
                  "trueBody": {
                    "id": 6149,
                    "nodeType": "Block",
                    "src": "8286:170:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6139,
                                      "name": "reputation",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6074,
                                      "src": "8391:10:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    ],
                                    "id": 6138,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "8386:4:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_uint256_$",
                                      "typeString": "type(uint256)"
                                    },
                                    "typeName": "uint"
                                  },
                                  "id": 6140,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8386:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6141,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6077,
                                    "src": "8404:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6142,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "8404:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6144,
                                      "name": "_avatar",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6071,
                                      "src": "8435:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 6143,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "8427:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 6145,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8427:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6133,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6071,
                                          "src": "8354:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6134,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "8354:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6135,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "8354:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6132,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "8321:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6136,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8321:49:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6137,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "mintReputation",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3481,
                                "src": "8321:64:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address,address) external returns (bool)"
                                }
                              },
                              "id": 6146,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8321:123:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6131,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "8300:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6147,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8300:145:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6148,
                        "nodeType": "ExpressionStatement",
                        "src": "8300:145:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 6180,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6178,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8670:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6179,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8684:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8670:15:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6206,
                  "nodeType": "IfStatement",
                  "src": "8666:222:36",
                  "trueBody": {
                    "id": 6205,
                    "nodeType": "Block",
                    "src": "8687:201:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6193,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6181,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6087,
                                "src": "8701:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6184,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "8701:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6185,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 6183,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "8726:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "8701:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6191,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6104,
                                "src": "8763:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6186,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6087,
                                    "src": "8731:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6187,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "8731:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6189,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 6188,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "8756:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "8731:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6190,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "8731:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6192,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "8731:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "8701:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6194,
                        "nodeType": "ExpressionStatement",
                        "src": "8701:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6197,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6071,
                                  "src": "8820:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6196,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "8812:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6198,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8812:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6199,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6069,
                              "src": "8830:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6200,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6077,
                                "src": "8843:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6201,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "8843:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6202,
                              "name": "reputation",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6074,
                              "src": "8866:10:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              }
                            ],
                            "id": 6195,
                            "name": "RedeemReputation",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5723,
                            "src": "8795:16:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_int256_$returns$__$",
                              "typeString": "function (address,bytes32,address,int256)"
                            }
                          },
                          "id": 6203,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8795:82:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6204,
                        "nodeType": "EmitStatement",
                        "src": "8790:87:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6212,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6207,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6087,
                        "src": "8932:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6209,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8932:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6210,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6077,
                        "src": "8960:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6211,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8960:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "src": "8932:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6213,
                  "nodeType": "ExpressionStatement",
                  "src": "8932:54:36"
                }
              ]
            },
            "documentation": "@dev RedeemReputation reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return reputation the redeemed reputation.",
            "id": 6215,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6072,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6069,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7673:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6068,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "7673:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6071,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7694:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6070,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "7694:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "7672:37:36"
            },
            "returnParameters": {
              "id": 6075,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6074,
                  "name": "reputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7725:17:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6073,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7725:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "7724:19:36"
            },
            "scope": 6958,
            "src": "7647:1346:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6327,
              "nodeType": "Block",
              "src": "9320:960:36",
              "statements": [
                {
                  "assignments": [
                    6225
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6225,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9331:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6224,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "9331:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6233,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6226,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "9371:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6230,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6228,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9402:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6227,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9394:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6229,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9394:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "9371:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6232,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6231,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6217,
                      "src": "9412:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "9371:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9331:93:36"
                },
                {
                  "assignments": [
                    6235
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6235,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9434:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6234,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "9434:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6243,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6236,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "9474:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6240,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6238,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9505:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6237,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9497:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6239,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9497:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "9474:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6242,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6241,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6217,
                      "src": "9515:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "9474:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9434:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6248,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6245,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6235,
                            "src": "9545:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6246,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "9545:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6247,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "9571:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "9545:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6244,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "9537:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9537:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6250,
                  "nodeType": "ExpressionStatement",
                  "src": "9537:36:36"
                },
                {
                  "assignments": [
                    6252
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6252,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9583:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6251,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9583:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6260,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6254,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6217,
                        "src": "9622:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6256,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9643:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6255,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9635:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6257,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9635:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 6258,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "9653:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        }
                      ],
                      "id": 6253,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "9606:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9606:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9583:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6265,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6261,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6235,
                        "src": "9734:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6263,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "9734:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6264,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9763:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9734:30:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6266,
                  "nodeType": "ExpressionStatement",
                  "src": "9734:30:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6273,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6267,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6222,
                      "src": "9775:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6270,
                            "name": "_proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6225,
                            "src": "9801:9:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal memory"
                            }
                          },
                          "id": 6271,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeTokenReward",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5755,
                          "src": "9801:27:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 6268,
                          "name": "periodsToPay",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6252,
                          "src": "9784:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6269,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mul",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22894,
                        "src": "9784:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 6272,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "9784:45:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "9775:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6274,
                  "nodeType": "ExpressionStatement",
                  "src": "9775:54:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6277,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6275,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6222,
                      "src": "9843:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6276,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9852:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9843:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6319,
                  "nodeType": "IfStatement",
                  "src": "9839:333:36",
                  "trueBody": {
                    "id": 6318,
                    "nodeType": "Block",
                    "src": "9855:317:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6285,
                                  "name": "amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6222,
                                  "src": "9925:6:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6286,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6225,
                                    "src": "9933:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6287,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "9933:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6289,
                                      "name": "_avatar",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6219,
                                      "src": "9964:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 6288,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "9956:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 6290,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "9956:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6280,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6219,
                                          "src": "9897:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6281,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "9897:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6282,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "9897:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6279,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "9877:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6283,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "9877:36:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6284,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "mintTokens",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3503,
                                "src": "9877:47:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address,address) external returns (bool)"
                                }
                              },
                              "id": 6291,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "9877:96:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6278,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "9869:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6292,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "9869:105:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6293,
                        "nodeType": "ExpressionStatement",
                        "src": "9869:105:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6306,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6294,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6235,
                                "src": "9988:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6297,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "9988:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6298,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "31",
                              "id": 6296,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "10013:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "9988:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6304,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6252,
                                "src": "10050:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6299,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6235,
                                    "src": "10018:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6300,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "10018:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6302,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "31",
                                  "id": 6301,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "10043:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "10018:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6303,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "10018:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6305,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "10018:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "9988:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6307,
                        "nodeType": "ExpressionStatement",
                        "src": "9988:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6310,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6219,
                                  "src": "10108:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6309,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "10100:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6311,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "10100:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6312,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6217,
                              "src": "10118:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6313,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6225,
                                "src": "10131:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6314,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "10131:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6315,
                              "name": "amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6222,
                              "src": "10154:6:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 6308,
                            "name": "RedeemNativeToken",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5743,
                            "src": "10082:17:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,bytes32,address,uint256)"
                            }
                          },
                          "id": 6316,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10082:79:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6317,
                        "nodeType": "EmitStatement",
                        "src": "10077:84:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6325,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6320,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6235,
                        "src": "10217:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6322,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "10217:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6323,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6225,
                        "src": "10246:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6324,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "10246:27:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "10217:56:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6326,
                  "nodeType": "ExpressionStatement",
                  "src": "10217:56:36"
                }
              ]
            },
            "documentation": "@dev RedeemNativeToken reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount the redeemed nativeToken.",
            "id": 6328,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemNativeToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6220,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6217,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9252:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6216,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "9252:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6219,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9273:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6218,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "9273:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "9251:37:36"
            },
            "returnParameters": {
              "id": 6223,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6222,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9304:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6221,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9304:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "9303:16:36"
            },
            "scope": 6958,
            "src": "9225:1055:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6438,
              "nodeType": "Block",
              "src": "10591:912:36",
              "statements": [
                {
                  "assignments": [
                    6338
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6338,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10602:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6337,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "10602:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6346,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6339,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "10642:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6343,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6341,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10673:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6340,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10665:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6342,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10665:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "10642:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6345,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6344,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6330,
                      "src": "10683:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "10642:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10602:93:36"
                },
                {
                  "assignments": [
                    6348
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6348,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10705:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6347,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "10705:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6356,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6349,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "10745:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6353,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6351,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10776:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10768:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6352,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10768:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "10745:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6355,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6354,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6330,
                      "src": "10786:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "10745:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10705:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6361,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6358,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6348,
                            "src": "10816:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6359,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "10816:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6360,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "10842:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "10816:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6357,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "10808:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6362,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10808:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6363,
                  "nodeType": "ExpressionStatement",
                  "src": "10808:36:36"
                },
                {
                  "assignments": [
                    6365
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6365,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10854:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6364,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "10854:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6373,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6367,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6330,
                        "src": "10893:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6369,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10914:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6368,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10906:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6370,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10906:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 6371,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "10924:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        }
                      ],
                      "id": 6366,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "10877:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6372,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10877:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10854:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6378,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6374,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6348,
                        "src": "11005:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6376,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11005:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6377,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "11026:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "11005:22:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6379,
                  "nodeType": "ExpressionStatement",
                  "src": "11005:22:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6386,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6380,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6335,
                      "src": "11037:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6383,
                            "name": "_proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6338,
                            "src": "11063:9:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal memory"
                            }
                          },
                          "id": 6384,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "ethReward",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5759,
                          "src": "11063:19:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 6381,
                          "name": "periodsToPay",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6365,
                          "src": "11046:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6382,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mul",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22894,
                        "src": "11046:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 6385,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "11046:37:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11037:46:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6387,
                  "nodeType": "ExpressionStatement",
                  "src": "11037:46:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6390,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6388,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6335,
                      "src": "11098:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6389,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "11107:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "11098:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6430,
                  "nodeType": "IfStatement",
                  "src": "11094:317:36",
                  "trueBody": {
                    "id": 6429,
                    "nodeType": "Block",
                    "src": "11110:301:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6398,
                                  "name": "amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6335,
                                  "src": "11179:6:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6399,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6338,
                                    "src": "11187:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6400,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "11187:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "id": 6401,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6332,
                                  "src": "11210:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6393,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6332,
                                          "src": "11152:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6394,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "11152:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6395,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "11152:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6392,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "11132:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6396,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "11132:36:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6397,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sendEther",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3587,
                                "src": "11132:46:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_payable_$_t_contract$_Avatar_$2010_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address payable,contract Avatar) external returns (bool)"
                                }
                              },
                              "id": 6402,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "11132:86:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6391,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "11124:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6403,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11124:95:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6404,
                        "nodeType": "ExpressionStatement",
                        "src": "11124:95:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6417,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6405,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6348,
                                "src": "11233:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6408,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "11233:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6409,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "32",
                              "id": 6407,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "11258:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_2_by_1",
                                "typeString": "int_const 2"
                              },
                              "value": "2"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "11233:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6415,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6365,
                                "src": "11295:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6410,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6348,
                                    "src": "11263:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6411,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "11263:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6413,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "32",
                                  "id": 6412,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "11288:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_2_by_1",
                                    "typeString": "int_const 2"
                                  },
                                  "value": "2"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "11263:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6414,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "11263:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6416,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "11263:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "11233:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6418,
                        "nodeType": "ExpressionStatement",
                        "src": "11233:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6421,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6332,
                                  "src": "11347:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6420,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "11339:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6422,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "11339:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6423,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6330,
                              "src": "11357:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6424,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6338,
                                "src": "11370:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6425,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "11370:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6426,
                              "name": "amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6335,
                              "src": "11393:6:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 6419,
                            "name": "RedeemEther",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5733,
                            "src": "11327:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,bytes32,address,uint256)"
                            }
                          },
                          "id": 6427,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11327:73:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6428,
                        "nodeType": "EmitStatement",
                        "src": "11322:78:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6436,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6431,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6348,
                        "src": "11456:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6433,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11456:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6434,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6338,
                        "src": "11477:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6435,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11477:19:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11456:40:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6437,
                  "nodeType": "ExpressionStatement",
                  "src": "11456:40:36"
                }
              ]
            },
            "documentation": "@dev RedeemEther reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount ether redeemed amount",
            "id": 6439,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemEther",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6333,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6330,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10523:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6329,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "10523:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6332,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10544:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6331,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "10544:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "10522:37:36"
            },
            "returnParameters": {
              "id": 6336,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6335,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10575:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6334,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10575:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "10574:16:36"
            },
            "scope": 6958,
            "src": "10502:1001:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6564,
              "nodeType": "Block",
              "src": "11841:1169:36",
              "statements": [
                {
                  "assignments": [
                    6449
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6449,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "11852:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6448,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "11852:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6457,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6450,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "11892:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6454,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6452,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "11923:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6451,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "11915:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6453,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "11915:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "11892:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6456,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6455,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6441,
                      "src": "11933:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "11892:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "11852:93:36"
                },
                {
                  "assignments": [
                    6459
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6459,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "11955:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6458,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "11955:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6467,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6460,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "11995:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6464,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6462,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "12026:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6461,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "12018:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6463,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12018:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "11995:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6466,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6465,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6441,
                      "src": "12036:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "11995:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "11955:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6472,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6469,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6459,
                            "src": "12066:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6470,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "12066:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6471,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "12092:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "12066:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6468,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "12058:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6473,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12058:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6474,
                  "nodeType": "ExpressionStatement",
                  "src": "12058:36:36"
                },
                {
                  "assignments": [
                    6476
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6476,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "12104:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6475,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "12104:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6484,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6478,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6441,
                        "src": "12143:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6480,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "12164:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6479,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "12156:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6481,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12156:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "33",
                        "id": 6482,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12174:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_3_by_1",
                          "typeString": "int_const 3"
                        },
                        "value": "3"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_3_by_1",
                          "typeString": "int_const 3"
                        }
                      ],
                      "id": 6477,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "12127:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6483,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12127:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "12104:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6489,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6485,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6459,
                        "src": "12255:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6487,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12255:28:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6488,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "12286:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "12255:32:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6490,
                  "nodeType": "ExpressionStatement",
                  "src": "12255:32:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 6501,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_contract$_IERC20_$23656",
                        "typeString": "contract IERC20"
                      },
                      "id": 6496,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6491,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6459,
                          "src": "12302:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                          }
                        },
                        "id": 6492,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalToken",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5761,
                        "src": "12302:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "!=",
                      "rightExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6494,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "12335:1:36",
                            "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": 6493,
                          "name": "IERC20",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23656,
                          "src": "12328:6:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IERC20_$23656_$",
                            "typeString": "type(contract IERC20)"
                          }
                        },
                        "id": 6495,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12328:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      "src": "12302:35:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "&&",
                    "rightExpression": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 6500,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6497,
                          "name": "_proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6449,
                          "src": "12341:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal memory"
                          }
                        },
                        "id": 6498,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalTokenReward",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5763,
                        "src": "12341:29:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": ">",
                      "rightExpression": {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6499,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12373:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "12341:33:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "12302:72:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6556,
                  "nodeType": "IfStatement",
                  "src": "12298:601:36",
                  "trueBody": {
                    "id": 6555,
                    "nodeType": "Block",
                    "src": "12376:523:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6508,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6502,
                            "name": "amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6446,
                            "src": "12390:6:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 6505,
                                  "name": "_proposal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6449,
                                  "src": "12416:9:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                    "typeString": "struct ContributionReward.ContributionProposal memory"
                                  }
                                },
                                "id": 6506,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "externalTokenReward",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 5763,
                                "src": "12416:29:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 6503,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6476,
                                "src": "12399:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6504,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "mul",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22894,
                              "src": "12399:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6507,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "12399:47:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "12390:56:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6509,
                        "nodeType": "ExpressionStatement",
                        "src": "12390:56:36"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6512,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 6510,
                            "name": "amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6446,
                            "src": "12464:6:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6511,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "12473:1:36",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "12464:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 6554,
                        "nodeType": "IfStatement",
                        "src": "12460:429:36",
                        "trueBody": {
                          "id": 6553,
                          "nodeType": "Block",
                          "src": "12476:413:36",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6520,
                                          "name": "_proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6449,
                                          "src": "12612:9:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal memory"
                                          }
                                        },
                                        "id": 6521,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "externalToken",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5761,
                                        "src": "12612:23:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_IERC20_$23656",
                                          "typeString": "contract IERC20"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6522,
                                          "name": "_proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6449,
                                          "src": "12637:9:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal memory"
                                          }
                                        },
                                        "id": 6523,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "beneficiary",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5765,
                                        "src": "12637:21:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 6524,
                                        "name": "amount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6446,
                                        "src": "12660:6:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 6525,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6443,
                                        "src": "12668:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_IERC20_$23656",
                                          "typeString": "contract IERC20"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        },
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "arguments": [],
                                            "expression": {
                                              "argumentTypes": [],
                                              "expression": {
                                                "argumentTypes": null,
                                                "id": 6515,
                                                "name": "_avatar",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 6443,
                                                "src": "12556:7:36",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                                  "typeString": "contract Avatar"
                                                }
                                              },
                                              "id": 6516,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "owner",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 23021,
                                              "src": "12556:13:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                                "typeString": "function () view external returns (address)"
                                              }
                                            },
                                            "id": 6517,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "kind": "functionCall",
                                            "lValueRequested": false,
                                            "names": [],
                                            "nodeType": "FunctionCall",
                                            "src": "12556:15:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          ],
                                          "id": 6514,
                                          "name": "ControllerInterface",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 3699,
                                          "src": "12519:19:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                            "typeString": "type(contract ControllerInterface)"
                                          }
                                        },
                                        "id": 6518,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "12519:53:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 6519,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "externalTokenTransfer",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3600,
                                      "src": "12519:92:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$23656_$_t_address_$_t_uint256_$_t_contract$_Avatar_$2010_$returns$_t_bool_$",
                                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 6526,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "12519:157:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 6513,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "12494:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 6527,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "12494:183:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 6528,
                              "nodeType": "ExpressionStatement",
                              "src": "12494:183:36"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "id": 6541,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6529,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6459,
                                      "src": "12695:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                      }
                                    },
                                    "id": 6532,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "redeemedPeriods",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5775,
                                    "src": "12695:24:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                      "typeString": "uint256[4] storage ref"
                                    }
                                  },
                                  "id": 6533,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "33",
                                    "id": 6531,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "12720:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_3_by_1",
                                      "typeString": "int_const 3"
                                    },
                                    "value": "3"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": true,
                                  "nodeType": "IndexAccess",
                                  "src": "12695:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6539,
                                      "name": "periodsToPay",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6476,
                                      "src": "12757:12:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6534,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6459,
                                          "src": "12725:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                          }
                                        },
                                        "id": 6535,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "redeemedPeriods",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5775,
                                        "src": "12725:24:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                          "typeString": "uint256[4] storage ref"
                                        }
                                      },
                                      "id": 6537,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "hexValue": "33",
                                        "id": 6536,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "12750:1:36",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_3_by_1",
                                          "typeString": "int_const 3"
                                        },
                                        "value": "3"
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "12725:27:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 6538,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "add",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 22966,
                                    "src": "12725:31:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                      "typeString": "function (uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 6540,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "12725:45:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12695:75:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6542,
                              "nodeType": "ExpressionStatement",
                              "src": "12695:75:36"
                            },
                            {
                              "eventCall": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 6545,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6443,
                                        "src": "12821:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 6544,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "12813:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 6546,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "12813:16:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "id": 6547,
                                    "name": "_proposalId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6441,
                                    "src": "12831:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes32",
                                      "typeString": "bytes32"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6548,
                                      "name": "_proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6449,
                                      "src": "12844:9:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal memory"
                                      }
                                    },
                                    "id": 6549,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "beneficiary",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5765,
                                    "src": "12844:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "id": 6550,
                                    "name": "amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6446,
                                    "src": "12867:6:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_bytes32",
                                      "typeString": "bytes32"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 6543,
                                  "name": "RedeemExternalToken",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5753,
                                  "src": "12793:19:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                                    "typeString": "function (address,bytes32,address,uint256)"
                                  }
                                },
                                "id": 6551,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "12793:81:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 6552,
                              "nodeType": "EmitStatement",
                              "src": "12788:86:36"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6562,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6557,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6459,
                        "src": "12943:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6559,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12943:28:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6560,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6449,
                        "src": "12974:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6561,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12974:29:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "12943:60:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6563,
                  "nodeType": "ExpressionStatement",
                  "src": "12943:60:36"
                }
              ]
            },
            "documentation": "@dev RedeemNativeToken reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount the external token redeemed amount",
            "id": 6565,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemExternalToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6444,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6441,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11773:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6440,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "11773:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6443,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11794:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6442,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "11794:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "11772:37:36"
            },
            "returnParameters": {
              "id": 6447,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6446,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11825:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6445,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11825:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "11824:16:36"
            },
            "scope": 6958,
            "src": "11744:1266:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6632,
              "nodeType": "Block",
              "src": "13679:461:36",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6584,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13694:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6586,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6585,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13708:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13694:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6595,
                  "nodeType": "IfStatement",
                  "src": "13690:104:36",
                  "trueBody": {
                    "id": 6594,
                    "nodeType": "Block",
                    "src": "13712:82:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6592,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6587,
                            "name": "reputationReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6576,
                            "src": "13726:16:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_int256",
                              "typeString": "int256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6589,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13762:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6590,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13775:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6588,
                              "name": "redeemReputation",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6215,
                              "src": "13745:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_int256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (int256)"
                              }
                            },
                            "id": 6591,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13745:38:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_int256",
                              "typeString": "int256"
                            }
                          },
                          "src": "13726:57:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_int256",
                            "typeString": "int256"
                          }
                        },
                        "id": 6593,
                        "nodeType": "ExpressionStatement",
                        "src": "13726:57:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6596,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13808:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6598,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 6597,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13822:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13808:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6607,
                  "nodeType": "IfStatement",
                  "src": "13804:106:36",
                  "trueBody": {
                    "id": 6606,
                    "nodeType": "Block",
                    "src": "13826:84:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6604,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6599,
                            "name": "nativeTokenReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6578,
                            "src": "13840:17:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6601,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13878:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6602,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13891:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6600,
                              "name": "redeemNativeToken",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6328,
                              "src": "13860:17:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6603,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13860:39:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "13840:59:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6605,
                        "nodeType": "ExpressionStatement",
                        "src": "13840:59:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6608,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13924:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6610,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "32",
                      "id": 6609,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13938:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_2_by_1",
                        "typeString": "int_const 2"
                      },
                      "value": "2"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13924:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6619,
                  "nodeType": "IfStatement",
                  "src": "13920:94:36",
                  "trueBody": {
                    "id": 6618,
                    "nodeType": "Block",
                    "src": "13942:72:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6616,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6611,
                            "name": "etherReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6580,
                            "src": "13956:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6613,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13982:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6614,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13995:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6612,
                              "name": "redeemEther",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6439,
                              "src": "13970:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6615,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13970:33:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "13956:47:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6617,
                        "nodeType": "ExpressionStatement",
                        "src": "13956:47:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6620,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "14028:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6622,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 6621,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14042:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_3_by_1",
                        "typeString": "int_const 3"
                      },
                      "value": "3"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "14028:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6631,
                  "nodeType": "IfStatement",
                  "src": "14024:110:36",
                  "trueBody": {
                    "id": 6630,
                    "nodeType": "Block",
                    "src": "14046:88:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6628,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6623,
                            "name": "externalTokenReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6582,
                            "src": "14060:19:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6625,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "14102:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6626,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "14115:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6624,
                              "name": "redeemExternalToken",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6565,
                              "src": "14082:19:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6627,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "14082:41:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "14060:63:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6629,
                        "nodeType": "ExpressionStatement",
                        "src": "14060:63:36"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": "@dev redeem rewards for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _whatToRedeem whatToRedeem array:\n        whatToRedeem[0] - reputation\n        whatToRedeem[1] - nativeTokenReward\n        whatToRedeem[2] - Ether\n        whatToRedeem[3] - ExternalToken\n@return  result boolean array for each redeem type.",
            "id": 6633,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeem",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6574,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6567,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13483:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6566,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "13483:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6569,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13504:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6568,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "13504:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6573,
                  "name": "_whatToRedeem",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13520:28:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                    "typeString": "bool[4]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 6570,
                      "name": "bool",
                      "nodeType": "ElementaryTypeName",
                      "src": "13520:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "id": 6572,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "34",
                      "id": 6571,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13525:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "4"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "13520:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_bool_$4_storage_ptr",
                      "typeString": "bool[4]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "13482:67:36"
            },
            "returnParameters": {
              "id": 6583,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6576,
                  "name": "reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13573:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6575,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13573:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6578,
                  "name": "nativeTokenReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13598:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6577,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13598:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6580,
                  "name": "etherReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13625:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6579,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13625:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6582,
                  "name": "externalTokenReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13646:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6581,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13646:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "13572:102:36"
            },
            "scope": 6958,
            "src": "13467:673:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6728,
              "nodeType": "Block",
              "src": "14793:861:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6647,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 6645,
                          "name": "_redeemType",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6639,
                          "src": "14811:11:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 6646,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "14826:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_3_by_1",
                            "typeString": "int_const 3"
                          },
                          "value": "3"
                        },
                        "src": "14811:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "73686f756c6420626520696e207468652072656465656d6564506572696f64732072616e6765",
                        "id": 6648,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14829:40:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_bd4ef719b23c5e3871f26867b3b48c4c02d5ad3d8d736edd8425236f128c30e7",
                          "typeString": "literal_string \"should be in the redeemedPeriods range\""
                        },
                        "value": "should be in the redeemedPeriods range"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_bd4ef719b23c5e3871f26867b3b48c4c02d5ad3d8d736edd8425236f128c30e7",
                          "typeString": "literal_string \"should be in the redeemedPeriods range\""
                        }
                      ],
                      "id": 6644,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "14803:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 6649,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14803:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6650,
                  "nodeType": "ExpressionStatement",
                  "src": "14803:67:36"
                },
                {
                  "assignments": [
                    6652
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6652,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "14880:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6651,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "14880:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6658,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6653,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "14920:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6655,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6654,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6637,
                        "src": "14943:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "14920:31:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6657,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6656,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6635,
                      "src": "14952:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "14920:44:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14880:84:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6662,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6659,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6652,
                        "src": "14978:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6660,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "executionTime",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5771,
                      "src": "14978:23:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6661,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15005:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "14978:28:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6665,
                  "nodeType": "IfStatement",
                  "src": "14974:54:36",
                  "trueBody": {
                    "expression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6663,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15027:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 6643,
                    "id": 6664,
                    "nodeType": "Return",
                    "src": "15020:8:36"
                  }
                },
                {
                  "assignments": [
                    6667
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6667,
                      "name": "periodsFromExecution",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "15038:28:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6666,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15038:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6668,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15038:28:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6672,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6669,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6652,
                        "src": "15080:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6670,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "periodLength",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5767,
                      "src": "15080:22:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6671,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15105:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "15080:26:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6687,
                  "nodeType": "IfStatement",
                  "src": "15076:195:36",
                  "trueBody": {
                    "id": 6686,
                    "nodeType": "Block",
                    "src": "15108:163:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6684,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6673,
                            "name": "periodsFromExecution",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6667,
                            "src": "15178:20:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 6683,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 6676,
                                        "name": "_proposal",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6652,
                                        "src": "15210:9:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                          "typeString": "struct ContributionReward.ContributionProposal memory"
                                        }
                                      },
                                      "id": 6677,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "executionTime",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 5771,
                                      "src": "15210:23:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6674,
                                      "name": "now",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23692,
                                      "src": "15202:3:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 6675,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "sub",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 22942,
                                    "src": "15202:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                      "typeString": "function (uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 6678,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "15202:32:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 6679,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "15201:34:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "/",
                            "rightExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6680,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15237:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6681,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "periodLength",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5767,
                                  "src": "15237:22:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 6682,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "15236:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "15201:59:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15178:82:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6685,
                        "nodeType": "ExpressionStatement",
                        "src": "15178:82:36"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    6689
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6689,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "15280:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6688,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15280:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6690,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15280:20:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 6701,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6694,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6691,
                              "name": "_proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6652,
                              "src": "15315:9:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                "typeString": "struct ContributionReward.ContributionProposal memory"
                              }
                            },
                            "id": 6692,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "periodLength",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5767,
                            "src": "15315:22:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6693,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "15341:1:36",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "15315:27:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 6695,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15314:29:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6699,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 6696,
                            "name": "periodsFromExecution",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6667,
                            "src": "15348:20:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">=",
                          "rightExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6697,
                              "name": "_proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6652,
                              "src": "15372:9:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                "typeString": "struct ContributionReward.ContributionProposal memory"
                              }
                            },
                            "id": 6698,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "numberOfPeriods",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5769,
                            "src": "15372:25:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15348:49:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 6700,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15347:51:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "15314:84:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 6724,
                    "nodeType": "Block",
                    "src": "15515:104:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6722,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6714,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6689,
                            "src": "15529:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6717,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15569:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6718,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "15569:25:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_memory",
                                    "typeString": "uint256[4] memory"
                                  }
                                },
                                "id": 6720,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "id": 6719,
                                  "name": "_redeemType",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6639,
                                  "src": "15595:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "15569:38:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 6715,
                                "name": "periodsFromExecution",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6667,
                                "src": "15544:20:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6716,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sub",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22942,
                              "src": "15544:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6721,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "15544:64:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15529:79:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6723,
                        "nodeType": "ExpressionStatement",
                        "src": "15529:79:36"
                      }
                    ]
                  },
                  "id": 6725,
                  "nodeType": "IfStatement",
                  "src": "15310:309:36",
                  "trueBody": {
                    "id": 6713,
                    "nodeType": "Block",
                    "src": "15400:109:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6711,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6702,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6689,
                            "src": "15414:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6706,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15459:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6707,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "15459:25:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_memory",
                                    "typeString": "uint256[4] memory"
                                  }
                                },
                                "id": 6709,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "id": 6708,
                                  "name": "_redeemType",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6639,
                                  "src": "15485:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "15459:38:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 6703,
                                  "name": "_proposal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6652,
                                  "src": "15429:9:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                    "typeString": "struct ContributionReward.ContributionProposal memory"
                                  }
                                },
                                "id": 6704,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "numberOfPeriods",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 5769,
                                "src": "15429:25:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6705,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sub",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22942,
                              "src": "15429:29:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6710,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "15429:69:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15414:84:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6712,
                        "nodeType": "ExpressionStatement",
                        "src": "15414:84:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6726,
                    "name": "periodsToPay",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6689,
                    "src": "15635:12:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6643,
                  "id": 6727,
                  "nodeType": "Return",
                  "src": "15628:19:36"
                }
              ]
            },
            "documentation": "@dev getPeriodsToPay return the periods left to be paid for reputation,nativeToken,ether or externalToken.\nThe function ignore the reward amount to be paid (which can be zero).\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _redeemType - the type of the reward  :\n        0 - reputation\n        1 - nativeTokenReward\n        2 - Ether\n        3 - ExternalToken\n@return  periods left to be paid.",
            "id": 6729,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPeriodsToPay",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6640,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6635,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14704:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6634,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "14704:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6637,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14725:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6636,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14725:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6639,
                  "name": "_redeemType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14742:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6638,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14742:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "14703:59:36"
            },
            "returnParameters": {
              "id": 6643,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6642,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14784:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6641,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14784:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "14783:9:36"
            },
            "scope": 6958,
            "src": "14679:975:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6749,
              "nodeType": "Block",
              "src": "16243:97:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 6740,
                            "name": "organizationsProposals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5782,
                            "src": "16260:22:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                            }
                          },
                          "id": 6742,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 6741,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6733,
                            "src": "16283:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "16260:31:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                          }
                        },
                        "id": 6744,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6743,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6731,
                          "src": "16292:11:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16260:44:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                          "typeString": "struct ContributionReward.ContributionProposal storage ref"
                        }
                      },
                      "id": 6745,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "redeemedPeriods",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5775,
                      "src": "16260:60:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_uint256_$4_storage",
                        "typeString": "uint256[4] storage ref"
                      }
                    },
                    "id": 6747,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6746,
                      "name": "_redeemType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6735,
                      "src": "16321:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "16260:73:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6739,
                  "id": 6748,
                  "nodeType": "Return",
                  "src": "16253:80:36"
                }
              ]
            },
            "documentation": "@dev getRedeemedPeriods return the already redeemed periods for reputation, nativeToken, ether or externalToken.\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _redeemType - the type of the reward  :\n        0 - reputation\n        1 - nativeTokenReward\n        2 - Ether\n        3 - ExternalToken\n@return redeemed period.",
            "id": 6750,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getRedeemedPeriods",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6736,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6731,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16142:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6730,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16142:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6733,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16163:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6732,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16163:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6735,
                  "name": "_redeemType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16180:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6734,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16180:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16141:59:36"
            },
            "returnParameters": {
              "id": 6739,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6738,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16234:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6737,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16234:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16233:9:36"
            },
            "scope": 6958,
            "src": "16114:226:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6766,
              "nodeType": "Block",
              "src": "16444:78:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6759,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "16461:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6761,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6760,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6754,
                          "src": "16484:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16461:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6763,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6762,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6752,
                        "src": "16493:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "16461:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6764,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "ethReward",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5759,
                    "src": "16461:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6758,
                  "id": 6765,
                  "nodeType": "Return",
                  "src": "16454:61:36"
                }
              ]
            },
            "documentation": null,
            "id": 6767,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalEthReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6755,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6752,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16376:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6751,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16376:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6754,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16397:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6753,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16397:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16375:38:36"
            },
            "returnParameters": {
              "id": 6758,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6757,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16435:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6756,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16435:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16434:9:36"
            },
            "scope": 6958,
            "src": "16346:176:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6783,
              "nodeType": "Block",
              "src": "16636:88:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6776,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "16653:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6778,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6777,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6771,
                          "src": "16676:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16653:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6780,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6779,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6769,
                        "src": "16685:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "16653:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6781,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "externalTokenReward",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5763,
                    "src": "16653:64:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6775,
                  "id": 6782,
                  "nodeType": "Return",
                  "src": "16646:71:36"
                }
              ]
            },
            "documentation": null,
            "id": 6784,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExternalTokenReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6772,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6769,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16568:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6768,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16568:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6771,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16589:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6770,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16589:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16567:38:36"
            },
            "returnParameters": {
              "id": 6775,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6774,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16627:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6773,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16627:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16626:9:36"
            },
            "scope": 6958,
            "src": "16528:196:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6802,
              "nodeType": "Block",
              "src": "16832:91:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 6794,
                              "name": "organizationsProposals",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5782,
                              "src": "16857:22:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                              }
                            },
                            "id": 6796,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 6795,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6788,
                              "src": "16880:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "16857:31:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                              "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                            }
                          },
                          "id": 6798,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 6797,
                            "name": "_proposalId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6786,
                            "src": "16889:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "16857:44:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                            "typeString": "struct ContributionReward.ContributionProposal storage ref"
                          }
                        },
                        "id": 6799,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalToken",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5761,
                        "src": "16857:58:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      ],
                      "id": 6793,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "16849:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_address_$",
                        "typeString": "type(address)"
                      },
                      "typeName": "address"
                    },
                    "id": 6800,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "16849:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 6792,
                  "id": 6801,
                  "nodeType": "Return",
                  "src": "16842:74:36"
                }
              ]
            },
            "documentation": null,
            "id": 6803,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExternalToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6789,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6786,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16764:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6785,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16764:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6788,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16785:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6787,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16785:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16763:38:36"
            },
            "returnParameters": {
              "id": 6792,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6791,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16823:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6790,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16823:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16822:9:36"
            },
            "scope": 6958,
            "src": "16730:193:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6819,
              "nodeType": "Block",
              "src": "17031:82:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6812,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "17048:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6814,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6813,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6807,
                          "src": "17071:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17048:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6816,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6815,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6805,
                        "src": "17080:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "17048:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6817,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "executionTime",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5771,
                    "src": "17048:58:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6811,
                  "id": 6818,
                  "nodeType": "Return",
                  "src": "17041:65:36"
                }
              ]
            },
            "documentation": null,
            "id": 6820,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExecutionTime",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6808,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6805,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "16963:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6804,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16963:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6807,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "16984:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6806,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16984:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16962:38:36"
            },
            "returnParameters": {
              "id": 6811,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6810,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "17022:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6809,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17022:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "17021:9:36"
            },
            "scope": 6958,
            "src": "16929:184:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6956,
              "nodeType": "Block",
              "src": "17909:1282:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "components": [
                          {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "id": 6842,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 6834,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "baseExpression": {
                                      "argumentTypes": null,
                                      "id": 6830,
                                      "name": "_rewards",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6826,
                                      "src": "17929:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                        "typeString": "uint256[5] memory"
                                      }
                                    },
                                    "id": 6832,
                                    "indexExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "33",
                                      "id": 6831,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "17938:1:36",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_3_by_1",
                                        "typeString": "int_const 3"
                                      },
                                      "value": "3"
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "17929:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 6833,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "17943:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "src": "17929:15:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                }
                              ],
                              "id": 6835,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "17928:17:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "||",
                            "rightExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 6840,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "baseExpression": {
                                      "argumentTypes": null,
                                      "id": 6836,
                                      "name": "_rewards",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6826,
                                      "src": "17950:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                        "typeString": "uint256[5] memory"
                                      }
                                    },
                                    "id": 6838,
                                    "indexExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "34",
                                      "id": 6837,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "17959:1:36",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_4_by_1",
                                        "typeString": "int_const 4"
                                      },
                                      "value": "4"
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "17950:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "==",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "31",
                                    "id": 6839,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "17965:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "17950:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                }
                              ],
                              "id": 6841,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "17949:18:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "src": "17928:39:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 6843,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "17927:41:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "706572696f644c656e67746820657175616c20302072657175697265206e756d6265724f66506572696f647320746f2062652031",
                        "id": 6844,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "17970:54:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_184adae7a751af32b21a6c9ed23b7708e5a5b5f5f10a65f1b2801f2057c75169",
                          "typeString": "literal_string \"periodLength equal 0 require numberOfPeriods to be 1\""
                        },
                        "value": "periodLength equal 0 require numberOfPeriods to be 1"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_184adae7a751af32b21a6c9ed23b7708e5a5b5f5f10a65f1b2801f2057c75169",
                          "typeString": "literal_string \"periodLength equal 0 require numberOfPeriods to be 1\""
                        }
                      ],
                      "id": 6829,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "17919:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 6845,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17919:106:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6846,
                  "nodeType": "ExpressionStatement",
                  "src": "17919:106:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6851,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6847,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6826,
                        "src": "18039:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      },
                      "id": 6849,
                      "indexExpression": {
                        "argumentTypes": null,
                        "hexValue": "34",
                        "id": 6848,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "18048:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_4_by_1",
                          "typeString": "int_const 4"
                        },
                        "value": "4"
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "18039:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6850,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "18053:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "18039:15:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6955,
                  "nodeType": "IfStatement",
                  "src": "18035:1150:36",
                  "trueBody": {
                    "id": 6954,
                    "nodeType": "Block",
                    "src": "18056:1129:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 6870,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "UnaryOperation",
                              "operator": "!",
                              "prefix": true,
                              "src": "18159:59:36",
                              "subExpression": {
                                "argumentTypes": null,
                                "components": [
                                  {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "id": 6868,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6860,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "baseExpression": {
                                              "argumentTypes": null,
                                              "id": 6854,
                                              "name": "_rewards",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 6826,
                                              "src": "18165:8:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                                "typeString": "uint256[5] memory"
                                              }
                                            },
                                            "id": 6856,
                                            "indexExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "34",
                                              "id": 6855,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18174:1:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_4_by_1",
                                                "typeString": "int_const 4"
                                              },
                                              "value": "4"
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "18165:11:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 6853,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "18161:3:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_int256_$",
                                            "typeString": "type(int256)"
                                          },
                                          "typeName": "int"
                                        },
                                        "id": 6857,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "18161:16:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "id": 6859,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "UnaryOperation",
                                        "operator": "-",
                                        "prefix": true,
                                        "src": "18181:2:36",
                                        "subExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "31",
                                          "id": 6858,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18182:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_minus_1_by_1",
                                          "typeString": "int_const -1"
                                        }
                                      },
                                      "src": "18161:22:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "&&",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6867,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "id": 6861,
                                        "name": "_reputationChange",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6822,
                                        "src": "18187:17:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "components": [
                                          {
                                            "argumentTypes": null,
                                            "commonType": {
                                              "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                              "typeString": "int_const -578...(70 digits omitted)...9968"
                                            },
                                            "id": 6865,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "argumentTypes": null,
                                              "id": 6863,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "UnaryOperation",
                                              "operator": "-",
                                              "prefix": true,
                                              "src": "18209:2:36",
                                              "subExpression": {
                                                "argumentTypes": null,
                                                "hexValue": "32",
                                                "id": 6862,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "18210:1:36",
                                                "subdenomination": null,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_rational_2_by_1",
                                                  "typeString": "int_const 2"
                                                },
                                                "value": "2"
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_minus_2_by_1",
                                                "typeString": "int_const -2"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "**",
                                            "rightExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "323535",
                                              "id": 6864,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18213:3:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_255_by_1",
                                                "typeString": "int_const 255"
                                              },
                                              "value": "255"
                                            },
                                            "src": "18209:7:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                              "typeString": "int_const -578...(70 digits omitted)...9968"
                                            }
                                          }
                                        ],
                                        "id": 6866,
                                        "isConstant": false,
                                        "isInlineArray": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "TupleExpression",
                                        "src": "18208:9:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                          "typeString": "int_const -578...(70 digits omitted)...9968"
                                        }
                                      },
                                      "src": "18187:30:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "src": "18161:56:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "id": 6869,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "18160:58:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a205f72657075746174696f6e4368616e67652077696c6c206f766572666c6f77",
                              "id": 6871,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18232:51:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_ab8a2e4ee4d3597bb0351c7c743538e634e63d778d3320ee5b31ef158832372d",
                                "typeString": "literal_string \"numberOfPeriods * _reputationChange will overflow\""
                              },
                              "value": "numberOfPeriods * _reputationChange will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_ab8a2e4ee4d3597bb0351c7c743538e634e63d778d3320ee5b31ef158832372d",
                                "typeString": "literal_string \"numberOfPeriods * _reputationChange will overflow\""
                              }
                            ],
                            "id": 6852,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18151:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6872,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18151:133:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6873,
                        "nodeType": "ExpressionStatement",
                        "src": "18151:133:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              },
                              "id": 6890,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                },
                                "id": 6888,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6881,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "baseExpression": {
                                              "argumentTypes": null,
                                              "id": 6876,
                                              "name": "_rewards",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 6826,
                                              "src": "18389:8:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                                "typeString": "uint256[5] memory"
                                              }
                                            },
                                            "id": 6878,
                                            "indexExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "34",
                                              "id": 6877,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18398:1:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_4_by_1",
                                                "typeString": "int_const 4"
                                              },
                                              "value": "4"
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "18389:11:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 6875,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "18385:3:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_int256_$",
                                            "typeString": "type(int256)"
                                          },
                                          "typeName": "int"
                                        },
                                        "id": 6879,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "18385:16:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "id": 6880,
                                        "name": "_reputationChange",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6822,
                                        "src": "18404:17:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "src": "18385:36:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    }
                                  ],
                                  "id": 6882,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18384:38:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_int256",
                                    "typeString": "int256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 6884,
                                        "name": "_rewards",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6826,
                                        "src": "18429:8:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                          "typeString": "uint256[5] memory"
                                        }
                                      },
                                      "id": 6886,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "hexValue": "34",
                                        "id": 6885,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "18438:1:36",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_4_by_1",
                                          "typeString": "int_const 4"
                                        },
                                        "value": "4"
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "18429:11:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 6883,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "18425:3:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_int256_$",
                                      "typeString": "type(int256)"
                                    },
                                    "typeName": "int"
                                  },
                                  "id": 6887,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "18425:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_int256",
                                    "typeString": "int256"
                                  }
                                },
                                "src": "18384:57:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "id": 6889,
                                "name": "_reputationChange",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6822,
                                "src": "18445:17:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                }
                              },
                              "src": "18384:78:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a2072657075746174696f6e4368616e67652077696c6c206f766572666c6f77",
                              "id": 6891,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18476:50:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_6fa768ac293f7b05b3e87a1ebad2012e5a6a340f67643b77311417d6dafa9436",
                                "typeString": "literal_string \"numberOfPeriods * reputationChange will overflow\""
                              },
                              "value": "numberOfPeriods * reputationChange will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_6fa768ac293f7b05b3e87a1ebad2012e5a6a340f67643b77311417d6dafa9436",
                                "typeString": "literal_string \"numberOfPeriods * reputationChange will overflow\""
                              }
                            ],
                            "id": 6874,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18376:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6892,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18376:151:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6893,
                        "nodeType": "ExpressionStatement",
                        "src": "18376:151:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6910,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6906,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6901,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6895,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18623:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6897,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6896,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18632:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18623:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6898,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18637:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6900,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "30",
                                          "id": 6899,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18646:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_0_by_1",
                                            "typeString": "int_const 0"
                                          },
                                          "value": "0"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18637:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "18623:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6902,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18622:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6903,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "18652:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6905,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6904,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "18661:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "18652:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18622:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6907,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "18667:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6909,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 6908,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "18676:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "18667:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "18622:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a20746f6b656e5265776172642077696c6c206f766572666c6f77",
                              "id": 6911,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18692:45:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_6af13b0395690350c64b9a73bd65817f03553aafcbf4e1b169882296373f78b8",
                                "typeString": "literal_string \"numberOfPeriods * tokenReward will overflow\""
                              },
                              "value": "numberOfPeriods * tokenReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_6af13b0395690350c64b9a73bd65817f03553aafcbf4e1b169882296373f78b8",
                                "typeString": "literal_string \"numberOfPeriods * tokenReward will overflow\""
                              }
                            ],
                            "id": 6894,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18614:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6912,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18614:124:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6913,
                        "nodeType": "ExpressionStatement",
                        "src": "18614:124:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6930,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6926,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6921,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6915,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18832:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6917,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6916,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18841:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18832:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6918,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18846:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6920,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "31",
                                          "id": 6919,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18855:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18846:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "18832:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6922,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18831:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6923,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "18861:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6925,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6924,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "18870:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "18861:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18831:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6927,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "18876:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6929,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "31",
                                  "id": 6928,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "18885:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "18876:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "18831:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a206574685265776172642077696c6c206f766572666c6f77",
                              "id": 6931,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18901:43:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_7d24f587c8d5849a935969c8a76b899afed1548d7c31a3a3fa2c0a3a3c99f2f3",
                                "typeString": "literal_string \"numberOfPeriods * ethReward will overflow\""
                              },
                              "value": "numberOfPeriods * ethReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_7d24f587c8d5849a935969c8a76b899afed1548d7c31a3a3fa2c0a3a3c99f2f3",
                                "typeString": "literal_string \"numberOfPeriods * ethReward will overflow\""
                              }
                            ],
                            "id": 6914,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18823:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6932,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18823:122:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6933,
                        "nodeType": "ExpressionStatement",
                        "src": "18823:122:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6950,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6946,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6941,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6935,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "19050:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6937,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6936,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "19059:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "19050:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6938,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "19064:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6940,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "32",
                                          "id": 6939,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "19073:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_2_by_1",
                                            "typeString": "int_const 2"
                                          },
                                          "value": "2"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "19064:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "19050:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6942,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "19049:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6943,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "19079:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6945,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6944,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "19088:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "19079:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "19049:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6947,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "19094:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6949,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "32",
                                  "id": 6948,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "19103:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_2_by_1",
                                    "typeString": "int_const 2"
                                  },
                                  "value": "2"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "19094:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "19049:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a207465787465726e616c546f6b656e5265776172642077696c6c206f766572666c6f77",
                              "id": 6951,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "19119:54:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_f05de1d5fb12283a79df3f3169c88e709d30361f769bc8d3b5767984dc30ab5e",
                                "typeString": "literal_string \"numberOfPeriods * texternalTokenReward will overflow\""
                              },
                              "value": "numberOfPeriods * texternalTokenReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_f05de1d5fb12283a79df3f3169c88e709d30361f769bc8d3b5767984dc30ab5e",
                                "typeString": "literal_string \"numberOfPeriods * texternalTokenReward will overflow\""
                              }
                            ],
                            "id": 6934,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "19041:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6952,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "19041:133:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6953,
                        "nodeType": "ExpressionStatement",
                        "src": "19041:133:36"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": "@dev validateProposalParams validate proposal's rewards parameters.\nThe function check for potential overflow upon proposal's redeem.\nThe function reverts if the params are not valid.\n@param _reputationChange - Amount of reputation change requested .Can be negative.\n@param _rewards rewards array:\n        rewards[0] - Amount of tokens requested per period\n        rewards[1] - Amount of ETH requested per period\n        rewards[2] - Amount of external tokens requested per period\n        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n        rewards[4] - Number of periods",
            "id": 6957,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "validateProposalParams",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6827,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6822,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 6957,
                  "src": "17845:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6821,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17845:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6826,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 6957,
                  "src": "17871:23:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 6823,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "17871:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 6825,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 6824,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "17876:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "17871:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "17844:51:36"
            },
            "returnParameters": {
              "id": 6828,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17909:0:36"
            },
            "scope": 6958,
            "src": "17813:1378:36",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "private"
          }
        ],
        "scope": 6959,
        "src": "499:18695:36"
      }
    ],
    "src": "0:19195:36"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/universalSchemes/ContributionReward.sol",
    "exportedSymbols": {
      "ContributionReward": [
        6958
      ]
    },
    "id": 6959,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5672,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:36"
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/IntVoteInterface.sol",
        "id": 5673,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 12910,
        "src": "25:71:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "file": "@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol",
        "id": 5674,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 12986,
        "src": "97:86:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/universalSchemes/UniversalScheme.sol",
        "file": "./UniversalScheme.sol",
        "id": 5675,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 8358,
        "src": "184:31:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol",
        "file": "../votingMachines/VotingMachineCallbacks.sol",
        "id": 5676,
        "nodeType": "ImportDirective",
        "scope": 6959,
        "sourceUnit": 9126,
        "src": "216:54:36",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5677,
              "name": "UniversalScheme",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8357,
              "src": "530:15:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UniversalScheme_$8357",
                "typeString": "contract UniversalScheme"
              }
            },
            "id": 5678,
            "nodeType": "InheritanceSpecifier",
            "src": "530:15:36"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5679,
              "name": "VotingMachineCallbacks",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9125,
              "src": "547:22:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_VotingMachineCallbacks_$9125",
                "typeString": "contract VotingMachineCallbacks"
              }
            },
            "id": 5680,
            "nodeType": "InheritanceSpecifier",
            "src": "547:22:36"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5681,
              "name": "ProposalExecuteInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 12921,
              "src": "571:24:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ProposalExecuteInterface_$12921",
                "typeString": "contract ProposalExecuteInterface"
              }
            },
            "id": 5682,
            "nodeType": "InheritanceSpecifier",
            "src": "571:24:36"
          }
        ],
        "contractDependencies": [
          8357,
          8368,
          9125,
          12921,
          12985
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for proposing and rewarding contributions to an organization\n@dev An agent can ask an organization to recognize a contribution and reward\nhim with token, reputation, ether or any combination.",
        "fullyImplemented": true,
        "id": 6958,
        "linearizedBaseContracts": [
          6958,
          12921,
          9125,
          12985,
          8357,
          8368
        ],
        "name": "ContributionReward",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5685,
            "libraryName": {
              "contractScope": null,
              "id": 5683,
              "name": "SafeMath",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 22987,
              "src": "608:8:36",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SafeMath_$22987",
                "typeString": "library SafeMath"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "602:24:36",
            "typeName": {
              "id": 5684,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "621:4:36",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            }
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5705,
            "name": "NewContributionProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5704,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5687,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "671:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5686,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "671:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5689,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "704:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5688,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "704:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5691,
                  "indexed": true,
                  "name": "_intVoteInterface",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "741:33:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5690,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "741:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5693,
                  "indexed": false,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "784:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 5692,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "784:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5695,
                  "indexed": false,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "817:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5694,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "817:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5699,
                  "indexed": false,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "851:17:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5696,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "851:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5698,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 5697,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "856:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "851:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5701,
                  "indexed": false,
                  "name": "_externalToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "878:21:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5700,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 23656,
                    "src": "878:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$23656",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5703,
                  "indexed": false,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5705,
                  "src": "909:20:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5702,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "909:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "661:274:36"
            },
            "src": "632:304:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5713,
            "name": "ProposalExecuted",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5712,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5707,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "965:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5706,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "965:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5709,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "990:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5708,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "990:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5711,
                  "indexed": false,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 5713,
                  "src": "1019:13:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5710,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1019:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "964:69:36"
            },
            "src": "942:92:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5723,
            "name": "RedeemReputation",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5722,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5715,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1072:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5714,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1072:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5717,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1105:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5716,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1105:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5719,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1142:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5718,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1142:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5721,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5723,
                  "src": "1180:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5720,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1180:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1062:133:36"
            },
            "src": "1040:156:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5733,
            "name": "RedeemEther",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5732,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5725,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1220:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5724,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1220:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5727,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1253:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5726,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1253:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5729,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1290:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5728,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1290:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5731,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5733,
                  "src": "1328:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5730,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1328:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1219:125:36"
            },
            "src": "1202:143:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5743,
            "name": "RedeemNativeToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5742,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5735,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1375:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5734,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1375:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5737,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1408:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5736,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1408:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5739,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1445:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5738,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1445:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5741,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5743,
                  "src": "1483:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5740,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1483:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1374:125:36"
            },
            "src": "1351:149:36"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5753,
            "name": "RedeemExternalToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5752,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5745,
                  "indexed": true,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1532:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5744,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1532:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5747,
                  "indexed": true,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1565:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5746,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1565:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5749,
                  "indexed": true,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1602:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5748,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1602:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5751,
                  "indexed": false,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5753,
                  "src": "1640:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5750,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1640:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1531:125:36"
            },
            "src": "1506:151:36"
          },
          {
            "canonicalName": "ContributionReward.ContributionProposal",
            "id": 5776,
            "members": [
              {
                "constant": false,
                "id": 5755,
                "name": "nativeTokenReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1762:25:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5754,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1762:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5757,
                "name": "reputationChange",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1854:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_int256",
                  "typeString": "int256"
                },
                "typeName": {
                  "id": 5756,
                  "name": "int256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1854:6:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5759,
                "name": "ethReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1932:17:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5758,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1932:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5761,
                "name": "externalToken",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1959:20:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IERC20_$23656",
                  "typeString": "contract IERC20"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 5760,
                  "name": "IERC20",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 23656,
                  "src": "1959:6:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5763,
                "name": "externalTokenReward",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "1989:27:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5762,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1989:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5765,
                "name": "beneficiary",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2026:27:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address_payable",
                  "typeString": "address payable"
                },
                "typeName": {
                  "id": 5764,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "2026:15:36",
                  "stateMutability": "payable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5767,
                "name": "periodLength",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2063:20:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5766,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2063:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5769,
                "name": "numberOfPeriods",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2093:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5768,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2093:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5771,
                "name": "executionTime",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2126:21:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 5770,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2126:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5775,
                "name": "redeemedPeriods",
                "nodeType": "VariableDeclaration",
                "scope": 5776,
                "src": "2157:23:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_uint256_$4_storage_ptr",
                  "typeString": "uint256[4]"
                },
                "typeName": {
                  "baseType": {
                    "id": 5772,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2157:4:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 5774,
                  "length": {
                    "argumentTypes": null,
                    "hexValue": "34",
                    "id": 5773,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2162:1:36",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": null,
                      "typeString": null
                    },
                    "value": "4"
                  },
                  "nodeType": "ArrayTypeName",
                  "src": "2157:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$4_storage_ptr",
                    "typeString": "uint256[4]"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "ContributionProposal",
            "nodeType": "StructDefinition",
            "scope": 6958,
            "src": "1724:463:36",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5782,
            "name": "organizationsProposals",
            "nodeType": "VariableDeclaration",
            "scope": 6958,
            "src": "2288:86:36",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
              "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal))"
            },
            "typeName": {
              "id": 5781,
              "keyType": {
                "id": 5777,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "2296:7:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "2288:56:36",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal))"
              },
              "valueType": {
                "id": 5780,
                "keyType": {
                  "id": 5778,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "2313:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "nodeType": "Mapping",
                "src": "2305:38:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                  "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal)"
                },
                "valueType": {
                  "contractScope": null,
                  "id": 5779,
                  "name": "ContributionProposal",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 5776,
                  "src": "2322:20:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                    "typeString": "struct ContributionReward.ContributionProposal"
                  }
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "canonicalName": "ContributionReward.Parameters",
            "id": 5787,
            "members": [
              {
                "constant": false,
                "id": 5784,
                "name": "voteApproveParams",
                "nodeType": "VariableDeclaration",
                "scope": 5787,
                "src": "2512:25:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 5783,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "2512:7:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 5786,
                "name": "intVote",
                "nodeType": "VariableDeclaration",
                "scope": 5787,
                "src": "2547:24:36",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                  "typeString": "contract IntVoteInterface"
                },
                "typeName": {
                  "contractScope": null,
                  "id": 5785,
                  "name": "IntVoteInterface",
                  "nodeType": "UserDefinedTypeName",
                  "referencedDeclaration": 12909,
                  "src": "2547:16:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Parameters",
            "nodeType": "StructDefinition",
            "scope": 6958,
            "src": "2484:94:36",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5791,
            "name": "parameters",
            "nodeType": "VariableDeclaration",
            "scope": 6958,
            "src": "2687:46:36",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
              "typeString": "mapping(bytes32 => struct ContributionReward.Parameters)"
            },
            "typeName": {
              "id": 5790,
              "keyType": {
                "id": 5788,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "2695:7:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "2687:28:36",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                "typeString": "mapping(bytes32 => struct ContributionReward.Parameters)"
              },
              "valueType": {
                "contractScope": null,
                "id": 5789,
                "name": "Parameters",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 5787,
                "src": "2704:10:36",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Parameters_$5787_storage_ptr",
                  "typeString": "struct ContributionReward.Parameters"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5870,
              "nodeType": "Block",
              "src": "3114:619:36",
              "statements": [
                {
                  "assignments": [
                    5804
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5804,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 5870,
                      "src": "3124:28:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5803,
                        "name": "ProposalInfo",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 8836,
                        "src": "3124:12:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage_ptr",
                          "typeString": "struct VotingMachineCallbacks.ProposalInfo"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5811,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 5805,
                        "name": "proposalsInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8865,
                        "src": "3155:13:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                        }
                      },
                      "id": 5808,
                      "indexExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5806,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "3169:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5807,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "3169:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "3155:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                        "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                      }
                    },
                    "id": 5810,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 5809,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5793,
                      "src": "3181:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "3155:38:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3124:69:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5823,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 5813,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5782,
                                "src": "3211:22:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                }
                              },
                              "id": 5818,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 5815,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5804,
                                      "src": "3242:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                      }
                                    },
                                    "id": 5816,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "avatar",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 8835,
                                    "src": "3242:15:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 5814,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "3234:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 5817,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3234:24:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3211:48:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                              }
                            },
                            "id": 5820,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 5819,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5793,
                              "src": "3260:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "3211:61:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                              "typeString": "struct ContributionReward.ContributionProposal storage ref"
                            }
                          },
                          "id": 5821,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "3211:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5822,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3290:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "3211:80:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 5812,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "3203:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 5824,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3203:89:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5825,
                  "nodeType": "ExpressionStatement",
                  "src": "3203:89:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        "id": 5839,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 5827,
                                "name": "organizationsProposals",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5782,
                                "src": "3310:22:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                  "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                }
                              },
                              "id": 5832,
                              "indexExpression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 5829,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5804,
                                      "src": "3341:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                      }
                                    },
                                    "id": 5830,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "avatar",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 8835,
                                    "src": "3341:15:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_contract$_Avatar_$2010",
                                      "typeString": "contract Avatar"
                                    }
                                  ],
                                  "id": 5828,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "3333:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": "address"
                                },
                                "id": 5831,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "3333:24:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3310:48:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                              }
                            },
                            "id": 5834,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 5833,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5793,
                              "src": "3359:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "3310:61:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                              "typeString": "struct ContributionReward.ContributionProposal storage ref"
                            }
                          },
                          "id": 5835,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "beneficiary",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5765,
                          "src": "3310:73:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 5837,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "3395:1:36",
                              "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": 5836,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "3387:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 5838,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "3387:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "3310:87:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 5826,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "3302:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 5840,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3302:96:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5841,
                  "nodeType": "ExpressionStatement",
                  "src": "3302:96:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 5844,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 5842,
                      "name": "_param",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5795,
                      "src": "3453:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 5843,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3463:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "3453:11:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 5858,
                  "nodeType": "IfStatement",
                  "src": "3449:179:36",
                  "trueBody": {
                    "id": 5857,
                    "nodeType": "Block",
                    "src": "3466:162:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 5855,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 5845,
                                  "name": "organizationsProposals",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5782,
                                  "src": "3536:22:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                    "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                                  }
                                },
                                "id": 5851,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 5847,
                                        "name": "proposal",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 5804,
                                        "src": "3567:8:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                          "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                                        }
                                      },
                                      "id": 5848,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "avatar",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 8835,
                                      "src": "3567:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 5846,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "3559:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 5849,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "3559:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "3536:48:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                                  "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                                }
                              },
                              "id": 5852,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 5850,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5793,
                                "src": "3585:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3536:61:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                                "typeString": "struct ContributionReward.ContributionProposal storage ref"
                              }
                            },
                            "id": 5853,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "memberName": "executionTime",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5771,
                            "src": "3536:75:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "id": 5854,
                            "name": "now",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23692,
                            "src": "3614:3:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "3536:81:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 5856,
                        "nodeType": "ExpressionStatement",
                        "src": "3536:81:36"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 5861,
                              "name": "proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5804,
                              "src": "3667:8:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory_ptr",
                                "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                              }
                            },
                            "id": 5862,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "avatar",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 8835,
                            "src": "3667:15:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 5860,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "3659:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5863,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3659:24:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5864,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5793,
                        "src": "3685:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5865,
                        "name": "_param",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5795,
                        "src": "3698:6:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      ],
                      "id": 5859,
                      "name": "ProposalExecuted",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5713,
                      "src": "3642:16:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_int256_$returns$__$",
                        "typeString": "function (address,bytes32,int256)"
                      }
                    },
                    "id": 5866,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3642:63:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5867,
                  "nodeType": "EmitStatement",
                  "src": "3637:68:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5868,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "3722:4:36",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5802,
                  "id": 5869,
                  "nodeType": "Return",
                  "src": "3715:11:36"
                }
              ]
            },
            "documentation": "@dev execution of proposals, can only be called by the voting machine in which the vote is held.\n@param _proposalId the ID of the voting in the voting machine\n@param _param a parameter of the voting result, 1 yes and 2 is no.",
            "id": 5871,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 5798,
                    "name": "_proposalId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5793,
                    "src": "3087:11:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 5799,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 5797,
                  "name": "onlyVotingMachine",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8859,
                  "src": "3069:17:36",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "3069:30:36"
              }
            ],
            "name": "executeProposal",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5796,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5793,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3024:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5792,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3024:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5795,
                  "name": "_param",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3045:13:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5794,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3045:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3023:36:36"
            },
            "returnParameters": {
              "id": 5802,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5801,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5871,
                  "src": "3108:4:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5800,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3108:4:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3107:6:36"
            },
            "scope": 6958,
            "src": "2999:734:36",
            "stateMutability": "nonpayable",
            "superFunction": 12920,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5903,
              "nodeType": "Block",
              "src": "3964:268:36",
              "statements": [
                {
                  "assignments": [
                    5881
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5881,
                      "name": "paramsHash",
                      "nodeType": "VariableDeclaration",
                      "scope": 5903,
                      "src": "3974:18:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 5880,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "3974:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5886,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5883,
                        "name": "_voteApproveParams",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5873,
                        "src": "4026:18:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5884,
                        "name": "_intVote",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5875,
                        "src": "4058:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      ],
                      "id": 5882,
                      "name": "getParametersHash",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5923,
                      "src": "3995:17:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_contract$_IntVoteInterface_$12909_$returns$_t_bytes32_$",
                        "typeString": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)"
                      }
                    },
                    "id": 5885,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3995:81:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3974:102:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5892,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5887,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5791,
                          "src": "4086:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                          }
                        },
                        "id": 5889,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5888,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5881,
                          "src": "4097:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4086:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                          "typeString": "struct ContributionReward.Parameters storage ref"
                        }
                      },
                      "id": 5890,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "voteApproveParams",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5784,
                      "src": "4086:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5891,
                      "name": "_voteApproveParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5873,
                      "src": "4129:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "4086:61:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 5893,
                  "nodeType": "ExpressionStatement",
                  "src": "4086:61:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5899,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5894,
                          "name": "parameters",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5791,
                          "src": "4157:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                          }
                        },
                        "id": 5896,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5895,
                          "name": "paramsHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5881,
                          "src": "4168:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4157:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                          "typeString": "struct ContributionReward.Parameters storage ref"
                        }
                      },
                      "id": 5897,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "intVote",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5786,
                      "src": "4157:30:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5898,
                      "name": "_intVote",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5875,
                      "src": "4190:8:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                        "typeString": "contract IntVoteInterface"
                      }
                    },
                    "src": "4157:41:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "id": 5900,
                  "nodeType": "ExpressionStatement",
                  "src": "4157:41:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5901,
                    "name": "paramsHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5881,
                    "src": "4215:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5879,
                  "id": 5902,
                  "nodeType": "Return",
                  "src": "4208:17:36"
                }
              ]
            },
            "documentation": "@dev hash the parameters, save them if necessary, and return the hash value",
            "id": 5904,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setParameters",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5876,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5873,
                  "name": "_voteApproveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3868:26:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5872,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3868:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5875,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3904:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5874,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "3904:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3858:77:36"
            },
            "returnParameters": {
              "id": 5879,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5878,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5904,
                  "src": "3951:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5877,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3951:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3950:9:36"
            },
            "scope": 6958,
            "src": "3836:396:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5922,
              "nodeType": "Block",
              "src": "4647:83:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 5916,
                                "name": "_voteApproveParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5906,
                                "src": "4692:18:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 5917,
                                "name": "_intVote",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5908,
                                "src": "4712:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                  "typeString": "contract IntVoteInterface"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                  "typeString": "contract IntVoteInterface"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 5914,
                                "name": "abi",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 23677,
                                "src": "4675:3:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_abi",
                                  "typeString": "abi"
                                }
                              },
                              "id": 5915,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "memberName": "encodePacked",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": null,
                              "src": "4675:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function () pure returns (bytes memory)"
                              }
                            },
                            "id": 5918,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "4675:46:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "id": 5913,
                          "name": "keccak256",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23684,
                          "src": "4665:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (bytes memory) pure returns (bytes32)"
                          }
                        },
                        "id": 5919,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4665:57:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "id": 5920,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4664:59:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5912,
                  "id": 5921,
                  "nodeType": "Return",
                  "src": "4657:66:36"
                }
              ]
            },
            "documentation": "@dev return a hash of the given parameters\n@param _voteApproveParams parameters for the voting machine used to approve a contribution\n@param _intVote the voting machine used to approve a contribution\n@return a hash of the parameters",
            "id": 5923,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getParametersHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5909,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5906,
                  "name": "_voteApproveParams",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4546:26:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5905,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4546:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5908,
                  "name": "_intVote",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4582:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                    "typeString": "contract IntVoteInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5907,
                    "name": "IntVoteInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12909,
                    "src": "4582:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                      "typeString": "contract IntVoteInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4536:77:36"
            },
            "returnParameters": {
              "id": 5912,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5911,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5923,
                  "src": "4634:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5910,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4634:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4633:9:36"
            },
            "scope": 6958,
            "src": "4510:220:36",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6066,
              "nodeType": "Block",
              "src": "5848:1565:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5943,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "5881:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5944,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5933,
                        "src": "5900:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      ],
                      "id": 5942,
                      "name": "validateProposalParams",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6957,
                      "src": "5858:22:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_array$_t_uint256_$5_memory_ptr_$returns$__$",
                        "typeString": "function (int256,uint256[5] memory) pure"
                      }
                    },
                    "id": 5945,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5858:51:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5946,
                  "nodeType": "ExpressionStatement",
                  "src": "5858:51:36"
                },
                {
                  "assignments": [
                    5948
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5948,
                      "name": "controllerParams",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "5919:34:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                        "typeString": "struct ContributionReward.Parameters"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5947,
                        "name": "Parameters",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5787,
                        "src": "5919:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Parameters_$5787_storage_ptr",
                          "typeString": "struct ContributionReward.Parameters"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5954,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 5949,
                      "name": "parameters",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5791,
                      "src": "5956:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Parameters_$5787_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)"
                      }
                    },
                    "id": 5953,
                    "indexExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5951,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5925,
                          "src": "5995:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        ],
                        "id": 5950,
                        "name": "getParametersFromController",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [
                          8356
                        ],
                        "referencedDeclaration": 8356,
                        "src": "5967:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_contract$_Avatar_$2010_$returns$_t_bytes32_$",
                          "typeString": "function (contract Avatar) view returns (bytes32)"
                        }
                      },
                      "id": 5952,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5967:36:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "5956:48:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Parameters_$5787_storage",
                      "typeString": "struct ContributionReward.Parameters storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5919:85:36"
                },
                {
                  "assignments": [
                    5956
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5956,
                      "name": "contributionId",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6015:22:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 5955,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "6015:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5969,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 5960,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6082:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5961,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5948,
                          "src": "6093:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                            "typeString": "struct ContributionReward.Parameters memory"
                          }
                        },
                        "id": 5962,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "voteApproveParams",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5784,
                        "src": "6093:34:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5963,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "6137:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5964,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "6137:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5966,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5925,
                            "src": "6165:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 5965,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6157:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5967,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6157:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5957,
                          "name": "controllerParams",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5948,
                          "src": "6040:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                            "typeString": "struct ContributionReward.Parameters memory"
                          }
                        },
                        "id": 5958,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "intVote",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5786,
                        "src": "6040:24:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                          "typeString": "contract IntVoteInterface"
                        }
                      },
                      "id": 5959,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "propose",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 12855,
                      "src": "6040:32:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_address_$_t_address_$returns$_t_bytes32_$",
                        "typeString": "function (uint256,bytes32,address,address) external returns (bytes32)"
                      }
                    },
                    "id": 5968,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6040:143:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6015:168:36"
                },
                {
                  "assignments": [
                    5971
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5971,
                      "name": "beneficiary",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6194:27:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      },
                      "typeName": {
                        "id": 5970,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "6194:15:36",
                        "stateMutability": "payable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5973,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 5972,
                    "name": "_beneficiary",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5937,
                    "src": "6224:12:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6194:42:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    },
                    "id": 5978,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 5974,
                      "name": "beneficiary",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5971,
                      "src": "6250:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5976,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6273:1:36",
                          "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": 5975,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "6265:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 5977,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "6265:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "6250:25:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 5985,
                  "nodeType": "IfStatement",
                  "src": "6246:80:36",
                  "trueBody": {
                    "id": 5984,
                    "nodeType": "Block",
                    "src": "6277:49:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 5982,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 5979,
                            "name": "beneficiary",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5971,
                            "src": "6291:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 5980,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "6305:3:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 5981,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "6305:10:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          "src": "6291:24:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "id": 5983,
                        "nodeType": "ExpressionStatement",
                        "src": "6291:24:36"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    5987
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5987,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6066,
                      "src": "6336:36:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 5986,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "6336:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6022,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5989,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6429:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5991,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5990,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6438:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6429:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5992,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "6472:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5993,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6514:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5995,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 5994,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6523:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6514:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5996,
                        "name": "_externalToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5935,
                        "src": "6554:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5997,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6603:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 5999,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "32",
                          "id": 5998,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6612:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_2_by_1",
                            "typeString": "int_const 2"
                          },
                          "value": "2"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6603:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6000,
                        "name": "beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5971,
                        "src": "6641:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6001,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6680:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 6003,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 6002,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6689:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_3_by_1",
                            "typeString": "int_const 3"
                          },
                          "value": "3"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6680:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6004,
                          "name": "_rewards",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5933,
                          "src": "6722:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                            "typeString": "uint256[5] memory"
                          }
                        },
                        "id": 6006,
                        "indexExpression": {
                          "argumentTypes": null,
                          "hexValue": "34",
                          "id": 6005,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6731:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_4_by_1",
                            "typeString": "int_const 4"
                          },
                          "value": "4"
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6722:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6007,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6762:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "argumentTypes": null,
                        "components": [
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6009,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6799:1:36",
                                "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": 6008,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6794:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6010,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6794:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6012,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6808:1:36",
                                "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": 6011,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6803:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6013,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6803:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6015,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6817:1:36",
                                "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": 6014,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6812:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6016,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6812:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 6018,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "6826:1:36",
                                "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": 6017,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "6821:4:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": "uint"
                            },
                            "id": 6019,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6821:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "id": 6020,
                        "isConstant": false,
                        "isInlineArray": true,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "6793:36:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$4_memory_ptr",
                          "typeString": "uint256[4] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": null,
                      "id": 5988,
                      "name": "ContributionProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5776,
                      "src": "6375:20:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_struct$_ContributionProposal_$5776_storage_ptr_$",
                        "typeString": "type(struct ContributionReward.ContributionProposal storage pointer)"
                      }
                    },
                    "id": 6021,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "structConstructorCall",
                    "lValueRequested": false,
                    "names": [
                      "nativeTokenReward",
                      "reputationChange",
                      "ethReward",
                      "externalToken",
                      "externalTokenReward",
                      "beneficiary",
                      "periodLength",
                      "numberOfPeriods",
                      "executionTime",
                      "redeemedPeriods"
                    ],
                    "nodeType": "FunctionCall",
                    "src": "6375:465:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory",
                      "typeString": "struct ContributionReward.ContributionProposal memory"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6336:504:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6031,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6023,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "6850:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6028,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 6025,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5925,
                              "src": "6881:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_Avatar_$2010",
                                "typeString": "contract Avatar"
                              }
                            ],
                            "id": 6024,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "6873:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 6026,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6873:16:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "6850:40:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6029,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6027,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "6891:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "6850:56:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 6030,
                      "name": "proposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5987,
                      "src": "6909:8:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal memory"
                      }
                    },
                    "src": "6850:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "id": 6032,
                  "nodeType": "ExpressionStatement",
                  "src": "6850:67:36"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6035,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5925,
                            "src": "6978:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6034,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "6970:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6036,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6970:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6037,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "7000:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6039,
                              "name": "controllerParams",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5948,
                              "src": "7036:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                                "typeString": "struct ContributionReward.Parameters memory"
                              }
                            },
                            "id": 6040,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "intVote",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5786,
                            "src": "7036:24:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                              "typeString": "contract IntVoteInterface"
                            }
                          ],
                          "id": 6038,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7028:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6041,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7028:33:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6042,
                        "name": "_descriptionHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5927,
                        "src": "7075:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6043,
                        "name": "_reputationChange",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5929,
                        "src": "7105:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6044,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5933,
                        "src": "7136:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6045,
                        "name": "_externalToken",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5935,
                        "src": "7158:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 6046,
                        "name": "beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5971,
                        "src": "7186:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_string_memory_ptr",
                          "typeString": "string memory"
                        },
                        {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        },
                        {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "id": 6033,
                      "name": "NewContributionProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5705,
                      "src": "6933:23:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_string_memory_ptr_$_t_int256_$_t_array$_t_uint256_$5_memory_ptr_$_t_contract$_IERC20_$23656_$_t_address_$returns$__$",
                        "typeString": "function (address,bytes32,address,string memory,int256,uint256[5] memory,contract IERC20,address)"
                      }
                    },
                    "id": 6047,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6933:274:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6048,
                  "nodeType": "EmitStatement",
                  "src": "6928:279:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6062,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6049,
                          "name": "proposalsInfo",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8865,
                          "src": "7218:13:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref))"
                          }
                        },
                        "id": 6055,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6051,
                                "name": "controllerParams",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5948,
                                "src": "7240:16:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Parameters_$5787_memory_ptr",
                                  "typeString": "struct ContributionReward.Parameters memory"
                                }
                              },
                              "id": 6052,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "intVote",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5786,
                              "src": "7240:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IntVoteInterface_$12909",
                                "typeString": "contract IntVoteInterface"
                              }
                            ],
                            "id": 6050,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "7232:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 6053,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7232:33:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7218:48:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ProposalInfo_$8836_storage_$",
                          "typeString": "mapping(bytes32 => struct VotingMachineCallbacks.ProposalInfo storage ref)"
                        }
                      },
                      "id": 6056,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6054,
                        "name": "contributionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5956,
                        "src": "7267:14:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "7218:64:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6058,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "7324:5:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 6059,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "7324:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 6060,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5925,
                          "src": "7357:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Avatar_$2010",
                            "typeString": "contract Avatar"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6057,
                        "name": "ProposalInfo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8836,
                        "src": "7285:12:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_ProposalInfo_$8836_storage_ptr_$",
                          "typeString": "type(struct VotingMachineCallbacks.ProposalInfo storage pointer)"
                        }
                      },
                      "id": 6061,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [
                        "blockNumber",
                        "avatar"
                      ],
                      "nodeType": "FunctionCall",
                      "src": "7285:90:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ProposalInfo_$8836_memory",
                        "typeString": "struct VotingMachineCallbacks.ProposalInfo memory"
                      }
                    },
                    "src": "7218:157:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ProposalInfo_$8836_storage",
                      "typeString": "struct VotingMachineCallbacks.ProposalInfo storage ref"
                    }
                  },
                  "id": 6063,
                  "nodeType": "ExpressionStatement",
                  "src": "7218:157:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6064,
                    "name": "contributionId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5956,
                    "src": "7392:14:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5941,
                  "id": 6065,
                  "nodeType": "Return",
                  "src": "7385:21:36"
                }
              ]
            },
            "documentation": "@dev Submit a proposal for a reward for a contribution:\n@param _avatar Avatar of the organization that the contribution was made for\n@param _descriptionHash A hash of the proposal's description\n@param _reputationChange - Amount of reputation change requested .Can be negative.\n@param _rewards rewards array:\n        rewards[0] - Amount of tokens requested per period\n        rewards[1] - Amount of ETH requested per period\n        rewards[2] - Amount of external tokens requested per period\n        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n        rewards[4] - Number of periods\n@param _externalToken Address of external token, if reward is requested there\n@param _beneficiary Who gets the rewards",
            "id": 6067,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "proposeContributionReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5938,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5925,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5615:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5924,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "5615:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5927,
                  "name": "_descriptionHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5639:30:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 5926,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "5639:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5929,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5679:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 5928,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5679:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5933,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5713:23:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5930,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "5713:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5932,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 5931,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "5718:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "5713:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5935,
                  "name": "_externalToken",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5746:21:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$23656",
                    "typeString": "contract IERC20"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5934,
                    "name": "IERC20",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 23656,
                    "src": "5746:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IERC20_$23656",
                      "typeString": "contract IERC20"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5937,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5777:28:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 5936,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5777:15:36",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5605:206:36"
            },
            "returnParameters": {
              "id": 5941,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5940,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6067,
                  "src": "5835:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5939,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "5835:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "5834:9:36"
            },
            "scope": 6958,
            "src": "5571:1842:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6214,
              "nodeType": "Block",
              "src": "7744:1249:36",
              "statements": [
                {
                  "assignments": [
                    6077
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6077,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "7755:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6076,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "7755:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6085,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6078,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "7795:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6082,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6080,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "7826:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6079,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7818:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6081,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7818:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7795:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6084,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6083,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6069,
                      "src": "7836:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "7795:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7755:93:36"
                },
                {
                  "assignments": [
                    6087
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6087,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "7858:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6086,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "7858:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6095,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6088,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "7898:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6092,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6090,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "7929:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6089,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "7921:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6091,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7921:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7898:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6094,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6093,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6069,
                      "src": "7939:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "7898:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7858:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6100,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6097,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6087,
                            "src": "7969:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6098,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "7969:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6099,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "7995:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "7969:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6096,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "7961:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6101,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7961:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6102,
                  "nodeType": "ExpressionStatement",
                  "src": "7961:36:36"
                },
                {
                  "assignments": [
                    6104
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6104,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6214,
                      "src": "8007:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6103,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8007:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6112,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6106,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6069,
                        "src": "8046:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6108,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6071,
                            "src": "8067:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6107,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "8059:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6109,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "8059:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6110,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8077:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        }
                      ],
                      "id": 6105,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "8030:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6111,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "8030:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8007:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6117,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6113,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6087,
                        "src": "8158:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6115,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8158:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6116,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8186:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8158:29:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6118,
                  "nodeType": "ExpressionStatement",
                  "src": "8158:29:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6126,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6119,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8197:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      },
                      "id": 6125,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6121,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6104,
                            "src": "8214:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 6120,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "8210:3:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_int256_$",
                            "typeString": "type(int256)"
                          },
                          "typeName": "int"
                        },
                        "id": 6122,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "8210:17:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "*",
                      "rightExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6123,
                          "name": "_proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6077,
                          "src": "8230:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal memory"
                          }
                        },
                        "id": 6124,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "reputationChange",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5757,
                        "src": "8230:26:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "src": "8210:46:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "src": "8197:59:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6127,
                  "nodeType": "ExpressionStatement",
                  "src": "8197:59:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 6130,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6128,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8270:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6129,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8283:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8270:14:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "condition": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      },
                      "id": 6152,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "id": 6150,
                        "name": "reputation",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6074,
                        "src": "8466:10:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_int256",
                          "typeString": "int256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "<",
                      "rightExpression": {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6151,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8479:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "8466:14:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseBody": null,
                    "id": 6176,
                    "nodeType": "IfStatement",
                    "src": "8462:195:36",
                    "trueBody": {
                      "id": 6175,
                      "nodeType": "Block",
                      "src": "8482:175:36",
                      "statements": [
                        {
                          "expression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "commonType": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        },
                                        "id": 6165,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "argumentTypes": null,
                                          "id": 6161,
                                          "name": "reputation",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6074,
                                          "src": "8587:10:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_int256",
                                            "typeString": "int256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "*",
                                        "rightExpression": {
                                          "argumentTypes": null,
                                          "components": [
                                            {
                                              "argumentTypes": null,
                                              "id": 6163,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "UnaryOperation",
                                              "operator": "-",
                                              "prefix": true,
                                              "src": "8599:2:36",
                                              "subExpression": {
                                                "argumentTypes": null,
                                                "hexValue": "31",
                                                "id": 6162,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "8600:1:36",
                                                "subdenomination": null,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_rational_1_by_1",
                                                  "typeString": "int_const 1"
                                                },
                                                "value": "1"
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_minus_1_by_1",
                                                "typeString": "int_const -1"
                                              }
                                            }
                                          ],
                                          "id": 6164,
                                          "isConstant": false,
                                          "isInlineArray": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "TupleExpression",
                                          "src": "8598:4:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_minus_1_by_1",
                                            "typeString": "int_const -1"
                                          }
                                        },
                                        "src": "8587:15:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      ],
                                      "id": 6160,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "8582:4:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_uint256_$",
                                        "typeString": "type(uint256)"
                                      },
                                      "typeName": "uint"
                                    },
                                    "id": 6166,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8582:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6167,
                                      "name": "_proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6077,
                                      "src": "8605:9:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal memory"
                                      }
                                    },
                                    "id": 6168,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "beneficiary",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5765,
                                    "src": "8605:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 6170,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6071,
                                        "src": "8636:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 6169,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "8628:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 6171,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8628:16:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "arguments": [],
                                        "expression": {
                                          "argumentTypes": [],
                                          "expression": {
                                            "argumentTypes": null,
                                            "id": 6155,
                                            "name": "_avatar",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 6071,
                                            "src": "8550:7:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_contract$_Avatar_$2010",
                                              "typeString": "contract Avatar"
                                            }
                                          },
                                          "id": 6156,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "owner",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 23021,
                                          "src": "8550:13:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                            "typeString": "function () view external returns (address)"
                                          }
                                        },
                                        "id": 6157,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "8550:15:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 6154,
                                      "name": "ControllerInterface",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 3699,
                                      "src": "8517:19:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                        "typeString": "type(contract ControllerInterface)"
                                      }
                                    },
                                    "id": 6158,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "8517:49:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                      "typeString": "contract ControllerInterface"
                                    }
                                  },
                                  "id": 6159,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "burnReputation",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 3492,
                                  "src": "8517:64:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                    "typeString": "function (uint256,address,address) external returns (bool)"
                                  }
                                },
                                "id": 6172,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "8517:128:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "id": 6153,
                              "name": "require",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [
                                23693,
                                23694
                              ],
                              "referencedDeclaration": 23693,
                              "src": "8496:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                "typeString": "function (bool) pure"
                              }
                            },
                            "id": 6173,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "8496:150:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_tuple$__$",
                              "typeString": "tuple()"
                            }
                          },
                          "id": 6174,
                          "nodeType": "ExpressionStatement",
                          "src": "8496:150:36"
                        }
                      ]
                    }
                  },
                  "id": 6177,
                  "nodeType": "IfStatement",
                  "src": "8266:391:36",
                  "trueBody": {
                    "id": 6149,
                    "nodeType": "Block",
                    "src": "8286:170:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6139,
                                      "name": "reputation",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6074,
                                      "src": "8391:10:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    ],
                                    "id": 6138,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "8386:4:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_uint256_$",
                                      "typeString": "type(uint256)"
                                    },
                                    "typeName": "uint"
                                  },
                                  "id": 6140,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8386:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6141,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6077,
                                    "src": "8404:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6142,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "8404:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6144,
                                      "name": "_avatar",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6071,
                                      "src": "8435:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 6143,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "8427:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 6145,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8427:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6133,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6071,
                                          "src": "8354:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6134,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "8354:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6135,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "8354:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6132,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "8321:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6136,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8321:49:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6137,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "mintReputation",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3481,
                                "src": "8321:64:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address,address) external returns (bool)"
                                }
                              },
                              "id": 6146,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8321:123:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6131,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "8300:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6147,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8300:145:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6148,
                        "nodeType": "ExpressionStatement",
                        "src": "8300:145:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    },
                    "id": 6180,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6178,
                      "name": "reputation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6074,
                      "src": "8670:10:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6179,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8684:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8670:15:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6206,
                  "nodeType": "IfStatement",
                  "src": "8666:222:36",
                  "trueBody": {
                    "id": 6205,
                    "nodeType": "Block",
                    "src": "8687:201:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6193,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6181,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6087,
                                "src": "8701:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6184,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "8701:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6185,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 6183,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "8726:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "8701:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6191,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6104,
                                "src": "8763:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6186,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6087,
                                    "src": "8731:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6187,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "8731:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6189,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 6188,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "8756:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "8731:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6190,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "8731:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6192,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "8731:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "8701:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6194,
                        "nodeType": "ExpressionStatement",
                        "src": "8701:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6197,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6071,
                                  "src": "8820:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6196,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "8812:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6198,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8812:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6199,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6069,
                              "src": "8830:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6200,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6077,
                                "src": "8843:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6201,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "8843:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6202,
                              "name": "reputation",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6074,
                              "src": "8866:10:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              }
                            ],
                            "id": 6195,
                            "name": "RedeemReputation",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5723,
                            "src": "8795:16:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_int256_$returns$__$",
                              "typeString": "function (address,bytes32,address,int256)"
                            }
                          },
                          "id": 6203,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8795:82:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6204,
                        "nodeType": "EmitStatement",
                        "src": "8790:87:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6212,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6207,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6087,
                        "src": "8932:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6209,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8932:25:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6210,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6077,
                        "src": "8960:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6211,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "reputationChange",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5757,
                      "src": "8960:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_int256",
                        "typeString": "int256"
                      }
                    },
                    "src": "8932:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "id": 6213,
                  "nodeType": "ExpressionStatement",
                  "src": "8932:54:36"
                }
              ]
            },
            "documentation": "@dev RedeemReputation reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return reputation the redeemed reputation.",
            "id": 6215,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemReputation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6072,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6069,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7673:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6068,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "7673:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6071,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7694:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6070,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "7694:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "7672:37:36"
            },
            "returnParameters": {
              "id": 6075,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6074,
                  "name": "reputation",
                  "nodeType": "VariableDeclaration",
                  "scope": 6215,
                  "src": "7725:17:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6073,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7725:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "7724:19:36"
            },
            "scope": 6958,
            "src": "7647:1346:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6327,
              "nodeType": "Block",
              "src": "9320:960:36",
              "statements": [
                {
                  "assignments": [
                    6225
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6225,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9331:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6224,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "9331:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6233,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6226,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "9371:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6230,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6228,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9402:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6227,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9394:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6229,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9394:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "9371:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6232,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6231,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6217,
                      "src": "9412:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "9371:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9331:93:36"
                },
                {
                  "assignments": [
                    6235
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6235,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9434:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6234,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "9434:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6243,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6236,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "9474:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6240,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6238,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9505:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6237,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9497:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6239,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9497:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "9474:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6242,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6241,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6217,
                      "src": "9515:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "9474:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9434:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6248,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6245,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6235,
                            "src": "9545:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6246,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "9545:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6247,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "9571:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "9545:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6244,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "9537:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9537:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6250,
                  "nodeType": "ExpressionStatement",
                  "src": "9537:36:36"
                },
                {
                  "assignments": [
                    6252
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6252,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6327,
                      "src": "9583:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6251,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9583:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6260,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6254,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6217,
                        "src": "9622:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6256,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6219,
                            "src": "9643:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6255,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "9635:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6257,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9635:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 6258,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "9653:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        }
                      ],
                      "id": 6253,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "9606:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9606:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9583:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6265,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6261,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6235,
                        "src": "9734:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6263,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "9734:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6264,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9763:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9734:30:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6266,
                  "nodeType": "ExpressionStatement",
                  "src": "9734:30:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6273,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6267,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6222,
                      "src": "9775:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6270,
                            "name": "_proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6225,
                            "src": "9801:9:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal memory"
                            }
                          },
                          "id": 6271,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "nativeTokenReward",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5755,
                          "src": "9801:27:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 6268,
                          "name": "periodsToPay",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6252,
                          "src": "9784:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6269,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mul",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22894,
                        "src": "9784:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 6272,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "9784:45:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "9775:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6274,
                  "nodeType": "ExpressionStatement",
                  "src": "9775:54:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6277,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6275,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6222,
                      "src": "9843:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6276,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9852:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9843:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6319,
                  "nodeType": "IfStatement",
                  "src": "9839:333:36",
                  "trueBody": {
                    "id": 6318,
                    "nodeType": "Block",
                    "src": "9855:317:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6285,
                                  "name": "amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6222,
                                  "src": "9925:6:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6286,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6225,
                                    "src": "9933:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6287,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "9933:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6289,
                                      "name": "_avatar",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6219,
                                      "src": "9964:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_Avatar_$2010",
                                        "typeString": "contract Avatar"
                                      }
                                    ],
                                    "id": 6288,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "9956:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 6290,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "9956:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6280,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6219,
                                          "src": "9897:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6281,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "9897:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6282,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "9897:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6279,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "9877:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6283,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "9877:36:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6284,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "mintTokens",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3503,
                                "src": "9877:47:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address,address) external returns (bool)"
                                }
                              },
                              "id": 6291,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "9877:96:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6278,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "9869:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6292,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "9869:105:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6293,
                        "nodeType": "ExpressionStatement",
                        "src": "9869:105:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6306,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6294,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6235,
                                "src": "9988:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6297,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "9988:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6298,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "31",
                              "id": 6296,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "10013:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "9988:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6304,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6252,
                                "src": "10050:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6299,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6235,
                                    "src": "10018:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6300,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "10018:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6302,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "31",
                                  "id": 6301,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "10043:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "10018:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6303,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "10018:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6305,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "10018:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "9988:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6307,
                        "nodeType": "ExpressionStatement",
                        "src": "9988:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6310,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6219,
                                  "src": "10108:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6309,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "10100:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6311,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "10100:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6312,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6217,
                              "src": "10118:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6313,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6225,
                                "src": "10131:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6314,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "10131:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6315,
                              "name": "amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6222,
                              "src": "10154:6:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 6308,
                            "name": "RedeemNativeToken",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5743,
                            "src": "10082:17:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,bytes32,address,uint256)"
                            }
                          },
                          "id": 6316,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10082:79:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6317,
                        "nodeType": "EmitStatement",
                        "src": "10077:84:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6325,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6320,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6235,
                        "src": "10217:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6322,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "10217:26:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6323,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6225,
                        "src": "10246:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6324,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "nativeTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5755,
                      "src": "10246:27:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "10217:56:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6326,
                  "nodeType": "ExpressionStatement",
                  "src": "10217:56:36"
                }
              ]
            },
            "documentation": "@dev RedeemNativeToken reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount the redeemed nativeToken.",
            "id": 6328,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemNativeToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6220,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6217,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9252:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6216,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "9252:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6219,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9273:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6218,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "9273:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "9251:37:36"
            },
            "returnParameters": {
              "id": 6223,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6222,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6328,
                  "src": "9304:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6221,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9304:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "9303:16:36"
            },
            "scope": 6958,
            "src": "9225:1055:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6438,
              "nodeType": "Block",
              "src": "10591:912:36",
              "statements": [
                {
                  "assignments": [
                    6338
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6338,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10602:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6337,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "10602:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6346,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6339,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "10642:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6343,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6341,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10673:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6340,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10665:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6342,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10665:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "10642:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6345,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6344,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6330,
                      "src": "10683:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "10642:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10602:93:36"
                },
                {
                  "assignments": [
                    6348
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6348,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10705:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6347,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "10705:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6356,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6349,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "10745:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6353,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6351,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10776:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10768:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6352,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10768:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "10745:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6355,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6354,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6330,
                      "src": "10786:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "10745:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10705:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6361,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6358,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6348,
                            "src": "10816:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6359,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "10816:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6360,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "10842:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "10816:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6357,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "10808:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6362,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10808:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6363,
                  "nodeType": "ExpressionStatement",
                  "src": "10808:36:36"
                },
                {
                  "assignments": [
                    6365
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6365,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6438,
                      "src": "10854:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6364,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "10854:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6373,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6367,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6330,
                        "src": "10893:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6369,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6332,
                            "src": "10914:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6368,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "10906:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6370,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "10906:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "32",
                        "id": 6371,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "10924:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        },
                        "value": "2"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_2_by_1",
                          "typeString": "int_const 2"
                        }
                      ],
                      "id": 6366,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "10877:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6372,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10877:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10854:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6378,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6374,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6348,
                        "src": "11005:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6376,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11005:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6377,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "11026:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "11005:22:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6379,
                  "nodeType": "ExpressionStatement",
                  "src": "11005:22:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6386,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 6380,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6335,
                      "src": "11037:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6383,
                            "name": "_proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6338,
                            "src": "11063:9:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal memory"
                            }
                          },
                          "id": 6384,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "ethReward",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5759,
                          "src": "11063:19:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 6381,
                          "name": "periodsToPay",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6365,
                          "src": "11046:12:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6382,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mul",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22894,
                        "src": "11046:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 6385,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "11046:37:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11037:46:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6387,
                  "nodeType": "ExpressionStatement",
                  "src": "11037:46:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6390,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 6388,
                      "name": "amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6335,
                      "src": "11098:6:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6389,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "11107:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "11098:10:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6430,
                  "nodeType": "IfStatement",
                  "src": "11094:317:36",
                  "trueBody": {
                    "id": 6429,
                    "nodeType": "Block",
                    "src": "11110:301:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6398,
                                  "name": "amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6335,
                                  "src": "11179:6:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6399,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6338,
                                    "src": "11187:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6400,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5765,
                                  "src": "11187:21:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "id": 6401,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6332,
                                  "src": "11210:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  },
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "arguments": [],
                                      "expression": {
                                        "argumentTypes": [],
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6393,
                                          "name": "_avatar",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6332,
                                          "src": "11152:7:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_Avatar_$2010",
                                            "typeString": "contract Avatar"
                                          }
                                        },
                                        "id": 6394,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "owner",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 23021,
                                        "src": "11152:13:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                          "typeString": "function () view external returns (address)"
                                        }
                                      },
                                      "id": 6395,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "11152:15:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 6392,
                                    "name": "ControllerInterface",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 3699,
                                    "src": "11132:19:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                      "typeString": "type(contract ControllerInterface)"
                                    }
                                  },
                                  "id": 6396,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "11132:36:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                    "typeString": "contract ControllerInterface"
                                  }
                                },
                                "id": 6397,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sendEther",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 3587,
                                "src": "11132:46:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_payable_$_t_contract$_Avatar_$2010_$returns$_t_bool_$",
                                  "typeString": "function (uint256,address payable,contract Avatar) external returns (bool)"
                                }
                              },
                              "id": 6402,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "11132:86:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            ],
                            "id": 6391,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23693,
                            "src": "11124:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                              "typeString": "function (bool) pure"
                            }
                          },
                          "id": 6403,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11124:95:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6404,
                        "nodeType": "ExpressionStatement",
                        "src": "11124:95:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6417,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6405,
                                "name": "proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6348,
                                "src": "11233:8:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                }
                              },
                              "id": 6408,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "redeemedPeriods",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5775,
                              "src": "11233:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                "typeString": "uint256[4] storage ref"
                              }
                            },
                            "id": 6409,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "32",
                              "id": 6407,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "11258:1:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_2_by_1",
                                "typeString": "int_const 2"
                              },
                              "value": "2"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "11233:27:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6415,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6365,
                                "src": "11295:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6410,
                                    "name": "proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6348,
                                    "src": "11263:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                    }
                                  },
                                  "id": 6411,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "11263:24:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                    "typeString": "uint256[4] storage ref"
                                  }
                                },
                                "id": 6413,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "32",
                                  "id": 6412,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "11288:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_2_by_1",
                                    "typeString": "int_const 2"
                                  },
                                  "value": "2"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "11263:27:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6414,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "add",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22966,
                              "src": "11263:31:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6416,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "11263:45:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "11233:75:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6418,
                        "nodeType": "ExpressionStatement",
                        "src": "11233:75:36"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 6421,
                                  "name": "_avatar",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6332,
                                  "src": "11347:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_Avatar_$2010",
                                    "typeString": "contract Avatar"
                                  }
                                ],
                                "id": 6420,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "11339:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": "address"
                              },
                              "id": 6422,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "11339:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6423,
                              "name": "_proposalId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6330,
                              "src": "11357:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "expression": {
                                "argumentTypes": null,
                                "id": 6424,
                                "name": "_proposal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6338,
                                "src": "11370:9:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                  "typeString": "struct ContributionReward.ContributionProposal memory"
                                }
                              },
                              "id": 6425,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "beneficiary",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 5765,
                              "src": "11370:21:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 6426,
                              "name": "amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6335,
                              "src": "11393:6:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              },
                              {
                                "typeIdentifier": "t_address_payable",
                                "typeString": "address payable"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 6419,
                            "name": "RedeemEther",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5733,
                            "src": "11327:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,bytes32,address,uint256)"
                            }
                          },
                          "id": 6427,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11327:73:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6428,
                        "nodeType": "EmitStatement",
                        "src": "11322:78:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6436,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6431,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6348,
                        "src": "11456:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6433,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11456:18:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6434,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6338,
                        "src": "11477:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6435,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ethReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5759,
                      "src": "11477:19:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11456:40:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6437,
                  "nodeType": "ExpressionStatement",
                  "src": "11456:40:36"
                }
              ]
            },
            "documentation": "@dev RedeemEther reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount ether redeemed amount",
            "id": 6439,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemEther",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6333,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6330,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10523:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6329,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "10523:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6332,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10544:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6331,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "10544:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "10522:37:36"
            },
            "returnParameters": {
              "id": 6336,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6335,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6439,
                  "src": "10575:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6334,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10575:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "10574:16:36"
            },
            "scope": 6958,
            "src": "10502:1001:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6564,
              "nodeType": "Block",
              "src": "11841:1169:36",
              "statements": [
                {
                  "assignments": [
                    6449
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6449,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "11852:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6448,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "11852:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6457,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6450,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "11892:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6454,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6452,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "11923:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6451,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "11915:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6453,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "11915:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "11892:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6456,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6455,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6441,
                      "src": "11933:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "11892:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "11852:93:36"
                },
                {
                  "assignments": [
                    6459
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6459,
                      "name": "proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "11955:37:36",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6458,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "11955:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6467,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6460,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "11995:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6464,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6462,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "12026:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6461,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "12018:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6463,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12018:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "11995:40:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6466,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6465,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6441,
                      "src": "12036:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "11995:53:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "11955:93:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6472,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 6469,
                            "name": "proposal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6459,
                            "src": "12066:8:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                              "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                            }
                          },
                          "id": 6470,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "executionTime",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5771,
                          "src": "12066:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 6471,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "12092:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "12066:27:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 6468,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23693,
                      "src": "12058:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 6473,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12058:36:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6474,
                  "nodeType": "ExpressionStatement",
                  "src": "12058:36:36"
                },
                {
                  "assignments": [
                    6476
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6476,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6564,
                      "src": "12104:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6475,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "12104:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6484,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6478,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6441,
                        "src": "12143:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 6480,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6443,
                            "src": "12164:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Avatar_$2010",
                              "typeString": "contract Avatar"
                            }
                          ],
                          "id": 6479,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "12156:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 6481,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12156:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "33",
                        "id": 6482,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12174:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_3_by_1",
                          "typeString": "int_const 3"
                        },
                        "value": "3"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_rational_3_by_1",
                          "typeString": "int_const 3"
                        }
                      ],
                      "id": 6477,
                      "name": "getPeriodsToPay",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6729,
                      "src": "12127:15:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (bytes32,address,uint256) view returns (uint256)"
                      }
                    },
                    "id": 6483,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12127:49:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "12104:72:36"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6489,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6485,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6459,
                        "src": "12255:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6487,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12255:28:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6488,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "12286:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "12255:32:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6490,
                  "nodeType": "ExpressionStatement",
                  "src": "12255:32:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 6501,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_contract$_IERC20_$23656",
                        "typeString": "contract IERC20"
                      },
                      "id": 6496,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6491,
                          "name": "proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6459,
                          "src": "12302:8:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                          }
                        },
                        "id": 6492,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalToken",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5761,
                        "src": "12302:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "!=",
                      "rightExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6494,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "12335:1:36",
                            "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": 6493,
                          "name": "IERC20",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23656,
                          "src": "12328:6:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IERC20_$23656_$",
                            "typeString": "type(contract IERC20)"
                          }
                        },
                        "id": 6495,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "12328:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      },
                      "src": "12302:35:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "&&",
                    "rightExpression": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 6500,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6497,
                          "name": "_proposal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6449,
                          "src": "12341:9:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                            "typeString": "struct ContributionReward.ContributionProposal memory"
                          }
                        },
                        "id": 6498,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalTokenReward",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5763,
                        "src": "12341:29:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": ">",
                      "rightExpression": {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 6499,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12373:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "12341:33:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "12302:72:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6556,
                  "nodeType": "IfStatement",
                  "src": "12298:601:36",
                  "trueBody": {
                    "id": 6555,
                    "nodeType": "Block",
                    "src": "12376:523:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6508,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6502,
                            "name": "amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6446,
                            "src": "12390:6:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 6505,
                                  "name": "_proposal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6449,
                                  "src": "12416:9:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                    "typeString": "struct ContributionReward.ContributionProposal memory"
                                  }
                                },
                                "id": 6506,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "externalTokenReward",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 5763,
                                "src": "12416:29:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 6503,
                                "name": "periodsToPay",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6476,
                                "src": "12399:12:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6504,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "mul",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22894,
                              "src": "12399:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6507,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "12399:47:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "12390:56:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6509,
                        "nodeType": "ExpressionStatement",
                        "src": "12390:56:36"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6512,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 6510,
                            "name": "amount",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6446,
                            "src": "12464:6:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6511,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "12473:1:36",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "12464:10:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 6554,
                        "nodeType": "IfStatement",
                        "src": "12460:429:36",
                        "trueBody": {
                          "id": 6553,
                          "nodeType": "Block",
                          "src": "12476:413:36",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6520,
                                          "name": "_proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6449,
                                          "src": "12612:9:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal memory"
                                          }
                                        },
                                        "id": 6521,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "externalToken",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5761,
                                        "src": "12612:23:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_IERC20_$23656",
                                          "typeString": "contract IERC20"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6522,
                                          "name": "_proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6449,
                                          "src": "12637:9:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal memory"
                                          }
                                        },
                                        "id": 6523,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "beneficiary",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5765,
                                        "src": "12637:21:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 6524,
                                        "name": "amount",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6446,
                                        "src": "12660:6:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      {
                                        "argumentTypes": null,
                                        "id": 6525,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6443,
                                        "src": "12668:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_IERC20_$23656",
                                          "typeString": "contract IERC20"
                                        },
                                        {
                                          "typeIdentifier": "t_address_payable",
                                          "typeString": "address payable"
                                        },
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "arguments": [],
                                            "expression": {
                                              "argumentTypes": [],
                                              "expression": {
                                                "argumentTypes": null,
                                                "id": 6515,
                                                "name": "_avatar",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 6443,
                                                "src": "12556:7:36",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                                  "typeString": "contract Avatar"
                                                }
                                              },
                                              "id": 6516,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "owner",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 23021,
                                              "src": "12556:13:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
                                                "typeString": "function () view external returns (address)"
                                              }
                                            },
                                            "id": 6517,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "kind": "functionCall",
                                            "lValueRequested": false,
                                            "names": [],
                                            "nodeType": "FunctionCall",
                                            "src": "12556:15:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          ],
                                          "id": 6514,
                                          "name": "ControllerInterface",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 3699,
                                          "src": "12519:19:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_contract$_ControllerInterface_$3699_$",
                                            "typeString": "type(contract ControllerInterface)"
                                          }
                                        },
                                        "id": 6518,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "12519:53:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ControllerInterface_$3699",
                                          "typeString": "contract ControllerInterface"
                                        }
                                      },
                                      "id": 6519,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "externalTokenTransfer",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 3600,
                                      "src": "12519:92:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_external_nonpayable$_t_contract$_IERC20_$23656_$_t_address_$_t_uint256_$_t_contract$_Avatar_$2010_$returns$_t_bool_$",
                                        "typeString": "function (contract IERC20,address,uint256,contract Avatar) external returns (bool)"
                                      }
                                    },
                                    "id": 6526,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "12519:157:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  ],
                                  "id": 6513,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    23693,
                                    23694
                                  ],
                                  "referencedDeclaration": 23693,
                                  "src": "12494:7:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                                    "typeString": "function (bool) pure"
                                  }
                                },
                                "id": 6527,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "12494:183:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 6528,
                              "nodeType": "ExpressionStatement",
                              "src": "12494:183:36"
                            },
                            {
                              "expression": {
                                "argumentTypes": null,
                                "id": 6541,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6529,
                                      "name": "proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6459,
                                      "src": "12695:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                      }
                                    },
                                    "id": 6532,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "redeemedPeriods",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5775,
                                    "src": "12695:24:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                      "typeString": "uint256[4] storage ref"
                                    }
                                  },
                                  "id": 6533,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "33",
                                    "id": 6531,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "12720:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_3_by_1",
                                      "typeString": "int_const 3"
                                    },
                                    "value": "3"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": true,
                                  "nodeType": "IndexAccess",
                                  "src": "12695:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 6539,
                                      "name": "periodsToPay",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6476,
                                      "src": "12757:12:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "expression": {
                                          "argumentTypes": null,
                                          "id": 6534,
                                          "name": "proposal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6459,
                                          "src": "12725:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                                            "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                                          }
                                        },
                                        "id": 6535,
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "redeemedPeriods",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 5775,
                                        "src": "12725:24:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint256_$4_storage",
                                          "typeString": "uint256[4] storage ref"
                                        }
                                      },
                                      "id": 6537,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "hexValue": "33",
                                        "id": 6536,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "12750:1:36",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_3_by_1",
                                          "typeString": "int_const 3"
                                        },
                                        "value": "3"
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "12725:27:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 6538,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "add",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 22966,
                                    "src": "12725:31:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                      "typeString": "function (uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 6540,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "12725:45:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12695:75:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6542,
                              "nodeType": "ExpressionStatement",
                              "src": "12695:75:36"
                            },
                            {
                              "eventCall": {
                                "argumentTypes": null,
                                "arguments": [
                                  {
                                    "argumentTypes": null,
                                    "arguments": [
                                      {
                                        "argumentTypes": null,
                                        "id": 6545,
                                        "name": "_avatar",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6443,
                                        "src": "12821:7:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_contract$_Avatar_$2010",
                                          "typeString": "contract Avatar"
                                        }
                                      ],
                                      "id": 6544,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "12813:7:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_address_$",
                                        "typeString": "type(address)"
                                      },
                                      "typeName": "address"
                                    },
                                    "id": 6546,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "12813:16:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "id": 6547,
                                    "name": "_proposalId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6441,
                                    "src": "12831:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bytes32",
                                      "typeString": "bytes32"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6548,
                                      "name": "_proposal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6449,
                                      "src": "12844:9:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                        "typeString": "struct ContributionReward.ContributionProposal memory"
                                      }
                                    },
                                    "id": 6549,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "beneficiary",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 5765,
                                    "src": "12844:21:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    }
                                  },
                                  {
                                    "argumentTypes": null,
                                    "id": 6550,
                                    "name": "amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6446,
                                    "src": "12867:6:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_bytes32",
                                      "typeString": "bytes32"
                                    },
                                    {
                                      "typeIdentifier": "t_address_payable",
                                      "typeString": "address payable"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 6543,
                                  "name": "RedeemExternalToken",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5753,
                                  "src": "12793:19:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_bytes32_$_t_address_$_t_uint256_$returns$__$",
                                    "typeString": "function (address,bytes32,address,uint256)"
                                  }
                                },
                                "id": 6551,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "12793:81:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 6552,
                              "nodeType": "EmitStatement",
                              "src": "12788:86:36"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6562,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6557,
                        "name": "proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6459,
                        "src": "12943:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal storage pointer"
                        }
                      },
                      "id": 6559,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12943:28:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6560,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6449,
                        "src": "12974:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6561,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "externalTokenReward",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5763,
                      "src": "12974:29:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "12943:60:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 6563,
                  "nodeType": "ExpressionStatement",
                  "src": "12943:60:36"
                }
              ]
            },
            "documentation": "@dev RedeemNativeToken reward for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@return amount the external token redeemed amount",
            "id": 6565,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeemExternalToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6444,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6441,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11773:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6440,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "11773:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6443,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11794:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6442,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "11794:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "11772:37:36"
            },
            "returnParameters": {
              "id": 6447,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6446,
                  "name": "amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 6565,
                  "src": "11825:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6445,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11825:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "11824:16:36"
            },
            "scope": 6958,
            "src": "11744:1266:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6632,
              "nodeType": "Block",
              "src": "13679:461:36",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6584,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13694:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6586,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6585,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13708:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13694:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6595,
                  "nodeType": "IfStatement",
                  "src": "13690:104:36",
                  "trueBody": {
                    "id": 6594,
                    "nodeType": "Block",
                    "src": "13712:82:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6592,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6587,
                            "name": "reputationReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6576,
                            "src": "13726:16:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_int256",
                              "typeString": "int256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6589,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13762:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6590,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13775:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6588,
                              "name": "redeemReputation",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6215,
                              "src": "13745:16:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_int256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (int256)"
                              }
                            },
                            "id": 6591,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13745:38:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_int256",
                              "typeString": "int256"
                            }
                          },
                          "src": "13726:57:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_int256",
                            "typeString": "int256"
                          }
                        },
                        "id": 6593,
                        "nodeType": "ExpressionStatement",
                        "src": "13726:57:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6596,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13808:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6598,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 6597,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13822:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13808:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6607,
                  "nodeType": "IfStatement",
                  "src": "13804:106:36",
                  "trueBody": {
                    "id": 6606,
                    "nodeType": "Block",
                    "src": "13826:84:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6604,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6599,
                            "name": "nativeTokenReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6578,
                            "src": "13840:17:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6601,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13878:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6602,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13891:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6600,
                              "name": "redeemNativeToken",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6328,
                              "src": "13860:17:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6603,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13860:39:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "13840:59:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6605,
                        "nodeType": "ExpressionStatement",
                        "src": "13840:59:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6608,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "13924:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6610,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "32",
                      "id": 6609,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13938:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_2_by_1",
                        "typeString": "int_const 2"
                      },
                      "value": "2"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "13924:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6619,
                  "nodeType": "IfStatement",
                  "src": "13920:94:36",
                  "trueBody": {
                    "id": 6618,
                    "nodeType": "Block",
                    "src": "13942:72:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6616,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6611,
                            "name": "etherReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6580,
                            "src": "13956:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6613,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "13982:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6614,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "13995:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6612,
                              "name": "redeemEther",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6439,
                              "src": "13970:11:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6615,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "13970:33:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "13956:47:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6617,
                        "nodeType": "ExpressionStatement",
                        "src": "13956:47:36"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 6620,
                      "name": "_whatToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6573,
                      "src": "14028:13:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                        "typeString": "bool[4] memory"
                      }
                    },
                    "id": 6622,
                    "indexExpression": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 6621,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14042:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_3_by_1",
                        "typeString": "int_const 3"
                      },
                      "value": "3"
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "14028:16:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6631,
                  "nodeType": "IfStatement",
                  "src": "14024:110:36",
                  "trueBody": {
                    "id": 6630,
                    "nodeType": "Block",
                    "src": "14046:88:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6628,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6623,
                            "name": "externalTokenReward",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6582,
                            "src": "14060:19:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 6625,
                                "name": "_proposalId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6567,
                                "src": "14102:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 6626,
                                "name": "_avatar",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6569,
                                "src": "14115:7:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                },
                                {
                                  "typeIdentifier": "t_contract$_Avatar_$2010",
                                  "typeString": "contract Avatar"
                                }
                              ],
                              "id": 6624,
                              "name": "redeemExternalToken",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6565,
                              "src": "14082:19:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_contract$_Avatar_$2010_$returns$_t_uint256_$",
                                "typeString": "function (bytes32,contract Avatar) returns (uint256)"
                              }
                            },
                            "id": 6627,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "14082:41:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "14060:63:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6629,
                        "nodeType": "ExpressionStatement",
                        "src": "14060:63:36"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": "@dev redeem rewards for proposal\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _whatToRedeem whatToRedeem array:\n        whatToRedeem[0] - reputation\n        whatToRedeem[1] - nativeTokenReward\n        whatToRedeem[2] - Ether\n        whatToRedeem[3] - ExternalToken\n@return  result boolean array for each redeem type.",
            "id": 6633,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "redeem",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6574,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6567,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13483:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6566,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "13483:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6569,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13504:14:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 6568,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "13504:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6573,
                  "name": "_whatToRedeem",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13520:28:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_bool_$4_memory_ptr",
                    "typeString": "bool[4]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 6570,
                      "name": "bool",
                      "nodeType": "ElementaryTypeName",
                      "src": "13520:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "id": 6572,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "34",
                      "id": 6571,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "13525:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "4"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "13520:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_bool_$4_storage_ptr",
                      "typeString": "bool[4]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "13482:67:36"
            },
            "returnParameters": {
              "id": 6583,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6576,
                  "name": "reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13573:23:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6575,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13573:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6578,
                  "name": "nativeTokenReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13598:25:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6577,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13598:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6580,
                  "name": "etherReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13625:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6579,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13625:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6582,
                  "name": "externalTokenReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 6633,
                  "src": "13646:27:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6581,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13646:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "13572:102:36"
            },
            "scope": 6958,
            "src": "13467:673:36",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6728,
              "nodeType": "Block",
              "src": "14793:861:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 6647,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 6645,
                          "name": "_redeemType",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6639,
                          "src": "14811:11:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 6646,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "14826:1:36",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_3_by_1",
                            "typeString": "int_const 3"
                          },
                          "value": "3"
                        },
                        "src": "14811:16:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "73686f756c6420626520696e207468652072656465656d6564506572696f64732072616e6765",
                        "id": 6648,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14829:40:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_bd4ef719b23c5e3871f26867b3b48c4c02d5ad3d8d736edd8425236f128c30e7",
                          "typeString": "literal_string \"should be in the redeemedPeriods range\""
                        },
                        "value": "should be in the redeemedPeriods range"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_bd4ef719b23c5e3871f26867b3b48c4c02d5ad3d8d736edd8425236f128c30e7",
                          "typeString": "literal_string \"should be in the redeemedPeriods range\""
                        }
                      ],
                      "id": 6644,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "14803:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 6649,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14803:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6650,
                  "nodeType": "ExpressionStatement",
                  "src": "14803:67:36"
                },
                {
                  "assignments": [
                    6652
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6652,
                      "name": "_proposal",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "14880:37:36",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                        "typeString": "struct ContributionReward.ContributionProposal"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 6651,
                        "name": "ContributionProposal",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 5776,
                        "src": "14880:20:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6658,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6653,
                        "name": "organizationsProposals",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5782,
                        "src": "14920:22:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                          "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                        }
                      },
                      "id": 6655,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6654,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6637,
                        "src": "14943:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "14920:31:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                        "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                      }
                    },
                    "id": 6657,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6656,
                      "name": "_proposalId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6635,
                      "src": "14952:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "14920:44:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                      "typeString": "struct ContributionReward.ContributionProposal storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14880:84:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6662,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6659,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6652,
                        "src": "14978:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6660,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "executionTime",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5771,
                      "src": "14978:23:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6661,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15005:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "14978:28:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6665,
                  "nodeType": "IfStatement",
                  "src": "14974:54:36",
                  "trueBody": {
                    "expression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6663,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15027:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "functionReturnParameters": 6643,
                    "id": 6664,
                    "nodeType": "Return",
                    "src": "15020:8:36"
                  }
                },
                {
                  "assignments": [
                    6667
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6667,
                      "name": "periodsFromExecution",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "15038:28:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6666,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15038:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6668,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15038:28:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6672,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 6669,
                        "name": "_proposal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6652,
                        "src": "15080:9:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                          "typeString": "struct ContributionReward.ContributionProposal memory"
                        }
                      },
                      "id": 6670,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "periodLength",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5767,
                      "src": "15080:22:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6671,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15105:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "15080:26:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6687,
                  "nodeType": "IfStatement",
                  "src": "15076:195:36",
                  "trueBody": {
                    "id": 6686,
                    "nodeType": "Block",
                    "src": "15108:163:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6684,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6673,
                            "name": "periodsFromExecution",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6667,
                            "src": "15178:20:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 6683,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "expression": {
                                        "argumentTypes": null,
                                        "id": 6676,
                                        "name": "_proposal",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6652,
                                        "src": "15210:9:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                          "typeString": "struct ContributionReward.ContributionProposal memory"
                                        }
                                      },
                                      "id": 6677,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberName": "executionTime",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 5771,
                                      "src": "15210:23:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 6674,
                                      "name": "now",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23692,
                                      "src": "15202:3:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 6675,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "sub",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 22942,
                                    "src": "15202:7:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                      "typeString": "function (uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 6678,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "15202:32:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 6679,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "15201:34:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "/",
                            "rightExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6680,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15237:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6681,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "periodLength",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5767,
                                  "src": "15237:22:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 6682,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "15236:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "15201:59:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15178:82:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6685,
                        "nodeType": "ExpressionStatement",
                        "src": "15178:82:36"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    6689
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6689,
                      "name": "periodsToPay",
                      "nodeType": "VariableDeclaration",
                      "scope": 6728,
                      "src": "15280:20:36",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6688,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15280:7:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6690,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15280:20:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 6701,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6694,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6691,
                              "name": "_proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6652,
                              "src": "15315:9:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                "typeString": "struct ContributionReward.ContributionProposal memory"
                              }
                            },
                            "id": 6692,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "periodLength",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5767,
                            "src": "15315:22:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 6693,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "15341:1:36",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "15315:27:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 6695,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15314:29:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 6699,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 6696,
                            "name": "periodsFromExecution",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6667,
                            "src": "15348:20:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">=",
                          "rightExpression": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 6697,
                              "name": "_proposal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6652,
                              "src": "15372:9:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                "typeString": "struct ContributionReward.ContributionProposal memory"
                              }
                            },
                            "id": 6698,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "numberOfPeriods",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 5769,
                            "src": "15372:25:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15348:49:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        }
                      ],
                      "id": 6700,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "15347:51:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "15314:84:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 6724,
                    "nodeType": "Block",
                    "src": "15515:104:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6722,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6714,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6689,
                            "src": "15529:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6717,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15569:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6718,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "15569:25:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_memory",
                                    "typeString": "uint256[4] memory"
                                  }
                                },
                                "id": 6720,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "id": 6719,
                                  "name": "_redeemType",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6639,
                                  "src": "15595:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "15569:38:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "id": 6715,
                                "name": "periodsFromExecution",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6667,
                                "src": "15544:20:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6716,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sub",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22942,
                              "src": "15544:24:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6721,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "15544:64:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15529:79:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6723,
                        "nodeType": "ExpressionStatement",
                        "src": "15529:79:36"
                      }
                    ]
                  },
                  "id": 6725,
                  "nodeType": "IfStatement",
                  "src": "15310:309:36",
                  "trueBody": {
                    "id": 6713,
                    "nodeType": "Block",
                    "src": "15400:109:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 6711,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 6702,
                            "name": "periodsToPay",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6689,
                            "src": "15414:12:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 6706,
                                    "name": "_proposal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6652,
                                    "src": "15459:9:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                      "typeString": "struct ContributionReward.ContributionProposal memory"
                                    }
                                  },
                                  "id": 6707,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "redeemedPeriods",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 5775,
                                  "src": "15459:25:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$4_memory",
                                    "typeString": "uint256[4] memory"
                                  }
                                },
                                "id": 6709,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "id": 6708,
                                  "name": "_redeemType",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6639,
                                  "src": "15485:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "15459:38:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "argumentTypes": null,
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 6703,
                                  "name": "_proposal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6652,
                                  "src": "15429:9:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_ContributionProposal_$5776_memory_ptr",
                                    "typeString": "struct ContributionReward.ContributionProposal memory"
                                  }
                                },
                                "id": 6704,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "numberOfPeriods",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 5769,
                                "src": "15429:25:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 6705,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sub",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 22942,
                              "src": "15429:29:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 6710,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "15429:69:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "15414:84:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 6712,
                        "nodeType": "ExpressionStatement",
                        "src": "15414:84:36"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 6726,
                    "name": "periodsToPay",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6689,
                    "src": "15635:12:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6643,
                  "id": 6727,
                  "nodeType": "Return",
                  "src": "15628:19:36"
                }
              ]
            },
            "documentation": "@dev getPeriodsToPay return the periods left to be paid for reputation,nativeToken,ether or externalToken.\nThe function ignore the reward amount to be paid (which can be zero).\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _redeemType - the type of the reward  :\n        0 - reputation\n        1 - nativeTokenReward\n        2 - Ether\n        3 - ExternalToken\n@return  periods left to be paid.",
            "id": 6729,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPeriodsToPay",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6640,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6635,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14704:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6634,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "14704:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6637,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14725:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6636,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "14725:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6639,
                  "name": "_redeemType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14742:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6638,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14742:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "14703:59:36"
            },
            "returnParameters": {
              "id": 6643,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6642,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6729,
                  "src": "14784:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6641,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "14784:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "14783:9:36"
            },
            "scope": 6958,
            "src": "14679:975:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6749,
              "nodeType": "Block",
              "src": "16243:97:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 6740,
                            "name": "organizationsProposals",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5782,
                            "src": "16260:22:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                              "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                            }
                          },
                          "id": 6742,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 6741,
                            "name": "_avatar",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6733,
                            "src": "16283:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "16260:31:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                            "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                          }
                        },
                        "id": 6744,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6743,
                          "name": "_proposalId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6731,
                          "src": "16292:11:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16260:44:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                          "typeString": "struct ContributionReward.ContributionProposal storage ref"
                        }
                      },
                      "id": 6745,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "redeemedPeriods",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5775,
                      "src": "16260:60:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_uint256_$4_storage",
                        "typeString": "uint256[4] storage ref"
                      }
                    },
                    "id": 6747,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 6746,
                      "name": "_redeemType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6735,
                      "src": "16321:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "16260:73:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6739,
                  "id": 6748,
                  "nodeType": "Return",
                  "src": "16253:80:36"
                }
              ]
            },
            "documentation": "@dev getRedeemedPeriods return the already redeemed periods for reputation, nativeToken, ether or externalToken.\n@param _proposalId the ID of the voting in the voting machine\n@param _avatar address of the controller\n@param _redeemType - the type of the reward  :\n        0 - reputation\n        1 - nativeTokenReward\n        2 - Ether\n        3 - ExternalToken\n@return redeemed period.",
            "id": 6750,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getRedeemedPeriods",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6736,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6731,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16142:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6730,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16142:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6733,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16163:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6732,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16163:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6735,
                  "name": "_redeemType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16180:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6734,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16180:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16141:59:36"
            },
            "returnParameters": {
              "id": 6739,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6738,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6750,
                  "src": "16234:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6737,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16234:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16233:9:36"
            },
            "scope": 6958,
            "src": "16114:226:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6766,
              "nodeType": "Block",
              "src": "16444:78:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6759,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "16461:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6761,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6760,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6754,
                          "src": "16484:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16461:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6763,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6762,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6752,
                        "src": "16493:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "16461:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6764,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "ethReward",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5759,
                    "src": "16461:54:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6758,
                  "id": 6765,
                  "nodeType": "Return",
                  "src": "16454:61:36"
                }
              ]
            },
            "documentation": null,
            "id": 6767,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalEthReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6755,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6752,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16376:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6751,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16376:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6754,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16397:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6753,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16397:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16375:38:36"
            },
            "returnParameters": {
              "id": 6758,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6757,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6767,
                  "src": "16435:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6756,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16435:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16434:9:36"
            },
            "scope": 6958,
            "src": "16346:176:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6783,
              "nodeType": "Block",
              "src": "16636:88:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6776,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "16653:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6778,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6777,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6771,
                          "src": "16676:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "16653:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6780,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6779,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6769,
                        "src": "16685:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "16653:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6781,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "externalTokenReward",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5763,
                    "src": "16653:64:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6775,
                  "id": 6782,
                  "nodeType": "Return",
                  "src": "16646:71:36"
                }
              ]
            },
            "documentation": null,
            "id": 6784,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExternalTokenReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6772,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6769,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16568:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6768,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16568:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6771,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16589:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6770,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16589:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16567:38:36"
            },
            "returnParameters": {
              "id": 6775,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6774,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6784,
                  "src": "16627:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6773,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16627:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16626:9:36"
            },
            "scope": 6958,
            "src": "16528:196:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6802,
              "nodeType": "Block",
              "src": "16832:91:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 6794,
                              "name": "organizationsProposals",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5782,
                              "src": "16857:22:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                                "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                              }
                            },
                            "id": 6796,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 6795,
                              "name": "_avatar",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 6788,
                              "src": "16880:7:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "16857:31:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                              "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                            }
                          },
                          "id": 6798,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 6797,
                            "name": "_proposalId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6786,
                            "src": "16889:11:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "16857:44:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                            "typeString": "struct ContributionReward.ContributionProposal storage ref"
                          }
                        },
                        "id": 6799,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "externalToken",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5761,
                        "src": "16857:58:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IERC20_$23656",
                          "typeString": "contract IERC20"
                        }
                      ],
                      "id": 6793,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "16849:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_address_$",
                        "typeString": "type(address)"
                      },
                      "typeName": "address"
                    },
                    "id": 6800,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "16849:67:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 6792,
                  "id": 6801,
                  "nodeType": "Return",
                  "src": "16842:74:36"
                }
              ]
            },
            "documentation": null,
            "id": 6803,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExternalToken",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6789,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6786,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16764:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6785,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16764:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6788,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16785:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6787,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16785:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16763:38:36"
            },
            "returnParameters": {
              "id": 6792,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6791,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6803,
                  "src": "16823:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6790,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16823:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16822:9:36"
            },
            "scope": 6958,
            "src": "16730:193:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6819,
              "nodeType": "Block",
              "src": "17031:82:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "expression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 6812,
                          "name": "organizationsProposals",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5782,
                          "src": "17048:22:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$_$",
                            "typeString": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))"
                          }
                        },
                        "id": 6814,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 6813,
                          "name": "_avatar",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 6807,
                          "src": "17071:7:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17048:31:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_ContributionProposal_$5776_storage_$",
                          "typeString": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)"
                        }
                      },
                      "id": 6816,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 6815,
                        "name": "_proposalId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6805,
                        "src": "17080:11:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "17048:44:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_ContributionProposal_$5776_storage",
                        "typeString": "struct ContributionReward.ContributionProposal storage ref"
                      }
                    },
                    "id": 6817,
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "executionTime",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 5771,
                    "src": "17048:58:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 6811,
                  "id": 6818,
                  "nodeType": "Return",
                  "src": "17041:65:36"
                }
              ]
            },
            "documentation": null,
            "id": 6820,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getProposalExecutionTime",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6808,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6805,
                  "name": "_proposalId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "16963:19:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 6804,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "16963:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6807,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "16984:15:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6806,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16984:7:36",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "16962:38:36"
            },
            "returnParameters": {
              "id": 6811,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6810,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6820,
                  "src": "17022:7:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6809,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17022:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "17021:9:36"
            },
            "scope": 6958,
            "src": "16929:184:36",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6956,
              "nodeType": "Block",
              "src": "17909:1282:36",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "components": [
                          {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "id": 6842,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 6834,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "baseExpression": {
                                      "argumentTypes": null,
                                      "id": 6830,
                                      "name": "_rewards",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6826,
                                      "src": "17929:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                        "typeString": "uint256[5] memory"
                                      }
                                    },
                                    "id": 6832,
                                    "indexExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "33",
                                      "id": 6831,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "17938:1:36",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_3_by_1",
                                        "typeString": "int_const 3"
                                      },
                                      "value": "3"
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "17929:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 6833,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "17943:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "src": "17929:15:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                }
                              ],
                              "id": 6835,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "17928:17:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "||",
                            "rightExpression": {
                              "argumentTypes": null,
                              "components": [
                                {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 6840,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "baseExpression": {
                                      "argumentTypes": null,
                                      "id": 6836,
                                      "name": "_rewards",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 6826,
                                      "src": "17950:8:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                        "typeString": "uint256[5] memory"
                                      }
                                    },
                                    "id": 6838,
                                    "indexExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "34",
                                      "id": 6837,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "17959:1:36",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_4_by_1",
                                        "typeString": "int_const 4"
                                      },
                                      "value": "4"
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "17950:11:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "==",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "31",
                                    "id": 6839,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "17965:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "17950:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                }
                              ],
                              "id": 6841,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "17949:18:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "src": "17928:39:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 6843,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "17927:41:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "706572696f644c656e67746820657175616c20302072657175697265206e756d6265724f66506572696f647320746f2062652031",
                        "id": 6844,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "17970:54:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_184adae7a751af32b21a6c9ed23b7708e5a5b5f5f10a65f1b2801f2057c75169",
                          "typeString": "literal_string \"periodLength equal 0 require numberOfPeriods to be 1\""
                        },
                        "value": "periodLength equal 0 require numberOfPeriods to be 1"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_184adae7a751af32b21a6c9ed23b7708e5a5b5f5f10a65f1b2801f2057c75169",
                          "typeString": "literal_string \"periodLength equal 0 require numberOfPeriods to be 1\""
                        }
                      ],
                      "id": 6829,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "17919:7:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 6845,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17919:106:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6846,
                  "nodeType": "ExpressionStatement",
                  "src": "17919:106:36"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 6851,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 6847,
                        "name": "_rewards",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6826,
                        "src": "18039:8:36",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                          "typeString": "uint256[5] memory"
                        }
                      },
                      "id": 6849,
                      "indexExpression": {
                        "argumentTypes": null,
                        "hexValue": "34",
                        "id": 6848,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "18048:1:36",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_4_by_1",
                          "typeString": "int_const 4"
                        },
                        "value": "4"
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "18039:11:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 6850,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "18053:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "18039:15:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 6955,
                  "nodeType": "IfStatement",
                  "src": "18035:1150:36",
                  "trueBody": {
                    "id": 6954,
                    "nodeType": "Block",
                    "src": "18056:1129:36",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 6870,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "UnaryOperation",
                              "operator": "!",
                              "prefix": true,
                              "src": "18159:59:36",
                              "subExpression": {
                                "argumentTypes": null,
                                "components": [
                                  {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "id": 6868,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6860,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "baseExpression": {
                                              "argumentTypes": null,
                                              "id": 6854,
                                              "name": "_rewards",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 6826,
                                              "src": "18165:8:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                                "typeString": "uint256[5] memory"
                                              }
                                            },
                                            "id": 6856,
                                            "indexExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "34",
                                              "id": 6855,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18174:1:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_4_by_1",
                                                "typeString": "int_const 4"
                                              },
                                              "value": "4"
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "18165:11:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 6853,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "18161:3:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_int256_$",
                                            "typeString": "type(int256)"
                                          },
                                          "typeName": "int"
                                        },
                                        "id": 6857,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "18161:16:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "id": 6859,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "UnaryOperation",
                                        "operator": "-",
                                        "prefix": true,
                                        "src": "18181:2:36",
                                        "subExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "31",
                                          "id": 6858,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18182:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_minus_1_by_1",
                                          "typeString": "int_const -1"
                                        }
                                      },
                                      "src": "18161:22:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "&&",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6867,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "id": 6861,
                                        "name": "_reputationChange",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6822,
                                        "src": "18187:17:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "components": [
                                          {
                                            "argumentTypes": null,
                                            "commonType": {
                                              "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                              "typeString": "int_const -578...(70 digits omitted)...9968"
                                            },
                                            "id": 6865,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "argumentTypes": null,
                                              "id": 6863,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "UnaryOperation",
                                              "operator": "-",
                                              "prefix": true,
                                              "src": "18209:2:36",
                                              "subExpression": {
                                                "argumentTypes": null,
                                                "hexValue": "32",
                                                "id": 6862,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "18210:1:36",
                                                "subdenomination": null,
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_rational_2_by_1",
                                                  "typeString": "int_const 2"
                                                },
                                                "value": "2"
                                              },
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_minus_2_by_1",
                                                "typeString": "int_const -2"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "**",
                                            "rightExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "323535",
                                              "id": 6864,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18213:3:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_255_by_1",
                                                "typeString": "int_const 255"
                                              },
                                              "value": "255"
                                            },
                                            "src": "18209:7:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                              "typeString": "int_const -578...(70 digits omitted)...9968"
                                            }
                                          }
                                        ],
                                        "id": 6866,
                                        "isConstant": false,
                                        "isInlineArray": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "TupleExpression",
                                        "src": "18208:9:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_minus_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1",
                                          "typeString": "int_const -578...(70 digits omitted)...9968"
                                        }
                                      },
                                      "src": "18187:30:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "src": "18161:56:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "id": 6869,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "18160:58:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a205f72657075746174696f6e4368616e67652077696c6c206f766572666c6f77",
                              "id": 6871,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18232:51:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_ab8a2e4ee4d3597bb0351c7c743538e634e63d778d3320ee5b31ef158832372d",
                                "typeString": "literal_string \"numberOfPeriods * _reputationChange will overflow\""
                              },
                              "value": "numberOfPeriods * _reputationChange will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_ab8a2e4ee4d3597bb0351c7c743538e634e63d778d3320ee5b31ef158832372d",
                                "typeString": "literal_string \"numberOfPeriods * _reputationChange will overflow\""
                              }
                            ],
                            "id": 6852,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18151:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6872,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18151:133:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6873,
                        "nodeType": "ExpressionStatement",
                        "src": "18151:133:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_int256",
                                "typeString": "int256"
                              },
                              "id": 6890,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                },
                                "id": 6888,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      },
                                      "id": 6881,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "arguments": [
                                          {
                                            "argumentTypes": null,
                                            "baseExpression": {
                                              "argumentTypes": null,
                                              "id": 6876,
                                              "name": "_rewards",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 6826,
                                              "src": "18389:8:36",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                                "typeString": "uint256[5] memory"
                                              }
                                            },
                                            "id": 6878,
                                            "indexExpression": {
                                              "argumentTypes": null,
                                              "hexValue": "34",
                                              "id": 6877,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "18398:1:36",
                                              "subdenomination": null,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_4_by_1",
                                                "typeString": "int_const 4"
                                              },
                                              "value": "4"
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "18389:11:36",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 6875,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "18385:3:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_int256_$",
                                            "typeString": "type(int256)"
                                          },
                                          "typeName": "int"
                                        },
                                        "id": 6879,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "18385:16:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "id": 6880,
                                        "name": "_reputationChange",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6822,
                                        "src": "18404:17:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_int256",
                                          "typeString": "int256"
                                        }
                                      },
                                      "src": "18385:36:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_int256",
                                        "typeString": "int256"
                                      }
                                    }
                                  ],
                                  "id": 6882,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18384:38:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_int256",
                                    "typeString": "int256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 6884,
                                        "name": "_rewards",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 6826,
                                        "src": "18429:8:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                          "typeString": "uint256[5] memory"
                                        }
                                      },
                                      "id": 6886,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "hexValue": "34",
                                        "id": 6885,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "18438:1:36",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_4_by_1",
                                          "typeString": "int_const 4"
                                        },
                                        "value": "4"
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "18429:11:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 6883,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "18425:3:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_int256_$",
                                      "typeString": "type(int256)"
                                    },
                                    "typeName": "int"
                                  },
                                  "id": 6887,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "18425:16:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_int256",
                                    "typeString": "int256"
                                  }
                                },
                                "src": "18384:57:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "id": 6889,
                                "name": "_reputationChange",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 6822,
                                "src": "18445:17:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_int256",
                                  "typeString": "int256"
                                }
                              },
                              "src": "18384:78:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a2072657075746174696f6e4368616e67652077696c6c206f766572666c6f77",
                              "id": 6891,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18476:50:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_6fa768ac293f7b05b3e87a1ebad2012e5a6a340f67643b77311417d6dafa9436",
                                "typeString": "literal_string \"numberOfPeriods * reputationChange will overflow\""
                              },
                              "value": "numberOfPeriods * reputationChange will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_6fa768ac293f7b05b3e87a1ebad2012e5a6a340f67643b77311417d6dafa9436",
                                "typeString": "literal_string \"numberOfPeriods * reputationChange will overflow\""
                              }
                            ],
                            "id": 6874,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18376:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6892,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18376:151:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6893,
                        "nodeType": "ExpressionStatement",
                        "src": "18376:151:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6910,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6906,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6901,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6895,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18623:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6897,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6896,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18632:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18623:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6898,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18637:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6900,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "30",
                                          "id": 6899,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18646:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_0_by_1",
                                            "typeString": "int_const 0"
                                          },
                                          "value": "0"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18637:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "18623:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6902,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18622:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6903,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "18652:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6905,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6904,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "18661:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "18652:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18622:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6907,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "18667:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6909,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 6908,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "18676:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "18667:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "18622:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a20746f6b656e5265776172642077696c6c206f766572666c6f77",
                              "id": 6911,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18692:45:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_6af13b0395690350c64b9a73bd65817f03553aafcbf4e1b169882296373f78b8",
                                "typeString": "literal_string \"numberOfPeriods * tokenReward will overflow\""
                              },
                              "value": "numberOfPeriods * tokenReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_6af13b0395690350c64b9a73bd65817f03553aafcbf4e1b169882296373f78b8",
                                "typeString": "literal_string \"numberOfPeriods * tokenReward will overflow\""
                              }
                            ],
                            "id": 6894,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18614:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6912,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18614:124:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6913,
                        "nodeType": "ExpressionStatement",
                        "src": "18614:124:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6930,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6926,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6921,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6915,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18832:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6917,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6916,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18841:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18832:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6918,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "18846:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6920,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "31",
                                          "id": 6919,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "18855:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "18846:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "18832:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6922,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18831:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6923,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "18861:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6925,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6924,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "18870:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "18861:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18831:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6927,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "18876:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6929,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "31",
                                  "id": 6928,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "18885:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "18876:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "18831:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a206574685265776172642077696c6c206f766572666c6f77",
                              "id": 6931,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "18901:43:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_7d24f587c8d5849a935969c8a76b899afed1548d7c31a3a3fa2c0a3a3c99f2f3",
                                "typeString": "literal_string \"numberOfPeriods * ethReward will overflow\""
                              },
                              "value": "numberOfPeriods * ethReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_7d24f587c8d5849a935969c8a76b899afed1548d7c31a3a3fa2c0a3a3c99f2f3",
                                "typeString": "literal_string \"numberOfPeriods * ethReward will overflow\""
                              }
                            ],
                            "id": 6914,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "18823:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6932,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18823:122:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6933,
                        "nodeType": "ExpressionStatement",
                        "src": "18823:122:36"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 6950,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 6946,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "components": [
                                    {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 6941,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6935,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "19050:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6937,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "34",
                                          "id": 6936,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "19059:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_4_by_1",
                                            "typeString": "int_const 4"
                                          },
                                          "value": "4"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "19050:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 6938,
                                          "name": "_rewards",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 6826,
                                          "src": "19064:8:36",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                            "typeString": "uint256[5] memory"
                                          }
                                        },
                                        "id": 6940,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "hexValue": "32",
                                          "id": 6939,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "19073:1:36",
                                          "subdenomination": null,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_2_by_1",
                                            "typeString": "int_const 2"
                                          },
                                          "value": "2"
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "19064:11:36",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "19050:25:36",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 6942,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "19049:27:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 6943,
                                    "name": "_rewards",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 6826,
                                    "src": "19079:8:36",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                      "typeString": "uint256[5] memory"
                                    }
                                  },
                                  "id": 6945,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "34",
                                    "id": 6944,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "19088:1:36",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_4_by_1",
                                      "typeString": "int_const 4"
                                    },
                                    "value": "4"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "19079:11:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "19049:41:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "argumentTypes": null,
                                "baseExpression": {
                                  "argumentTypes": null,
                                  "id": 6947,
                                  "name": "_rewards",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 6826,
                                  "src": "19094:8:36",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                                    "typeString": "uint256[5] memory"
                                  }
                                },
                                "id": 6949,
                                "indexExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "32",
                                  "id": 6948,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "19103:1:36",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_2_by_1",
                                    "typeString": "int_const 2"
                                  },
                                  "value": "2"
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "19094:11:36",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "19049:56:36",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "6e756d6265724f66506572696f6473202a207465787465726e616c546f6b656e5265776172642077696c6c206f766572666c6f77",
                              "id": 6951,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "19119:54:36",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_f05de1d5fb12283a79df3f3169c88e709d30361f769bc8d3b5767984dc30ab5e",
                                "typeString": "literal_string \"numberOfPeriods * texternalTokenReward will overflow\""
                              },
                              "value": "numberOfPeriods * texternalTokenReward will overflow"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_f05de1d5fb12283a79df3f3169c88e709d30361f769bc8d3b5767984dc30ab5e",
                                "typeString": "literal_string \"numberOfPeriods * texternalTokenReward will overflow\""
                              }
                            ],
                            "id": 6934,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              23693,
                              23694
                            ],
                            "referencedDeclaration": 23694,
                            "src": "19041:7:36",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 6952,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "19041:133:36",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6953,
                        "nodeType": "ExpressionStatement",
                        "src": "19041:133:36"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": "@dev validateProposalParams validate proposal's rewards parameters.\nThe function check for potential overflow upon proposal's redeem.\nThe function reverts if the params are not valid.\n@param _reputationChange - Amount of reputation change requested .Can be negative.\n@param _rewards rewards array:\n        rewards[0] - Amount of tokens requested per period\n        rewards[1] - Amount of ETH requested per period\n        rewards[2] - Amount of external tokens requested per period\n        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.\n        rewards[4] - Number of periods",
            "id": 6957,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "validateProposalParams",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6827,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6822,
                  "name": "_reputationChange",
                  "nodeType": "VariableDeclaration",
                  "scope": 6957,
                  "src": "17845:24:36",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 6821,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17845:6:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6826,
                  "name": "_rewards",
                  "nodeType": "VariableDeclaration",
                  "scope": 6957,
                  "src": "17871:23:36",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$5_memory_ptr",
                    "typeString": "uint256[5]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 6823,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "17871:4:36",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 6825,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "35",
                      "id": 6824,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "17876:1:36",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "5"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "17871:7:36",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$5_storage_ptr",
                      "typeString": "uint256[5]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "17844:51:36"
            },
            "returnParameters": {
              "id": 6828,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "17909:0:36"
            },
            "scope": 6958,
            "src": "17813:1378:36",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "private"
          }
        ],
        "scope": 6959,
        "src": "499:18695:36"
      }
    ],
    "src": "0:19195:36"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.314Z",
  "devdoc": {
    "details": "An agent can ask an organization to recognize a contribution and reward him with token, reputation, ether or any combination.",
    "methods": {
      "executeProposal(bytes32,int256)": {
        "details": "execution of proposals, can only be called by the voting machine in which the vote is held.",
        "params": {
          "_param": "a parameter of the voting result, 1 yes and 2 is no.",
          "_proposalId": "the ID of the voting in the voting machine"
        }
      },
      "getParametersHash(bytes32,address)": {
        "details": "return a hash of the given parameters",
        "params": {
          "_intVote": "the voting machine used to approve a contribution",
          "_voteApproveParams": "parameters for the voting machine used to approve a contribution"
        },
        "return": "a hash of the parameters"
      },
      "getPeriodsToPay(bytes32,address,uint256)": {
        "details": "getPeriodsToPay return the periods left to be paid for reputation,nativeToken,ether or externalToken. The function ignore the reward amount to be paid (which can be zero).",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine",
          "_redeemType": "- the type of the reward  :        0 - reputation        1 - nativeTokenReward        2 - Ether        3 - ExternalToken"
        },
        "return": "periods left to be paid."
      },
      "getRedeemedPeriods(bytes32,address,uint256)": {
        "details": "getRedeemedPeriods return the already redeemed periods for reputation, nativeToken, ether or externalToken.",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine",
          "_redeemType": "- the type of the reward  :        0 - reputation        1 - nativeTokenReward        2 - Ether        3 - ExternalToken"
        },
        "return": "redeemed period."
      },
      "proposeContributionReward(address,string,int256,uint256[5],address,address)": {
        "details": "Submit a proposal for a reward for a contribution:",
        "params": {
          "_avatar": "Avatar of the organization that the contribution was made for",
          "_beneficiary": "Who gets the rewards",
          "_descriptionHash": "A hash of the proposal's description",
          "_externalToken": "Address of external token, if reward is requested there",
          "_reputationChange": "- Amount of reputation change requested .Can be negative.",
          "_rewards": "rewards array:        rewards[0] - Amount of tokens requested per period        rewards[1] - Amount of ETH requested per period        rewards[2] - Amount of external tokens requested per period        rewards[3] - Period length - if set to zero it allows immediate redeeming after execution.        rewards[4] - Number of periods"
        }
      },
      "redeem(bytes32,address,bool[4])": {
        "details": "redeem rewards for proposal",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine",
          "_whatToRedeem": "whatToRedeem array:        whatToRedeem[0] - reputation        whatToRedeem[1] - nativeTokenReward        whatToRedeem[2] - Ether        whatToRedeem[3] - ExternalToken"
        },
        "return": "result boolean array for each redeem type."
      },
      "redeemEther(bytes32,address)": {
        "details": "RedeemEther reward for proposal",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine"
        },
        "return": "amount ether redeemed amount"
      },
      "redeemExternalToken(bytes32,address)": {
        "details": "RedeemNativeToken reward for proposal",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine"
        },
        "return": "amount the external token redeemed amount"
      },
      "redeemNativeToken(bytes32,address)": {
        "details": "RedeemNativeToken reward for proposal",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine"
        },
        "return": "amount the redeemed nativeToken."
      },
      "redeemReputation(bytes32,address)": {
        "details": "RedeemReputation reward for proposal",
        "params": {
          "_avatar": "address of the controller",
          "_proposalId": "the ID of the voting in the voting machine"
        },
        "return": "reputation the redeemed reputation."
      },
      "setParameters(bytes32,address)": {
        "details": "hash the parameters, save them if necessary, and return the hash value"
      }
    },
    "title": "A scheme for proposing and rewarding contributions to an organization"
  },
  "userdoc": {
    "methods": {}
  }
}