{
  "contractName": "LockingToken4Reputation",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "redeemEnableTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "priceOracleContract",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingStartTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalLocked",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "avatar",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getAgreementHash",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "name": "scores",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "lockers",
      "outputs": [
        {
          "name": "amount",
          "type": "uint256"
        },
        {
          "name": "releaseTime",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "name": "redeem",
      "outputs": [
        {
          "name": "reputation",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingEndTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "reputationRewardLeft",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "maxLockingPeriod",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalScore",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingsCounter",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalLockedLeft",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "lockedTokens",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "reputationReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_token",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_numerator",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_denominator",
          "type": "uint256"
        }
      ],
      "name": "LockToken",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Redeem",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Release",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_locker",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_period",
          "type": "uint256"
        }
      ],
      "name": "Lock",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_reputationReward",
          "type": "uint256"
        },
        {
          "name": "_lockingStartTime",
          "type": "uint256"
        },
        {
          "name": "_lockingEndTime",
          "type": "uint256"
        },
        {
          "name": "_redeemEnableTime",
          "type": "uint256"
        },
        {
          "name": "_maxLockingPeriod",
          "type": "uint256"
        },
        {
          "name": "_priceOracleContract",
          "type": "address"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_lockingId",
          "type": "bytes32"
        }
      ],
      "name": "release",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_period",
          "type": "uint256"
        },
        {
          "name": "_token",
          "type": "address"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "lock",
      "outputs": [
        {
          "name": "lockingId",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"redeemEnableTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"priceOracleContract\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingStartTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalLocked\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"avatar\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAgreementHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"scores\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_reputationReward\",\"type\":\"uint256\"},{\"name\":\"_lockingStartTime\",\"type\":\"uint256\"},{\"name\":\"_lockingEndTime\",\"type\":\"uint256\"},{\"name\":\"_redeemEnableTime\",\"type\":\"uint256\"},{\"name\":\"_maxLockingPeriod\",\"type\":\"uint256\"},{\"name\":\"_priceOracleContract\",\"type\":\"address\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"lockers\",\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"releaseTime\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_period\",\"type\":\"uint256\"},{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"lock\",\"outputs\":[{\"name\":\"lockingId\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_beneficiary\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"name\":\"reputation\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingEndTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reputationRewardLeft\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxLockingPeriod\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalScore\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingsCounter\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalLockedLeft\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_lockingId\",\"type\":\"bytes32\"}],\"name\":\"release\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"lockedTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reputationReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_numerator\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_denominator\",\"type\":\"uint256\"}],\"name\":\"LockToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Release\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_locker\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"getAgreementHash()\":{\"details\":\"getAgreementHash\",\"return\":\"bytes32 agreementHash\"},\"initialize(address,uint256,uint256,uint256,uint256,uint256,address,bytes32)\":{\"details\":\"initialize\",\"params\":{\"_avatar\":\"the avatar to mint reputation from\",\"_lockingEndTime\":\"the locking end time.       locking is disable after this time.\",\"_lockingStartTime\":\"locking starting period time.\",\"_maxLockingPeriod\":\"maximum locking period allowed.\",\"_priceOracleContract\":\"the price oracle contract which the locked token will be       validated against\",\"_redeemEnableTime\":\"redeem enable time .       redeem reputation can be done after this time.\",\"_reputationReward\":\"the total reputation this contract will reward       for the token locking\"}},\"lock(uint256,uint256,address,bytes32)\":{\"details\":\"lock function\",\"params\":{\"_amount\":\"the amount to lock\",\"_period\":\"the locking period\",\"_token\":\"the token to lock - this should be whitelisted at the priceOracleContract\"},\"return\":\"lockingId\"},\"redeem(address)\":{\"details\":\"redeem reputation function\",\"params\":{\"_beneficiary\":\"the beneficiary for the release\"},\"return\":\"uint256 reputation rewarded\"},\"release(address,bytes32)\":{\"details\":\"release locked tokens\",\"params\":{\"_beneficiary\":\"the release _beneficiary\",\"_lockingId\":\"the locking id\"},\"return\":\"bool\"}},\"title\":\"A scheme for locking ERC20 Tokens for reputation\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/schemes/LockingToken4Reputation.sol\":\"LockingToken4Reputation\"},\"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/schemes/Agreement.sol\":{\"keccak256\":\"0x5c5aae71ecbfc3125cb33d1e5780b0bb9df6e3fabf2c03def44dba2f2375ec8a\",\"urls\":[\"bzzr://484e0d67ab6c9f595e179cc0fda53ef637481570734fa7c7594e5bd5337dafde\"]},\"@daostack/arc/contracts/schemes/Locking4Reputation.sol\":{\"keccak256\":\"0xce05abc1a346f699aa205e9518bdc7865bb16629f185d9f83afb0a1d59f46c1c\",\"urls\":[\"bzzr://bca474bb2c3f8e7796e8e4ad4d50d984953c1a05b90b3fc566421845d6d0751a\"]},\"@daostack/arc/contracts/schemes/LockingToken4Reputation.sol\":{\"keccak256\":\"0x9fabc40bb58d44b80b102a31d36319689f5a5f19e76ea25630f8873cee9323ed\",\"urls\":[\"bzzr://a0f8d88e7c7fd351b1577754ae0bf4c1f005658e46ab78efaa1f35085176996e\"]},\"@daostack/arc/contracts/schemes/PriceOracleInterface.sol\":{\"keccak256\":\"0x0531014cc310da00e99acc23d4df65be92d2505b2fb83c058aa957d3edc3e185\",\"urls\":[\"bzzr://e283ff282fb045889bd8895f9384c6f51a082c0b07739c31f1601f9fe41b8ac1\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"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": "0x608060405234801561001057600080fd5b5061169c806100206000396000f3fe608060405234801561001057600080fd5b5060043610610149576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100ca578063c3201add1161008e578063c3201add146102ea578063c348a24b146102f2578063d7c2eec7146102fa578063e8d335881461033a578063ed1ff6d81461035757610149565b806395a2251f146102a4578063a8c33017146102ca578063afe0e33c146102d2578063bf0df445146102da578063c006719f146102e257610149565b8063696da92111610111578063696da921146101a457806376dd110f146101ac5780637ad88799146101d2578063838057421461022757806394d0cb6e1461026c57610149565b80633d1678f41461014e578063457454db1461016857806355bfec881461018c57806356891412146101945780635aef7de61461019c575b600080fd5b61015661035f565b60408051918252519081900360200190f35b610170610365565b60408051600160a060020a039092168252519081900360200190f35b610156610374565b61015661037a565b610170610380565b61015661038f565b610156600480360360208110156101c257600080fd5b5035600160a060020a0316610395565b61022560048036036101008110156101e957600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c0820135169060e001356103a7565b005b6102536004803603604081101561023d57600080fd5b50600160a060020a0381351690602001356103e8565b6040805192835260208301919091528051918290030190f35b6101566004803603608081101561028257600080fd5b50803590602081013590600160a060020a03604082013516906060013561040c565b610156600480360360208110156102ba57600080fd5b5035600160a060020a0316610606565b6101566108fe565b610156610904565b61015661090a565b610156610910565b610156610916565b61015661091c565b6103266004803603604081101561031057600080fd5b50600160a060020a038135169060200135610922565b604080519115158252519081900360200190f35b6101706004803603602081101561035057600080fd5b5035610967565b610156610982565b600d5481565b600e54600160a060020a031681565b600c5481565b60045481565b600154600160a060020a031681565b60005490565b60036020526000908152604090205481565b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790556103de88888888888887610988565b5050505050505050565b60026020908152600092835260408084209091529082529020805460019091015482565b600e54604080517f41976e09000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015282516000948594859493909116926341976e099260248083019392829003018186803b15801561047557600080fd5b505afa158015610489573d6000803e3d6000fd5b505050506040513d604081101561049f57600080fd5b508051602090910151909250905060008211610505576040805160e560020a62461bcd02815260206004820152601760248201527f6e756d657261746f722073686f756c64206265203e2030000000000000000000604482015290519081900360640190fd5b6000811161055d576040805160e560020a62461bcd02815260206004820152601960248201527f64656e6f6d696e61746f722073686f756c64206265203e203000000000000000604482015290519081900360640190fd5b610578600160a060020a03861633308a63ffffffff610b2416565b610586878733858589610d1c565b6000818152600f6020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a16908117909155825186815291820185905282519396509286927f09ae2accb7909b2605e5e74e2584c7f5aa396bc6ab76290633ae3819ff650e9f928290030190a35050949350505050565b600d546000904211610662576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812054116106d0576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061070590839063ffffffff61112e16565b905061071c6006548261116090919063ffffffff16565b600954909350610732908463ffffffff61118416565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b15801561079357600080fd5b505afa1580156107a7573d6000803e3d6000fd5b505050506040513d60208110156107bd57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561083657600080fd5b505af115801561084a573d6000803e3d6000fd5b505050506040513d602081101561086057600080fd5b505115156108b8576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061092f8484611199565b6000848152600f602052604090205490915061095b90600160a060020a0316858363ffffffff6112d516565b60019150505b92915050565b600f60205260009081526040902054600160a060020a031681565b60085481565b600154600160a060020a0316156109e9576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610a49576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610a8a5760405160e560020a62461bcd02815260040180806020018281038252603a8152602001806115c1603a913960400191505060405180910390fd5b83831015610acc5760405160e560020a62461bcd02815260040180806020018281038252602281526020018061164f6022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d839055610b1b816114cc565b50505050505050565b610b3684600160a060020a0316611529565b1515610b4157600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161154460259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610c1c5780518252601f199092019160209182019101610bfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c7e576040519150601f19603f3d011682016040523d82523d6000602084013e610c83565b606091505b5091509150811515610c9457600080fd5b80511580610d09575080516020148015610d09575080601f815181101515610cb857fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610d1457600080fd5b505050505050565b6000805482908114610d625760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115fb6028913960400191505060405180910390fd5b60008811610dba576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b54871115610dfe5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611623602c913960400191505060405180910390fd5b60008711610e56576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a54421115610e9a5760405160e560020a62461bcd0281526004018080602001828103825260308152602001806115916030913960400191505060405180910390fd5b600c54421015610ede5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115696028913960400191505060405180910390fd5b600754604080516c010000000000000000000000003002602080830191909152603480830185905283518084039091018152605490920190925280519101209250610f3090600163ffffffff61153116565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610f74908a63ffffffff61153116565b600455600554610f8a908a63ffffffff61153116565b6005556000610fbf86610fb389610fa78d8f63ffffffff61112e16565b9063ffffffff61112e16565b9063ffffffff61116016565b905060008111611019576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054611042908263ffffffff61153116565b600160a060020a03891660009081526003602052604090208190556008549081810281151561106d57fe5b04146110c3576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b6006546110d6908263ffffffff61153116565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600082151561113f57506000610961565b82820282848281151561114e57fe5b041461115957600080fd5b9392505050565b600080821161116e57600080fd5b6000828481151561117b57fe5b04949350505050565b60008282111561119357600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210611214576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211611278576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b60055461128b908363ffffffff61118416565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6112e783600160a060020a0316611529565b15156112f257600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106113cd5780518252601f1990920191602091820191016113ae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b509150915081151561144557600080fd5b805115806114ba5750805160201480156114ba575080601f81518110151561146957fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b15156114c557600080fd5b5050505050565b60005415611524576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b1190565b60008282018381101561115957600080fdfe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536296c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a72305820700c38d2ff4531671e6c11bfdda9abc356a12ac34464ee8706df524200b2cbe10029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b5060043610610149576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100ca578063c3201add1161008e578063c3201add146102ea578063c348a24b146102f2578063d7c2eec7146102fa578063e8d335881461033a578063ed1ff6d81461035757610149565b806395a2251f146102a4578063a8c33017146102ca578063afe0e33c146102d2578063bf0df445146102da578063c006719f146102e257610149565b8063696da92111610111578063696da921146101a457806376dd110f146101ac5780637ad88799146101d2578063838057421461022757806394d0cb6e1461026c57610149565b80633d1678f41461014e578063457454db1461016857806355bfec881461018c57806356891412146101945780635aef7de61461019c575b600080fd5b61015661035f565b60408051918252519081900360200190f35b610170610365565b60408051600160a060020a039092168252519081900360200190f35b610156610374565b61015661037a565b610170610380565b61015661038f565b610156600480360360208110156101c257600080fd5b5035600160a060020a0316610395565b61022560048036036101008110156101e957600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c0820135169060e001356103a7565b005b6102536004803603604081101561023d57600080fd5b50600160a060020a0381351690602001356103e8565b6040805192835260208301919091528051918290030190f35b6101566004803603608081101561028257600080fd5b50803590602081013590600160a060020a03604082013516906060013561040c565b610156600480360360208110156102ba57600080fd5b5035600160a060020a0316610606565b6101566108fe565b610156610904565b61015661090a565b610156610910565b610156610916565b61015661091c565b6103266004803603604081101561031057600080fd5b50600160a060020a038135169060200135610922565b604080519115158252519081900360200190f35b6101706004803603602081101561035057600080fd5b5035610967565b610156610982565b600d5481565b600e54600160a060020a031681565b600c5481565b60045481565b600154600160a060020a031681565b60005490565b60036020526000908152604090205481565b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790556103de88888888888887610988565b5050505050505050565b60026020908152600092835260408084209091529082529020805460019091015482565b600e54604080517f41976e09000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015282516000948594859493909116926341976e099260248083019392829003018186803b15801561047557600080fd5b505afa158015610489573d6000803e3d6000fd5b505050506040513d604081101561049f57600080fd5b508051602090910151909250905060008211610505576040805160e560020a62461bcd02815260206004820152601760248201527f6e756d657261746f722073686f756c64206265203e2030000000000000000000604482015290519081900360640190fd5b6000811161055d576040805160e560020a62461bcd02815260206004820152601960248201527f64656e6f6d696e61746f722073686f756c64206265203e203000000000000000604482015290519081900360640190fd5b610578600160a060020a03861633308a63ffffffff610b2416565b610586878733858589610d1c565b6000818152600f6020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a16908117909155825186815291820185905282519396509286927f09ae2accb7909b2605e5e74e2584c7f5aa396bc6ab76290633ae3819ff650e9f928290030190a35050949350505050565b600d546000904211610662576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812054116106d0576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061070590839063ffffffff61112e16565b905061071c6006548261116090919063ffffffff16565b600954909350610732908463ffffffff61118416565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b15801561079357600080fd5b505afa1580156107a7573d6000803e3d6000fd5b505050506040513d60208110156107bd57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561083657600080fd5b505af115801561084a573d6000803e3d6000fd5b505050506040513d602081101561086057600080fd5b505115156108b8576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061092f8484611199565b6000848152600f602052604090205490915061095b90600160a060020a0316858363ffffffff6112d516565b60019150505b92915050565b600f60205260009081526040902054600160a060020a031681565b60085481565b600154600160a060020a0316156109e9576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610a49576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610a8a5760405160e560020a62461bcd02815260040180806020018281038252603a8152602001806115c1603a913960400191505060405180910390fd5b83831015610acc5760405160e560020a62461bcd02815260040180806020018281038252602281526020018061164f6022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d839055610b1b816114cc565b50505050505050565b610b3684600160a060020a0316611529565b1515610b4157600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161154460259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610c1c5780518252601f199092019160209182019101610bfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c7e576040519150601f19603f3d011682016040523d82523d6000602084013e610c83565b606091505b5091509150811515610c9457600080fd5b80511580610d09575080516020148015610d09575080601f815181101515610cb857fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610d1457600080fd5b505050505050565b6000805482908114610d625760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115fb6028913960400191505060405180910390fd5b60008811610dba576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b54871115610dfe5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611623602c913960400191505060405180910390fd5b60008711610e56576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a54421115610e9a5760405160e560020a62461bcd0281526004018080602001828103825260308152602001806115916030913960400191505060405180910390fd5b600c54421015610ede5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115696028913960400191505060405180910390fd5b600754604080516c010000000000000000000000003002602080830191909152603480830185905283518084039091018152605490920190925280519101209250610f3090600163ffffffff61153116565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610f74908a63ffffffff61153116565b600455600554610f8a908a63ffffffff61153116565b6005556000610fbf86610fb389610fa78d8f63ffffffff61112e16565b9063ffffffff61112e16565b9063ffffffff61116016565b905060008111611019576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054611042908263ffffffff61153116565b600160a060020a03891660009081526003602052604090208190556008549081810281151561106d57fe5b04146110c3576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b6006546110d6908263ffffffff61153116565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600082151561113f57506000610961565b82820282848281151561114e57fe5b041461115957600080fd5b9392505050565b600080821161116e57600080fd5b6000828481151561117b57fe5b04949350505050565b60008282111561119357600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210611214576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211611278576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b60055461128b908363ffffffff61118416565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6112e783600160a060020a0316611529565b15156112f257600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106113cd5780518252601f1990920191602091820191016113ae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b509150915081151561144557600080fd5b805115806114ba5750805160201480156114ba575080601f81518110151561146957fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b15156114c557600080fd5b5050505050565b60005415611524576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b1190565b60008282018381101561115957600080fdfe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536296c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a72305820700c38d2ff4531671e6c11bfdda9abc356a12ac34464ee8706df524200b2cbe10029",
  "sourceMap": "199:2968:33:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;199:2968:33;;;;;;;",
  "deployedSourceMap": "199:2968:33:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;199:2968:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1165:31:31;;;:::i;:::-;;;;;;;;;;;;;;;;294:47:33;;;:::i;:::-;;;;-1:-1:-1;;;;;294:47:33;;;;;;;;;;;;;;1128:31:31;;;:::i;815:26::-;;;:::i;560:20::-;;;:::i;407:101:27:-;;;:::i;770:38:31:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;770:38:31;-1:-1:-1;;;;;770:38:31;;:::i;1227:579:33:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1227:579:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;648:59:31;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;648:59:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2469:696:33;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;2469:696:33;;;;;;;;-1:-1:-1;;;;;2469:696:33;;;;;;;;;;:::i;1360:807:31:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1360:807:31;-1:-1:-1;;;;;1360:807:31;;:::i;1056:29::-;;;:::i;1015:35::-;;;:::i;1091:31::-;;;:::i;883:25::-;;;:::i;914:30::-;;;:::i;847:::-;;;:::i;1974:245:33:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1974:245:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;378:49;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;378:49:33;;:::i;978:31:31:-;;;:::i;1165:::-;;;;:::o;294:47:33:-;;;-1:-1:-1;;;;;294:47:33;;:::o;1128:31:31:-;;;;:::o;815:26::-;;;;:::o;560:20::-;;;-1:-1:-1;;;;;560:20:31;;:::o;407:101:27:-;458:7;488:13;407:101;:::o;770:38:31:-;;;;;;;;;;;;;:::o;1227:579:33:-;1555:19;:42;;-1:-1:-1;;1555:42:33;-1:-1:-1;;;;;1555:42:33;;;;;1607:192;1634:7;1651:17;1678;1705:15;1730:17;1757;1784:14;1607:17;:192::i;:::-;1227:579;;;;;;;;:::o;648:59:31:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2469:696:33:-;2714:19;;:36;;;;;;-1:-1:-1;;;;;2714:36:33;;;;;;;;;2600:17;;;;;;2714:19;;;;;:28;;:36;;;;;;;;;;;:19;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;2714:36:33;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2714:36:33;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2714:36:33;;;;;;;;;-1:-1:-1;2714:36:33;-1:-1:-1;2781:1:33;2769:13;;2761:49;;;;;-1:-1:-1;;;;;2761:49:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:1;2828:15;;2820:53;;;;;-1:-1:-1;;;;;2820:53:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;2884:59;-1:-1:-1;;;;;2884:23:33;;2908:10;2928:4;2935:7;2884:59;:23;:59;:::i;:::-;2966:81;2978:7;2987;2996:10;3008:9;3019:11;3032:14;2966:11;:81::i;:::-;3058:23;;;;:12;:23;;;;;;;;;:32;;-1:-1:-1;;3058:32:33;-1:-1:-1;;;;;3058:32:33;;;;;;;;3106:52;;;;;;;;;;;;;3058:23;;-1:-1:-1;3058:32:33;:23;;3106:52;;;;;;;;2469:696;;;;;;;;:::o;1360:807:31:-;1523:16;;1413:18;;1505:15;:34;1497:69;;;;;-1:-1:-1;;;;;1497:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1584:20:31;;1607:1;1584:20;;;:6;:20;;;;;;:24;1576:56;;;;;-1:-1:-1;;;;;1576:56:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1658:20:31;;1642:13;1658:20;;;:6;:20;;;;;;;1688:24;;;;1754:16;;1658:20;;1642:13;1744:27;;1658:20;;1744:27;:9;:27;:::i;:::-;1722:49;;1794:27;1810:10;;1794:11;:15;;:27;;;;:::i;:::-;1903:20;;1781:40;;-1:-1:-1;1903:36:31;;1781:40;1903:36;:24;:36;:::i;:::-;1880:20;:59;1995:6;;:14;;;;;;;;-1:-1:-1;;;;;1995:6:31;;;;:12;;:14;;;;;;;;;;;;;;;:6;:14;;;5:2:-1;;;;30:1;27;20:12;5:2;1995:14:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1995:14:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1995:14:31;2069:6;;1966:111;;;;;;;;;;;;-1:-1:-1;;;;;1966:111:31;;;;;;;2069:6;;;1966:111;;;;;;:68;;;;;;;:111;;;;;1995:14;;1966:111;;;;;;;2069:6;1966:68;:111;;;5:2:-1;;;;30:1;27;20:12;5:2;1966:111:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1966:111:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1966:111:31;1949:163;;;;;;;-1:-1:-1;;;;;1949:163:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2128:32;;;;;;;;-1:-1:-1;;;;;2128:32:31;;;;;;;;;;;;;1360:807;;;;;:::o;1056:29::-;;;;:::o;1015:35::-;;;;:::o;1091:31::-;;;;:::o;883:25::-;;;;:::o;914:30::-;;;;:::o;847:::-;;;;:::o;1974:245:33:-;2048:4;2064:14;2081:40;2096:12;2110:10;2081:14;:40::i;:::-;2131:24;;;;:12;:24;;;;;;2064:57;;-1:-1:-1;2131:59:33;;-1:-1:-1;;;;;2131:24:33;2169:12;2064:57;2131:59;:37;:59;:::i;:::-;2208:4;2201:11;;;1974:245;;;;;:::o;378:49::-;;;;;;;;;;;;-1:-1:-1;;;;;378:49:33;;:::o;978:31:31:-;;;;:::o;5396:969::-;5683:6;;-1:-1:-1;;;;;5683:6:31;:19;5675:59;;;;;-1:-1:-1;;;;;5675:59:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5752:20:31;;;;5744:54;;;;;-1:-1:-1;;;;;5744:54:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;5816:35;;;5808:106;;;;-1:-1:-1;;;;;5808:106:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5932:36;;;;5924:83;;;;-1:-1:-1;;;;;5924:83:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6018:16;:36;;;6064:20;:40;;;6114:14;:32;;;6156:16;:36;;;6202:6;:16;;-1:-1:-1;;6202:16:31;-1:-1:-1;;;;;6202:16:31;;;;;6228;:36;;;6274:16;:36;;;6320:38;6343:14;6320:22;:38::i;:::-;5396:969;;;;;;;:::o;1566:597:26:-;1726:23;:10;-1:-1:-1;;;;;1726:21:26;;:23::i;:::-;1718:32;;;;;;;;1762:12;1776:24;1871:10;-1:-1:-1;;;;;1871:15:26;837:46;;;;;;;;;;;;;;;;;;827:57;;;;;;;1887:65;;;-1:-1:-1;;;;;1887:65:26;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;1887:65:26;;;;;;25:18:-1;;;61:17;;1887:65:26;182:15:-1;1887:65:26;;;;179:29:-1;;;;160:49;;1871:82:26;;;;;;;;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1871:82:26;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;1761:192:26;;;;2021:7;2013:16;;;;;;;;2076:18;;:23;;:79;;;2104:11;:18;2126:2;2104:24;:50;;;;;2133:11;2145:2;2133:15;;;;;;;;;;;;;;;;;;;;;:20;;;;2104:50;2068:88;;;;;;;;1566:597;;;;;;:::o;3159:1683:31:-;3407:17;243:13:27;;3375:14:31;;225:31:27;;217:84;;;;-1:-1:-1;;;;;217:84:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3462:1:31;3452:11;;3444:52;;;;;-1:-1:-1;;;;;3444:52:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;3525:16;;3514:27;;;3506:84;;;;-1:-1:-1;;;;;3506:84:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3618:1;3608:11;;3600:52;;;;;-1:-1:-1;;;;;3600:52:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;3731:14;;3724:3;:21;;3716:82;;;;-1:-1:-1;;;;;3716:82:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3877:16;;3870:3;:23;;3862:76;;;;-1:-1:-1;;;;;3862:76:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4003:15;;3971:48;;;;3996:4;3971:48;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;3971:48:31;;;;;;;3961:59;;;;;;-1:-1:-1;4048:22:31;;4068:1;4048:22;:19;:22;:::i;:::-;4030:15;:40;-1:-1:-1;;;;;4105:16:31;;4081:21;4105:16;;;:7;:16;;;;;;;;:27;;;;;;;;4142:23;;;4250:3;:13;;4229:18;;;:34;4287:11;;:24;;4158:7;4287:24;:15;:24;:::i;:::-;4273:11;:38;4339:15;;:28;;4359:7;4339:28;:19;:28;:::i;:::-;4321:15;:46;4377:13;4393:54;4434:12;4393:36;4418:10;4393:20;:7;4405;4393:20;:11;:20;:::i;:::-;:24;:36;:24;:36;:::i;:::-;:40;:54;:40;:54;:::i;:::-;4377:70;-1:-1:-1;4473:1:31;4465:9;;4457:39;;;;;-1:-1:-1;;;;;4457:39:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4524:15:31;;;;;;:6;:15;;;;;;:26;;4544:5;4524:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;4506:15:31;;;;;;:6;:15;;;;;:44;;;4687:16;;;4632:34;;;4631:52;;;;;;;;:72;4623:110;;;;;-1:-1:-1;;;;;4623:110:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;4756:10;;:21;;4771:5;4756:21;:14;:21;:::i;:::-;4743:10;:34;4793:42;;;;;;;;;;;;;;4807:9;;-1:-1:-1;;;;;4793:42:31;;;;;;;;;;;;;;311:1:27;;3159:1683:31;;;;;;;;;:::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;;;;;;642:1;229:421;-1:-1:-1;;;229:421:87:o;778:296::-;836:7;929:5;;;921:14;;;;;;945:9;961:1;957;:5;;;;;;;;;778:296;-1:-1:-1;;;;778:296:87:o;1205:145::-;1263:7;1290:6;;;;1282:15;;;;;;-1:-1:-1;1319:5:87;;;1205:145::o;2348:537:31:-;-1:-1:-1;;;;;2475:21:31;;2425:14;2475:21;;;:7;:21;;;;;;;;:33;;;;;;;;2526:13;;:17;-1:-1:-1;2518:50:31;;;;;-1:-1:-1;;;;;2518:50:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2587:13;;;2610:17;;-1:-1:-1;2717:18:31;;;2587:13;;-1:-1:-1;2699:15:31;:36;2691:75;;;;;-1:-1:-1;;;;;2691:75:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2794:15;;:27;;2814:6;2794:27;:19;:27;:::i;:::-;2776:15;:45;2837:41;;;;;;;;-1:-1:-1;;;;;2837:41:31;;;2845:10;;2837:41;;;;;;;;;2348:537;;;;;:::o;993:567:26:-;1134:23;:10;-1:-1:-1;;;;;1134:21:26;;:23::i;:::-;1126:32;;;;;;;;730:34;;;;;;;;;;;;;;;;;1295:54;;-1:-1:-1;;;;;1295:54:26;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;1295:54:26;;;;;;25:18:-1;;;61:17;;1295:54:26;182:15:-1;1295:54:26;179:29:-1;160:49;;1279:71:26;;;;1170:12;;1184:24;;1279:15;;;1295:54;1279:71;;;25:18:-1;1279:71:26;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1279:71:26;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;1169:181:26;;;;1418:7;1410:16;;;;;;;;1473:18;;:23;;:79;;;1501:11;:18;1523:2;1501:24;:50;;;;;1530:11;1542:2;1530:15;;;;;;;;;;;;;;;;;;;;;:20;;;;1501:50;1465:88;;;;;;;;993:567;;;;;:::o;658:187:27:-;764:1;739:13;:27;731:67;;;;;-1:-1:-1;;;;;731:67:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;808:13;:30;658:187::o;463:616:93:-;523:4;1026:20;;1064:8;;463:616::o;1431:145:87:-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;",
  "source": "pragma solidity ^0.5.4;\n\nimport \"./Locking4Reputation.sol\";\nimport \"./PriceOracleInterface.sol\";\nimport \"../libs/SafeERC20.sol\";\n\n\n/**\n * @title A scheme for locking ERC20 Tokens for reputation\n */\n\ncontract LockingToken4Reputation is Locking4Reputation {\n    using SafeERC20 for address;\n\n    PriceOracleInterface public priceOracleContract;\n    //      lockingId => token\n    mapping(bytes32   => address) public lockedTokens;\n\n    event LockToken(bytes32 indexed _lockingId, address indexed _token, uint256 _numerator, uint256 _denominator);\n\n    /**\n     * @dev initialize\n     * @param _avatar the avatar to mint reputation from\n     * @param _reputationReward the total reputation this contract will reward\n     *        for the token locking\n     * @param _lockingStartTime locking starting period time.\n     * @param _lockingEndTime the locking end time.\n     *        locking is disable after this time.\n     * @param _redeemEnableTime redeem enable time .\n     *        redeem reputation can be done after this time.\n     * @param _maxLockingPeriod maximum locking period allowed.\n     * @param _priceOracleContract the price oracle contract which the locked token will be\n     *        validated against\n     */\n    function initialize(\n        Avatar _avatar,\n        uint256 _reputationReward,\n        uint256 _lockingStartTime,\n        uint256 _lockingEndTime,\n        uint256 _redeemEnableTime,\n        uint256 _maxLockingPeriod,\n        PriceOracleInterface _priceOracleContract,\n        bytes32 _agreementHash)\n    external\n    {\n        priceOracleContract = _priceOracleContract;\n        super._initialize(\n        _avatar,\n        _reputationReward,\n        _lockingStartTime,\n        _lockingEndTime,\n        _redeemEnableTime,\n        _maxLockingPeriod,\n        _agreementHash);\n    }\n\n    /**\n     * @dev release locked tokens\n     * @param _beneficiary the release _beneficiary\n     * @param _lockingId the locking id\n     * @return bool\n     */\n    function release(address _beneficiary, bytes32 _lockingId) public returns(bool) {\n        uint256 amount = super._release(_beneficiary, _lockingId);\n        lockedTokens[_lockingId].safeTransfer(_beneficiary, amount);\n\n        return true;\n    }\n\n    /**\n     * @dev lock function\n     * @param _amount the amount to lock\n     * @param _period the locking period\n     * @param _token the token to lock - this should be whitelisted at the priceOracleContract\n     * @return lockingId\n     */\n    function lock(uint256 _amount,\n        uint256 _period,\n        address _token,\n        bytes32 _agreementHash)\n    public returns(bytes32 lockingId) {\n\n        uint256 numerator;\n        uint256 denominator;\n\n        (numerator, denominator) = priceOracleContract.getPrice(_token);\n\n        require(numerator > 0, \"numerator should be > 0\");\n        require(denominator > 0, \"denominator should be > 0\");\n\n        _token.safeTransferFrom(msg.sender, address(this), _amount);\n\n        lockingId = super._lock(_amount, _period, msg.sender, numerator, denominator, _agreementHash);\n\n        lockedTokens[lockingId] = _token;\n\n        emit LockToken(lockingId, _token, numerator, denominator);\n    }\n}\n",
  "sourcePath": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
    "exportedSymbols": {
      "LockingToken4Reputation": [
        5603
      ]
    },
    "id": 5604,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5434,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:33"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Locking4Reputation.sol",
        "file": "./Locking4Reputation.sol",
        "id": 5435,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 5349,
        "src": "25:34:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/PriceOracleInterface.sol",
        "file": "./PriceOracleInterface.sol",
        "id": 5436,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 5616,
        "src": "60:36:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/libs/SafeERC20.sol",
        "file": "../libs/SafeERC20.sol",
        "id": 5437,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 4030,
        "src": "97:31:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5438,
              "name": "Locking4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5348,
              "src": "235:18:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Locking4Reputation_$5348",
                "typeString": "contract Locking4Reputation"
              }
            },
            "id": 5439,
            "nodeType": "InheritanceSpecifier",
            "src": "235:18:33"
          }
        ],
        "contractDependencies": [
          4074,
          5348
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for locking ERC20 Tokens for reputation",
        "fullyImplemented": true,
        "id": 5603,
        "linearizedBaseContracts": [
          5603,
          5348,
          4074
        ],
        "name": "LockingToken4Reputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5442,
            "libraryName": {
              "contractScope": null,
              "id": 5440,
              "name": "SafeERC20",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 4029,
              "src": "266:9:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SafeERC20_$4029",
                "typeString": "library SafeERC20"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "260:28:33",
            "typeName": {
              "id": 5441,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "280:7:33",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            }
          },
          {
            "constant": false,
            "id": 5444,
            "name": "priceOracleContract",
            "nodeType": "VariableDeclaration",
            "scope": 5603,
            "src": "294:47:33",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
              "typeString": "contract PriceOracleInterface"
            },
            "typeName": {
              "contractScope": null,
              "id": 5443,
              "name": "PriceOracleInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5615,
              "src": "294:20:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                "typeString": "contract PriceOracleInterface"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5448,
            "name": "lockedTokens",
            "nodeType": "VariableDeclaration",
            "scope": 5603,
            "src": "378:49:33",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
              "typeString": "mapping(bytes32 => address)"
            },
            "typeName": {
              "id": 5447,
              "keyType": {
                "id": 5445,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "386:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "378:29:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                "typeString": "mapping(bytes32 => address)"
              },
              "valueType": {
                "id": 5446,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "399:7:33",
                "stateMutability": "nonpayable",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5458,
            "name": "LockToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5457,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5450,
                  "indexed": true,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "450:26:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5449,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "450:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5452,
                  "indexed": true,
                  "name": "_token",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "478:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5451,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "478:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5454,
                  "indexed": false,
                  "name": "_numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "502:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5453,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "502:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5456,
                  "indexed": false,
                  "name": "_denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "522:20:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5455,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "522:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "449:94:33"
            },
            "src": "434:110:33"
          },
          {
            "body": {
              "id": 5493,
              "nodeType": "Block",
              "src": "1545:261:33",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5479,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 5477,
                      "name": "priceOracleContract",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5444,
                      "src": "1555:19:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                        "typeString": "contract PriceOracleInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5478,
                      "name": "_priceOracleContract",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5472,
                      "src": "1577:20:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                        "typeString": "contract PriceOracleInterface"
                      }
                    },
                    "src": "1555:42:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                      "typeString": "contract PriceOracleInterface"
                    }
                  },
                  "id": 5480,
                  "nodeType": "ExpressionStatement",
                  "src": "1555:42:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5484,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5460,
                        "src": "1634:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5485,
                        "name": "_reputationReward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5462,
                        "src": "1651:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5486,
                        "name": "_lockingStartTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5464,
                        "src": "1678:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5487,
                        "name": "_lockingEndTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5466,
                        "src": "1705:15:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5488,
                        "name": "_redeemEnableTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5468,
                        "src": "1730:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5489,
                        "name": "_maxLockingPeriod",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5470,
                        "src": "1757:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5490,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5474,
                        "src": "1784:14:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5481,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23887,
                        "src": "1607:5:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                          "typeString": "contract super LockingToken4Reputation"
                        }
                      },
                      "id": 5483,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5347,
                      "src": "1607:17:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_Avatar_$2010_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$returns$__$",
                        "typeString": "function (contract Avatar,uint256,uint256,uint256,uint256,uint256,bytes32)"
                      }
                    },
                    "id": 5491,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1607:192:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5492,
                  "nodeType": "ExpressionStatement",
                  "src": "1607:192:33"
                }
              ]
            },
            "documentation": "@dev initialize\n@param _avatar the avatar to mint reputation from\n@param _reputationReward the total reputation this contract will reward\n       for the token locking\n@param _lockingStartTime locking starting period time.\n@param _lockingEndTime the locking end time.\n       locking is disable after this time.\n@param _redeemEnableTime redeem enable time .\n       redeem reputation can be done after this time.\n@param _maxLockingPeriod maximum locking period allowed.\n@param _priceOracleContract the price oracle contract which the locked token will be\n       validated against",
            "id": 5494,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5475,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5460,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1256:14:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5459,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "1256:6:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5462,
                  "name": "_reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1280:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5461,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1280:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5464,
                  "name": "_lockingStartTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1315:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5463,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1315:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5466,
                  "name": "_lockingEndTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1350:23:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5465,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1350:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5468,
                  "name": "_redeemEnableTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1383:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5467,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1383:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5470,
                  "name": "_maxLockingPeriod",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1418:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5469,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1418:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5472,
                  "name": "_priceOracleContract",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1453:41:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                    "typeString": "contract PriceOracleInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5471,
                    "name": "PriceOracleInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 5615,
                    "src": "1453:20:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                      "typeString": "contract PriceOracleInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5474,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1504:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5473,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1504:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1246:281:33"
            },
            "returnParameters": {
              "id": 5476,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1545:0:33"
            },
            "scope": 5603,
            "src": "1227:579:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5521,
              "nodeType": "Block",
              "src": "2054:165:33",
              "statements": [
                {
                  "assignments": [
                    5504
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5504,
                      "name": "amount",
                      "nodeType": "VariableDeclaration",
                      "scope": 5521,
                      "src": "2064:14:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5503,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2064:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5510,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5507,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5496,
                        "src": "2096:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5508,
                        "name": "_lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5498,
                        "src": "2110:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5505,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23887,
                        "src": "2081:5:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                          "typeString": "contract super LockingToken4Reputation"
                        }
                      },
                      "id": 5506,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_release",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5091,
                      "src": "2081:14:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes32_$returns$_t_uint256_$",
                        "typeString": "function (address,bytes32) returns (uint256)"
                      }
                    },
                    "id": 5509,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2081:40:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2064:57:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5515,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5496,
                        "src": "2169:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5516,
                        "name": "amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5504,
                        "src": "2183:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5511,
                          "name": "lockedTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5448,
                          "src": "2131:12:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                            "typeString": "mapping(bytes32 => address)"
                          }
                        },
                        "id": 5513,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5512,
                          "name": "_lockingId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5498,
                          "src": "2144:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:24:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 5514,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "safeTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 3897,
                      "src": "2131:37:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$bound_to$_t_address_$",
                        "typeString": "function (address,address,uint256)"
                      }
                    },
                    "id": 5517,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2131:59:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5518,
                  "nodeType": "ExpressionStatement",
                  "src": "2131:59:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5519,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2208:4:33",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5502,
                  "id": 5520,
                  "nodeType": "Return",
                  "src": "2201:11:33"
                }
              ]
            },
            "documentation": "@dev release locked tokens\n@param _beneficiary the release _beneficiary\n@param _lockingId the locking id\n@return bool",
            "id": 5522,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "release",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5499,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5496,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "1991:20:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5495,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1991:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5498,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "2013:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5497,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2013:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1990:42:33"
            },
            "returnParameters": {
              "id": 5502,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5501,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "2048:4:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5500,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2048:4:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2047:6:33"
            },
            "scope": 5603,
            "src": "1974:245:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5601,
              "nodeType": "Block",
              "src": "2619:546:33",
              "statements": [
                {
                  "assignments": [
                    5536
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5536,
                      "name": "numerator",
                      "nodeType": "VariableDeclaration",
                      "scope": 5601,
                      "src": "2630:17:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5535,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2630:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5537,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2630:17:33"
                },
                {
                  "assignments": [
                    5539
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5539,
                      "name": "denominator",
                      "nodeType": "VariableDeclaration",
                      "scope": 5601,
                      "src": "2657:19:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5538,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2657:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5540,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2657:19:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5548,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "id": 5541,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "2688:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5542,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "2699:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "id": 5543,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "TupleExpression",
                      "src": "2687:24:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                        "typeString": "tuple(uint256,uint256)"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5546,
                          "name": "_token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5528,
                          "src": "2743:6:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 5544,
                          "name": "priceOracleContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5444,
                          "src": "2714:19:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                            "typeString": "contract PriceOracleInterface"
                          }
                        },
                        "id": 5545,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "getPrice",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5614,
                        "src": "2714:28:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$_t_uint256_$",
                          "typeString": "function (address) view external returns (uint256,uint256)"
                        }
                      },
                      "id": 5547,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2714:36:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                        "typeString": "tuple(uint256,uint256)"
                      }
                    },
                    "src": "2687:63:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5549,
                  "nodeType": "ExpressionStatement",
                  "src": "2687:63:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5553,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 5551,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "2769:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5552,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2781:1:33",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2769:13:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6e756d657261746f722073686f756c64206265203e2030",
                        "id": 5554,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2784:25:33",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_45af8ae7721513ccf517d5e85adacb3a23e8b58dfd8ac205eba8c8f098c757e8",
                          "typeString": "literal_string \"numerator should be > 0\""
                        },
                        "value": "numerator should be > 0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_45af8ae7721513ccf517d5e85adacb3a23e8b58dfd8ac205eba8c8f098c757e8",
                          "typeString": "literal_string \"numerator should be > 0\""
                        }
                      ],
                      "id": 5550,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "2761:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5555,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2761:49:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5556,
                  "nodeType": "ExpressionStatement",
                  "src": "2761:49:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5560,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 5558,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "2828:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5559,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2842:1:33",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2828:15:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "64656e6f6d696e61746f722073686f756c64206265203e2030",
                        "id": 5561,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2845:27:33",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_a4dd3ca4aa7c831663fdf97a30965ff2492a3d68871d6308196778df39939881",
                          "typeString": "literal_string \"denominator should be > 0\""
                        },
                        "value": "denominator should be > 0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_a4dd3ca4aa7c831663fdf97a30965ff2492a3d68871d6308196778df39939881",
                          "typeString": "literal_string \"denominator should be > 0\""
                        }
                      ],
                      "id": 5557,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "2820:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5562,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2820:53:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5563,
                  "nodeType": "ExpressionStatement",
                  "src": "2820:53:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5567,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "2908:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5568,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2908:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5570,
                            "name": "this",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23886,
                            "src": "2928:4:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                              "typeString": "contract LockingToken4Reputation"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                              "typeString": "contract LockingToken4Reputation"
                            }
                          ],
                          "id": 5569,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2920:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5571,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2920:13:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5572,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5524,
                        "src": "2935:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5564,
                        "name": "_token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5528,
                        "src": "2884:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 5566,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "safeTransferFrom",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 3954,
                      "src": "2884:23:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$bound_to$_t_address_$",
                        "typeString": "function (address,address,address,uint256)"
                      }
                    },
                    "id": 5573,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2884:59:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5574,
                  "nodeType": "ExpressionStatement",
                  "src": "2884:59:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5586,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 5575,
                      "name": "lockingId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5533,
                      "src": "2954:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5578,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5524,
                          "src": "2978:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5579,
                          "name": "_period",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5526,
                          "src": "2987:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 5580,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "2996:3:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 5581,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2996:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5582,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "3008:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5583,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "3019:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5584,
                          "name": "_agreementHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5530,
                          "src": "3032:14:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 5576,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23887,
                          "src": "2966:5:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                            "typeString": "contract super LockingToken4Reputation"
                          }
                        },
                        "id": 5577,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_lock",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5263,
                        "src": "2966:11:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes32_$returns$_t_bytes32_$",
                          "typeString": "function (uint256,uint256,address,uint256,uint256,bytes32) returns (bytes32)"
                        }
                      },
                      "id": 5585,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2966:81:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "2954:93:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 5587,
                  "nodeType": "ExpressionStatement",
                  "src": "2954:93:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5592,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 5588,
                        "name": "lockedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5448,
                        "src": "3058:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                          "typeString": "mapping(bytes32 => address)"
                        }
                      },
                      "id": 5590,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 5589,
                        "name": "lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5533,
                        "src": "3071:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "3058:23:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5591,
                      "name": "_token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5528,
                      "src": "3084:6:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "3058:32:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 5593,
                  "nodeType": "ExpressionStatement",
                  "src": "3058:32:33"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5595,
                        "name": "lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5533,
                        "src": "3116:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5596,
                        "name": "_token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5528,
                        "src": "3127:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5597,
                        "name": "numerator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5536,
                        "src": "3135:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5598,
                        "name": "denominator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5539,
                        "src": "3146:11:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 5594,
                      "name": "LockToken",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5458,
                      "src": "3106:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                        "typeString": "function (bytes32,address,uint256,uint256)"
                      }
                    },
                    "id": 5599,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3106:52:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5600,
                  "nodeType": "EmitStatement",
                  "src": "3101:57:33"
                }
              ]
            },
            "documentation": "@dev lock function\n@param _amount the amount to lock\n@param _period the locking period\n@param _token the token to lock - this should be whitelisted at the priceOracleContract\n@return lockingId",
            "id": 5602,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lock",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5531,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5524,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2483:15:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5523,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2483:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5526,
                  "name": "_period",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2508:15:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5525,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2508:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5528,
                  "name": "_token",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2533:14:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5527,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2533:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5530,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2557:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5529,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2557:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2482:98:33"
            },
            "returnParameters": {
              "id": 5534,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5533,
                  "name": "lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2600:17:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5532,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2600:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2599:19:33"
            },
            "scope": 5603,
            "src": "2469:696:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 5604,
        "src": "199:2968:33"
      }
    ],
    "src": "0:3168:33"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
    "exportedSymbols": {
      "LockingToken4Reputation": [
        5603
      ]
    },
    "id": 5604,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5434,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:33"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Locking4Reputation.sol",
        "file": "./Locking4Reputation.sol",
        "id": 5435,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 5349,
        "src": "25:34:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/PriceOracleInterface.sol",
        "file": "./PriceOracleInterface.sol",
        "id": 5436,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 5616,
        "src": "60:36:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@daostack/arc/contracts/libs/SafeERC20.sol",
        "file": "../libs/SafeERC20.sol",
        "id": 5437,
        "nodeType": "ImportDirective",
        "scope": 5604,
        "sourceUnit": 4030,
        "src": "97:31:33",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5438,
              "name": "Locking4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5348,
              "src": "235:18:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Locking4Reputation_$5348",
                "typeString": "contract Locking4Reputation"
              }
            },
            "id": 5439,
            "nodeType": "InheritanceSpecifier",
            "src": "235:18:33"
          }
        ],
        "contractDependencies": [
          4074,
          5348
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for locking ERC20 Tokens for reputation",
        "fullyImplemented": true,
        "id": 5603,
        "linearizedBaseContracts": [
          5603,
          5348,
          4074
        ],
        "name": "LockingToken4Reputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5442,
            "libraryName": {
              "contractScope": null,
              "id": 5440,
              "name": "SafeERC20",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 4029,
              "src": "266:9:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_SafeERC20_$4029",
                "typeString": "library SafeERC20"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "260:28:33",
            "typeName": {
              "id": 5441,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "280:7:33",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            }
          },
          {
            "constant": false,
            "id": 5444,
            "name": "priceOracleContract",
            "nodeType": "VariableDeclaration",
            "scope": 5603,
            "src": "294:47:33",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
              "typeString": "contract PriceOracleInterface"
            },
            "typeName": {
              "contractScope": null,
              "id": 5443,
              "name": "PriceOracleInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5615,
              "src": "294:20:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                "typeString": "contract PriceOracleInterface"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 5448,
            "name": "lockedTokens",
            "nodeType": "VariableDeclaration",
            "scope": 5603,
            "src": "378:49:33",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
              "typeString": "mapping(bytes32 => address)"
            },
            "typeName": {
              "id": 5447,
              "keyType": {
                "id": 5445,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "386:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "378:29:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                "typeString": "mapping(bytes32 => address)"
              },
              "valueType": {
                "id": 5446,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "399:7:33",
                "stateMutability": "nonpayable",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 5458,
            "name": "LockToken",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 5457,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5450,
                  "indexed": true,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "450:26:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5449,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "450:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5452,
                  "indexed": true,
                  "name": "_token",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "478:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5451,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "478:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5454,
                  "indexed": false,
                  "name": "_numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "502:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5453,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "502:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5456,
                  "indexed": false,
                  "name": "_denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 5458,
                  "src": "522:20:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5455,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "522:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "449:94:33"
            },
            "src": "434:110:33"
          },
          {
            "body": {
              "id": 5493,
              "nodeType": "Block",
              "src": "1545:261:33",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5479,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 5477,
                      "name": "priceOracleContract",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5444,
                      "src": "1555:19:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                        "typeString": "contract PriceOracleInterface"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5478,
                      "name": "_priceOracleContract",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5472,
                      "src": "1577:20:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                        "typeString": "contract PriceOracleInterface"
                      }
                    },
                    "src": "1555:42:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                      "typeString": "contract PriceOracleInterface"
                    }
                  },
                  "id": 5480,
                  "nodeType": "ExpressionStatement",
                  "src": "1555:42:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5484,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5460,
                        "src": "1634:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5485,
                        "name": "_reputationReward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5462,
                        "src": "1651:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5486,
                        "name": "_lockingStartTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5464,
                        "src": "1678:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5487,
                        "name": "_lockingEndTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5466,
                        "src": "1705:15:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5488,
                        "name": "_redeemEnableTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5468,
                        "src": "1730:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5489,
                        "name": "_maxLockingPeriod",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5470,
                        "src": "1757:17:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5490,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5474,
                        "src": "1784:14:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5481,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23887,
                        "src": "1607:5:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                          "typeString": "contract super LockingToken4Reputation"
                        }
                      },
                      "id": 5483,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5347,
                      "src": "1607:17:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_Avatar_$2010_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$returns$__$",
                        "typeString": "function (contract Avatar,uint256,uint256,uint256,uint256,uint256,bytes32)"
                      }
                    },
                    "id": 5491,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1607:192:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5492,
                  "nodeType": "ExpressionStatement",
                  "src": "1607:192:33"
                }
              ]
            },
            "documentation": "@dev initialize\n@param _avatar the avatar to mint reputation from\n@param _reputationReward the total reputation this contract will reward\n       for the token locking\n@param _lockingStartTime locking starting period time.\n@param _lockingEndTime the locking end time.\n       locking is disable after this time.\n@param _redeemEnableTime redeem enable time .\n       redeem reputation can be done after this time.\n@param _maxLockingPeriod maximum locking period allowed.\n@param _priceOracleContract the price oracle contract which the locked token will be\n       validated against",
            "id": 5494,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5475,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5460,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1256:14:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5459,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "1256:6:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5462,
                  "name": "_reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1280:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5461,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1280:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5464,
                  "name": "_lockingStartTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1315:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5463,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1315:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5466,
                  "name": "_lockingEndTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1350:23:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5465,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1350:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5468,
                  "name": "_redeemEnableTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1383:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5467,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1383:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5470,
                  "name": "_maxLockingPeriod",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1418:25:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5469,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1418:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5472,
                  "name": "_priceOracleContract",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1453:41:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                    "typeString": "contract PriceOracleInterface"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5471,
                    "name": "PriceOracleInterface",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 5615,
                    "src": "1453:20:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                      "typeString": "contract PriceOracleInterface"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5474,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5494,
                  "src": "1504:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5473,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1504:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1246:281:33"
            },
            "returnParameters": {
              "id": 5476,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1545:0:33"
            },
            "scope": 5603,
            "src": "1227:579:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5521,
              "nodeType": "Block",
              "src": "2054:165:33",
              "statements": [
                {
                  "assignments": [
                    5504
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5504,
                      "name": "amount",
                      "nodeType": "VariableDeclaration",
                      "scope": 5521,
                      "src": "2064:14:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5503,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2064:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5510,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5507,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5496,
                        "src": "2096:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5508,
                        "name": "_lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5498,
                        "src": "2110:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5505,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23887,
                        "src": "2081:5:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                          "typeString": "contract super LockingToken4Reputation"
                        }
                      },
                      "id": 5506,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_release",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5091,
                      "src": "2081:14:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes32_$returns$_t_uint256_$",
                        "typeString": "function (address,bytes32) returns (uint256)"
                      }
                    },
                    "id": 5509,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2081:40:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2064:57:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5515,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5496,
                        "src": "2169:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5516,
                        "name": "amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5504,
                        "src": "2183:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 5511,
                          "name": "lockedTokens",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5448,
                          "src": "2131:12:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                            "typeString": "mapping(bytes32 => address)"
                          }
                        },
                        "id": 5513,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 5512,
                          "name": "_lockingId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5498,
                          "src": "2144:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2131:24:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 5514,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "safeTransfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 3897,
                      "src": "2131:37:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$bound_to$_t_address_$",
                        "typeString": "function (address,address,uint256)"
                      }
                    },
                    "id": 5517,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2131:59:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5518,
                  "nodeType": "ExpressionStatement",
                  "src": "2131:59:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5519,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2208:4:33",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5502,
                  "id": 5520,
                  "nodeType": "Return",
                  "src": "2201:11:33"
                }
              ]
            },
            "documentation": "@dev release locked tokens\n@param _beneficiary the release _beneficiary\n@param _lockingId the locking id\n@return bool",
            "id": 5522,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "release",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5499,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5496,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "1991:20:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5495,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1991:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5498,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "2013:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5497,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2013:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1990:42:33"
            },
            "returnParameters": {
              "id": 5502,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5501,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5522,
                  "src": "2048:4:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5500,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2048:4:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2047:6:33"
            },
            "scope": 5603,
            "src": "1974:245:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5601,
              "nodeType": "Block",
              "src": "2619:546:33",
              "statements": [
                {
                  "assignments": [
                    5536
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5536,
                      "name": "numerator",
                      "nodeType": "VariableDeclaration",
                      "scope": 5601,
                      "src": "2630:17:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5535,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2630:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5537,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2630:17:33"
                },
                {
                  "assignments": [
                    5539
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5539,
                      "name": "denominator",
                      "nodeType": "VariableDeclaration",
                      "scope": 5601,
                      "src": "2657:19:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5538,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2657:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5540,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2657:19:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5548,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "id": 5541,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "2688:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5542,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "2699:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "id": 5543,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "TupleExpression",
                      "src": "2687:24:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                        "typeString": "tuple(uint256,uint256)"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5546,
                          "name": "_token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5528,
                          "src": "2743:6:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 5544,
                          "name": "priceOracleContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5444,
                          "src": "2714:19:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_PriceOracleInterface_$5615",
                            "typeString": "contract PriceOracleInterface"
                          }
                        },
                        "id": 5545,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "getPrice",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5614,
                        "src": "2714:28:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$_t_uint256_$",
                          "typeString": "function (address) view external returns (uint256,uint256)"
                        }
                      },
                      "id": 5547,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2714:36:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                        "typeString": "tuple(uint256,uint256)"
                      }
                    },
                    "src": "2687:63:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5549,
                  "nodeType": "ExpressionStatement",
                  "src": "2687:63:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5553,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 5551,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "2769:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5552,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2781:1:33",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2769:13:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "6e756d657261746f722073686f756c64206265203e2030",
                        "id": 5554,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2784:25:33",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_45af8ae7721513ccf517d5e85adacb3a23e8b58dfd8ac205eba8c8f098c757e8",
                          "typeString": "literal_string \"numerator should be > 0\""
                        },
                        "value": "numerator should be > 0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_45af8ae7721513ccf517d5e85adacb3a23e8b58dfd8ac205eba8c8f098c757e8",
                          "typeString": "literal_string \"numerator should be > 0\""
                        }
                      ],
                      "id": 5550,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "2761:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5555,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2761:49:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5556,
                  "nodeType": "ExpressionStatement",
                  "src": "2761:49:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5560,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 5558,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "2828:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 5559,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2842:1:33",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2828:15:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "64656e6f6d696e61746f722073686f756c64206265203e2030",
                        "id": 5561,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2845:27:33",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_a4dd3ca4aa7c831663fdf97a30965ff2492a3d68871d6308196778df39939881",
                          "typeString": "literal_string \"denominator should be > 0\""
                        },
                        "value": "denominator should be > 0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_a4dd3ca4aa7c831663fdf97a30965ff2492a3d68871d6308196778df39939881",
                          "typeString": "literal_string \"denominator should be > 0\""
                        }
                      ],
                      "id": 5557,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "2820:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5562,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2820:53:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5563,
                  "nodeType": "ExpressionStatement",
                  "src": "2820:53:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5567,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "2908:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5568,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2908:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5570,
                            "name": "this",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23886,
                            "src": "2928:4:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                              "typeString": "contract LockingToken4Reputation"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                              "typeString": "contract LockingToken4Reputation"
                            }
                          ],
                          "id": 5569,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2920:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5571,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2920:13:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5572,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5524,
                        "src": "2935:7:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5564,
                        "name": "_token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5528,
                        "src": "2884:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 5566,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "safeTransferFrom",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 3954,
                      "src": "2884:23:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$bound_to$_t_address_$",
                        "typeString": "function (address,address,address,uint256)"
                      }
                    },
                    "id": 5573,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2884:59:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5574,
                  "nodeType": "ExpressionStatement",
                  "src": "2884:59:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5586,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 5575,
                      "name": "lockingId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5533,
                      "src": "2954:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 5578,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5524,
                          "src": "2978:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5579,
                          "name": "_period",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5526,
                          "src": "2987:7:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 5580,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "2996:3:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 5581,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "2996:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5582,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5536,
                          "src": "3008:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5583,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5539,
                          "src": "3019:11:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 5584,
                          "name": "_agreementHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5530,
                          "src": "3032:14:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        ],
                        "expression": {
                          "argumentTypes": null,
                          "id": 5576,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23887,
                          "src": "2966:5:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_super$_LockingToken4Reputation_$5603",
                            "typeString": "contract super LockingToken4Reputation"
                          }
                        },
                        "id": 5577,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_lock",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5263,
                        "src": "2966:11:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes32_$returns$_t_bytes32_$",
                          "typeString": "function (uint256,uint256,address,uint256,uint256,bytes32) returns (bytes32)"
                        }
                      },
                      "id": 5585,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2966:81:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "2954:93:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 5587,
                  "nodeType": "ExpressionStatement",
                  "src": "2954:93:33"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 5592,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 5588,
                        "name": "lockedTokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5448,
                        "src": "3058:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$",
                          "typeString": "mapping(bytes32 => address)"
                        }
                      },
                      "id": 5590,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 5589,
                        "name": "lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5533,
                        "src": "3071:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "3058:23:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 5591,
                      "name": "_token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5528,
                      "src": "3084:6:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "3058:32:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 5593,
                  "nodeType": "ExpressionStatement",
                  "src": "3058:32:33"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5595,
                        "name": "lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5533,
                        "src": "3116:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5596,
                        "name": "_token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5528,
                        "src": "3127:6:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5597,
                        "name": "numerator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5536,
                        "src": "3135:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5598,
                        "name": "denominator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5539,
                        "src": "3146:11:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 5594,
                      "name": "LockToken",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5458,
                      "src": "3106:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                        "typeString": "function (bytes32,address,uint256,uint256)"
                      }
                    },
                    "id": 5599,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3106:52:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5600,
                  "nodeType": "EmitStatement",
                  "src": "3101:57:33"
                }
              ]
            },
            "documentation": "@dev lock function\n@param _amount the amount to lock\n@param _period the locking period\n@param _token the token to lock - this should be whitelisted at the priceOracleContract\n@return lockingId",
            "id": 5602,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lock",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5531,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5524,
                  "name": "_amount",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2483:15:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5523,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2483:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5526,
                  "name": "_period",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2508:15:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5525,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2508:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5528,
                  "name": "_token",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2533:14:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5527,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2533:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5530,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2557:22:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5529,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2557:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2482:98:33"
            },
            "returnParameters": {
              "id": 5534,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5533,
                  "name": "lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5602,
                  "src": "2600:17:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5532,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2600:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2599:19:33"
            },
            "scope": 5603,
            "src": "2469:696:33",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 5604,
        "src": "199:2968:33"
      }
    ],
    "src": "0:3168:33"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.310Z",
  "devdoc": {
    "methods": {
      "getAgreementHash()": {
        "details": "getAgreementHash",
        "return": "bytes32 agreementHash"
      },
      "initialize(address,uint256,uint256,uint256,uint256,uint256,address,bytes32)": {
        "details": "initialize",
        "params": {
          "_avatar": "the avatar to mint reputation from",
          "_lockingEndTime": "the locking end time.       locking is disable after this time.",
          "_lockingStartTime": "locking starting period time.",
          "_maxLockingPeriod": "maximum locking period allowed.",
          "_priceOracleContract": "the price oracle contract which the locked token will be       validated against",
          "_redeemEnableTime": "redeem enable time .       redeem reputation can be done after this time.",
          "_reputationReward": "the total reputation this contract will reward       for the token locking"
        }
      },
      "lock(uint256,uint256,address,bytes32)": {
        "details": "lock function",
        "params": {
          "_amount": "the amount to lock",
          "_period": "the locking period",
          "_token": "the token to lock - this should be whitelisted at the priceOracleContract"
        },
        "return": "lockingId"
      },
      "redeem(address)": {
        "details": "redeem reputation function",
        "params": {
          "_beneficiary": "the beneficiary for the release"
        },
        "return": "uint256 reputation rewarded"
      },
      "release(address,bytes32)": {
        "details": "release locked tokens",
        "params": {
          "_beneficiary": "the release _beneficiary",
          "_lockingId": "the locking id"
        },
        "return": "bool"
      }
    },
    "title": "A scheme for locking ERC20 Tokens for reputation"
  },
  "userdoc": {
    "methods": {}
  }
}