{
  "contractName": "LockingEth4Reputation",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "redeemEnableTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "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": "reputationReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "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": "_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": "_period",
          "type": "uint256"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "lock",
      "outputs": [
        {
          "name": "lockingId",
          "type": "bytes32"
        }
      ],
      "payable": true,
      "stateMutability": "payable",
      "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\":false,\"inputs\":[{\"name\":\"_period\",\"type\":\"uint256\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"lock\",\"outputs\":[{\"name\":\"lockingId\",\"type\":\"bytes32\"}],\"payable\":true,\"stateMutability\":\"payable\",\"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\":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\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"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\":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\":\"reputationReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"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,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.\",\"_redeemEnableTime\":\"redeem enable time .       redeem reputation can be done after this time.\",\"_reputationReward\":\"the total reputation this contract will reward       for eth locking\"}},\"lock(uint256,bytes32)\":{\"details\":\"lock function\",\"params\":{\"_period\":\"the locking period\"},\"return\":\"lockingId the unique Id\"},\"redeem(address)\":{\"details\":\"redeem reputation function\",\"params\":{\"_beneficiary\":\"the beneficiary for the release\"},\"return\":\"uint256 reputation rewarded\"},\"release(address,bytes32)\":{\"details\":\"release locked eth\",\"params\":{\"_beneficiary\":\"the release _beneficiary\",\"_lockingId\":\"the locking id\"},\"return\":\"bool\"}},\"title\":\"A scheme for locking ETH for reputation\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/schemes/LockingEth4Reputation.sol\":\"LockingEth4Reputation\"},\"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/LockingEth4Reputation.sol\":{\"keccak256\":\"0x124827473202399ffd17b42243ef1046d20c047ef1dc8f4006efd9406c56a110\",\"urls\":[\"bzzr://0dc6032dfb435bd9f31b086abb7b06e8bd72748aa98a24be8bedac53682151b3\"]},\"@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": "0x608060405234801561001057600080fd5b506110c0806100206000396000f3fe608060405260043610610126576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100b2578063c006719f11610081578063c006719f14610335578063c3201add1461034a578063c348a24b1461035f578063d7c2eec714610374578063ed1ff6d8146103c157610126565b806395a2251f146102c3578063a8c33017146102f6578063afe0e33c1461030b578063bf0df4451461032057610126565b80635aef7de6116100f95780635aef7de61461019f578063650e81f2146101d0578063696da9211461022957806376dd110f1461023e578063838057421461027157610126565b80633d1678f41461012b578063496a36f21461015257806355bfec8814610175578063568914121461018a575b600080fd5b34801561013757600080fd5b506101406103d6565b60408051918252519081900360200190f35b6101406004803603604081101561016857600080fd5b50803590602001356103dc565b34801561018157600080fd5b506101406103f6565b34801561019657600080fd5b506101406103fc565b3480156101ab57600080fd5b506101b4610402565b60408051600160a060020a039092168252519081900360200190f35b3480156101dc57600080fd5b50610227600480360360e08110156101f357600080fd5b50600160a060020a038135169060208101359060408101359060608101359060808101359060a08101359060c00135610411565b005b34801561023557600080fd5b50610140610429565b34801561024a57600080fd5b506101406004803603602081101561026157600080fd5b5035600160a060020a031661042f565b34801561027d57600080fd5b506102aa6004803603604081101561029457600080fd5b50600160a060020a038135169060200135610441565b6040805192835260208301919091528051918290030190f35b3480156102cf57600080fd5b50610140600480360360208110156102e657600080fd5b5035600160a060020a0316610465565b34801561030257600080fd5b5061014061075d565b34801561031757600080fd5b50610140610763565b34801561032c57600080fd5b50610140610769565b34801561034157600080fd5b5061014061076f565b34801561035657600080fd5b50610140610775565b34801561036b57600080fd5b5061014061077b565b34801561038057600080fd5b506103ad6004803603604081101561039757600080fd5b50600160a060020a038135169060200135610781565b604080519115158252519081900360200190f35b3480156103cd57600080fd5b506101406107d2565b600d5481565b60006103ed348433600180876107d8565b90505b92915050565b600c5481565b60045481565b600154600160a060020a031681565b61042087878787878787610bea565b50505050505050565b60005490565b60036020526000908152604090205481565b60026020908152600092835260408084209091529082529020805460019091015482565b600d5460009042116104c1576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a0382166000908152600360205260408120541161052f576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061056490839063ffffffff610d7d16565b905061057b60065482610da890919063ffffffff16565b600954909350610591908463ffffffff610dcc16565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b1580156105f257600080fd5b505afa158015610606573d6000803e3d6000fd5b505050506040513d602081101561061c57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561069557600080fd5b505af11580156106a9573d6000803e3d6000fd5b505050506040513d60208110156106bf57600080fd5b50511515610717576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061078e8484610de1565b604051909150600160a060020a0385169082156108fc029083906000818181858888f193505050501580156107c7573d6000803e3d6000fd5b506001949350505050565b60085481565b600080548290811461081e5760405160e560020a62461bcd02815260040180806020018281038252602881526020018061101f6028913960400191505060405180910390fd5b60008811610876576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b548711156108ba5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611047602c913960400191505060405180910390fd5b60008711610912576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a544211156109565760405160e560020a62461bcd028152600401808060200182810382526030815260200180610fb56030913960400191505060405180910390fd5b600c5442101561099a5760405160e560020a62461bcd028152600401808060200182810382526028815260200180610f8d6028913960400191505060405180910390fd5b600754604080516c0100000000000000000000000030026020808301919091526034808301859052835180840390910181526054909201909252805191012092506109ec90600163ffffffff610f1d16565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610a30908a63ffffffff610f1d16565b600455600554610a46908a63ffffffff610f1d16565b6005556000610a7b86610a6f89610a638d8f63ffffffff610d7d16565b9063ffffffff610d7d16565b9063ffffffff610da816565b905060008111610ad5576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054610afe908263ffffffff610f1d16565b600160a060020a038916600090815260036020526040902081905560085490818102811515610b2957fe5b0414610b7f576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b600654610b92908263ffffffff610f1d16565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600154600160a060020a031615610c4b576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610cab576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610cec5760405160e560020a62461bcd02815260040180806020018281038252603a815260200180610fe5603a913960400191505060405180910390fd5b83831015610d2e5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806110736022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d83905561042081610f2f565b6000821515610d8e575060006103f0565b828202828482811515610d9d57fe5b04146103ed57600080fd5b6000808211610db657600080fd5b60008284811515610dc357fe5b04949350505050565b600082821115610ddb57600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210610e5c576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211610ec0576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b600554610ed3908363ffffffff610dcc16565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6000828201838110156103ed57600080fd5b60005415610f87576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b60005556fe6c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a723058206d5032363756bffed0b3183acd9429912117204b1b4ff6a6d4683a3b60e57cf20029",
  "deployedBytecode": "0x608060405260043610610126576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100b2578063c006719f11610081578063c006719f14610335578063c3201add1461034a578063c348a24b1461035f578063d7c2eec714610374578063ed1ff6d8146103c157610126565b806395a2251f146102c3578063a8c33017146102f6578063afe0e33c1461030b578063bf0df4451461032057610126565b80635aef7de6116100f95780635aef7de61461019f578063650e81f2146101d0578063696da9211461022957806376dd110f1461023e578063838057421461027157610126565b80633d1678f41461012b578063496a36f21461015257806355bfec8814610175578063568914121461018a575b600080fd5b34801561013757600080fd5b506101406103d6565b60408051918252519081900360200190f35b6101406004803603604081101561016857600080fd5b50803590602001356103dc565b34801561018157600080fd5b506101406103f6565b34801561019657600080fd5b506101406103fc565b3480156101ab57600080fd5b506101b4610402565b60408051600160a060020a039092168252519081900360200190f35b3480156101dc57600080fd5b50610227600480360360e08110156101f357600080fd5b50600160a060020a038135169060208101359060408101359060608101359060808101359060a08101359060c00135610411565b005b34801561023557600080fd5b50610140610429565b34801561024a57600080fd5b506101406004803603602081101561026157600080fd5b5035600160a060020a031661042f565b34801561027d57600080fd5b506102aa6004803603604081101561029457600080fd5b50600160a060020a038135169060200135610441565b6040805192835260208301919091528051918290030190f35b3480156102cf57600080fd5b50610140600480360360208110156102e657600080fd5b5035600160a060020a0316610465565b34801561030257600080fd5b5061014061075d565b34801561031757600080fd5b50610140610763565b34801561032c57600080fd5b50610140610769565b34801561034157600080fd5b5061014061076f565b34801561035657600080fd5b50610140610775565b34801561036b57600080fd5b5061014061077b565b34801561038057600080fd5b506103ad6004803603604081101561039757600080fd5b50600160a060020a038135169060200135610781565b604080519115158252519081900360200190f35b3480156103cd57600080fd5b506101406107d2565b600d5481565b60006103ed348433600180876107d8565b90505b92915050565b600c5481565b60045481565b600154600160a060020a031681565b61042087878787878787610bea565b50505050505050565b60005490565b60036020526000908152604090205481565b60026020908152600092835260408084209091529082529020805460019091015482565b600d5460009042116104c1576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a0382166000908152600360205260408120541161052f576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061056490839063ffffffff610d7d16565b905061057b60065482610da890919063ffffffff16565b600954909350610591908463ffffffff610dcc16565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b1580156105f257600080fd5b505afa158015610606573d6000803e3d6000fd5b505050506040513d602081101561061c57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561069557600080fd5b505af11580156106a9573d6000803e3d6000fd5b505050506040513d60208110156106bf57600080fd5b50511515610717576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061078e8484610de1565b604051909150600160a060020a0385169082156108fc029083906000818181858888f193505050501580156107c7573d6000803e3d6000fd5b506001949350505050565b60085481565b600080548290811461081e5760405160e560020a62461bcd02815260040180806020018281038252602881526020018061101f6028913960400191505060405180910390fd5b60008811610876576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b548711156108ba5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611047602c913960400191505060405180910390fd5b60008711610912576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a544211156109565760405160e560020a62461bcd028152600401808060200182810382526030815260200180610fb56030913960400191505060405180910390fd5b600c5442101561099a5760405160e560020a62461bcd028152600401808060200182810382526028815260200180610f8d6028913960400191505060405180910390fd5b600754604080516c0100000000000000000000000030026020808301919091526034808301859052835180840390910181526054909201909252805191012092506109ec90600163ffffffff610f1d16565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610a30908a63ffffffff610f1d16565b600455600554610a46908a63ffffffff610f1d16565b6005556000610a7b86610a6f89610a638d8f63ffffffff610d7d16565b9063ffffffff610d7d16565b9063ffffffff610da816565b905060008111610ad5576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054610afe908263ffffffff610f1d16565b600160a060020a038916600090815260036020526040902081905560085490818102811515610b2957fe5b0414610b7f576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b600654610b92908263ffffffff610f1d16565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600154600160a060020a031615610c4b576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610cab576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610cec5760405160e560020a62461bcd02815260040180806020018281038252603a815260200180610fe5603a913960400191505060405180910390fd5b83831015610d2e5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806110736022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d83905561042081610f2f565b6000821515610d8e575060006103f0565b828202828482811515610d9d57fe5b04146103ed57600080fd5b6000808211610db657600080fd5b60008284811515610dc357fe5b04949350505050565b600082821115610ddb57600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210610e5c576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211610ec0576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b600554610ed3908363ffffffff610dcc16565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6000828201838110156103ed57600080fd5b60005415610f87576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b60005556fe6c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a723058206d5032363756bffed0b3183acd9429912117204b1b4ff6a6d4683a3b60e57cf20029",
  "sourceMap": "120:1789:32:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;120:1789:32;;;;;;;",
  "deployedSourceMap": "120:1789:32:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1165:31:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1165:31:31;;;:::i;:::-;;;;;;;;;;;;;;;;1720:186:32;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1720:186:32;;;;;;;:::i;1128:31:31:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1128:31:31;;;:::i;815:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;815:26:31;;;:::i;560:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;560:20:31;;;:::i;:::-;;;;-1:-1:-1;;;;;560:20:31;;;;;;;;;;;;;;727:477:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;727:477:32;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;727:477:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;407:101:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;407:101:27;;;:::i;770:38:31:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;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;648:59::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;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;:::-;;;;;;;;;;;;;;;;;;;;;;;1360:807;;8:9:-1;5:2;;;30:1;27;20:12;5:2;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::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1056:29:31;;;:::i;1015:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1015:35:31;;;:::i;1091:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1091:31:31;;;:::i;883:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;883:25:31;;;:::i;914:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;914:30:31;;;:::i;847:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;847:30:31;;;:::i;1369:223:32:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1369:223:32;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1369:223:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;978:31:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;978:31:31;;;:::i;1165:::-;;;;:::o;1720:186:32:-;1798:17;1834:65;1846:9;1857:7;1866:10;1878:1;1881;1884:14;1834:11;:65::i;:::-;1827:72;;1720:186;;;;;:::o;1128:31:31:-;;;;:::o;815:26::-;;;;:::o;560:20::-;;;-1:-1:-1;;;;;560:20:31;;:::o;727:477:32:-;1005:192;1032:7;1049:17;1076;1103:15;1128:17;1155;1182:14;1005:17;:192::i;:::-;727:477;;;;;;;:::o;407:101:27:-;458:7;488:13;407:101;:::o;770:38:31:-;;;;;;;;;;;;;:::o;648:59::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1360:807::-;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;1369:223:32:-;1451:4;1467:14;1484:40;1499:12;1513:10;1484:14;:40::i;:::-;1534:29;;1467:57;;-1:-1:-1;;;;;;1534:21:32;;;:29;;;;;1467:57;;1534:29;;;;1467:57;1534:21;:29;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;1581:4:32;;1369:223;-1:-1:-1;;;;1369:223:32:o;978:31:31:-;;;;:::o;3159:1683::-;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;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;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;;;;;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;1431:145:87:-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;;658:187:27;764:1;739:13;:27;731:67;;;;;-1:-1:-1;;;;;731:67:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;808:13;:30;658:187::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"./Locking4Reputation.sol\";\n\n/**\n * @title A scheme for locking ETH for reputation\n */\n\ncontract LockingEth4Reputation is Locking4Reputation {\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 eth 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     */\n    function initialize(\n        Avatar _avatar,\n        uint256 _reputationReward,\n        uint256 _lockingStartTime,\n        uint256 _lockingEndTime,\n        uint256 _redeemEnableTime,\n        uint256 _maxLockingPeriod,\n        bytes32 _agreementHash )\n    external\n    {\n        super._initialize(\n        _avatar,\n        _reputationReward,\n        _lockingStartTime,\n        _lockingEndTime,\n        _redeemEnableTime,\n        _maxLockingPeriod,\n        _agreementHash);\n    }\n\n    /**\n     * @dev release locked eth\n     * @param _beneficiary the release _beneficiary\n     * @param _lockingId the locking id\n     * @return bool\n     */\n    function release(address payable _beneficiary, bytes32 _lockingId) public returns(bool) {\n        uint256 amount = super._release(_beneficiary, _lockingId);\n        _beneficiary.transfer(amount);\n\n        return true;\n    }\n\n    /**\n     * @dev lock function\n     * @param _period the locking period\n     * @return lockingId the unique Id\n     */\n    function lock(uint256 _period, bytes32 _agreementHash) public payable returns(bytes32 lockingId) {\n        return super._lock(msg.value, _period, msg.sender, 1, 1, _agreementHash);\n    }\n\n}\n",
  "sourcePath": "@daostack/arc/contracts/schemes/LockingEth4Reputation.sol",
  "ast": {
    "absolutePath": "@daostack/arc/contracts/schemes/LockingEth4Reputation.sol",
    "exportedSymbols": {
      "LockingEth4Reputation": [
        5432
      ]
    },
    "id": 5433,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5350,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:32"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Locking4Reputation.sol",
        "file": "./Locking4Reputation.sol",
        "id": 5351,
        "nodeType": "ImportDirective",
        "scope": 5433,
        "sourceUnit": 5349,
        "src": "25:34:32",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5352,
              "name": "Locking4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5348,
              "src": "154:18:32",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Locking4Reputation_$5348",
                "typeString": "contract Locking4Reputation"
              }
            },
            "id": 5353,
            "nodeType": "InheritanceSpecifier",
            "src": "154:18:32"
          }
        ],
        "contractDependencies": [
          4074,
          5348
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for locking ETH for reputation",
        "fullyImplemented": true,
        "id": 5432,
        "linearizedBaseContracts": [
          5432,
          5348,
          4074
        ],
        "name": "LockingEth4Reputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 5382,
              "nodeType": "Block",
              "src": "995:209:32",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5373,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5355,
                        "src": "1032:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5374,
                        "name": "_reputationReward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5357,
                        "src": "1049:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5375,
                        "name": "_lockingStartTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5359,
                        "src": "1076:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5376,
                        "name": "_lockingEndTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5361,
                        "src": "1103:15:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5377,
                        "name": "_redeemEnableTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5363,
                        "src": "1128:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5378,
                        "name": "_maxLockingPeriod",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5365,
                        "src": "1155:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5379,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5367,
                        "src": "1182:14:32",
                        "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": 5370,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1005:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5372,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5347,
                      "src": "1005:17:32",
                      "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": 5380,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1005:192:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5381,
                  "nodeType": "ExpressionStatement",
                  "src": "1005:192:32"
                }
              ]
            },
            "documentation": "@dev initialize\n@param _avatar the avatar to mint reputation from\n@param _reputationReward the total reputation this contract will reward\n       for eth 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.",
            "id": 5383,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5368,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5355,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "756:14:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5354,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "756:6:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5357,
                  "name": "_reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "780:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5356,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "780:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5359,
                  "name": "_lockingStartTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "815:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5358,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "815:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5361,
                  "name": "_lockingEndTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "850:23:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5360,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "850:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5363,
                  "name": "_redeemEnableTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "883:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5362,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "883:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5365,
                  "name": "_maxLockingPeriod",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "918:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5364,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "918:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5367,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "953:22:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5366,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "953:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "746:231:32"
            },
            "returnParameters": {
              "id": 5369,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "995:0:32"
            },
            "scope": 5432,
            "src": "727:477:32",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5408,
              "nodeType": "Block",
              "src": "1457:135:32",
              "statements": [
                {
                  "assignments": [
                    5393
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5393,
                      "name": "amount",
                      "nodeType": "VariableDeclaration",
                      "scope": 5408,
                      "src": "1467:14:32",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5392,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1467:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5399,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5396,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5385,
                        "src": "1499:12:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5397,
                        "name": "_lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5387,
                        "src": "1513:10:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5394,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1484:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5395,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_release",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5091,
                      "src": "1484:14:32",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes32_$returns$_t_uint256_$",
                        "typeString": "function (address,bytes32) returns (uint256)"
                      }
                    },
                    "id": 5398,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1484:40:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1467:57:32"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5403,
                        "name": "amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5393,
                        "src": "1556:6:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5400,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5385,
                        "src": "1534:12:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "id": 5402,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "transfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "1534:21:32",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
                        "typeString": "function (uint256)"
                      }
                    },
                    "id": 5404,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1534:29:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5405,
                  "nodeType": "ExpressionStatement",
                  "src": "1534:29:32"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5406,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "1581:4:32",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5391,
                  "id": 5407,
                  "nodeType": "Return",
                  "src": "1574:11:32"
                }
              ]
            },
            "documentation": "@dev release locked eth\n@param _beneficiary the release _beneficiary\n@param _lockingId the locking id\n@return bool",
            "id": 5409,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "release",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5388,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5385,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1386:28:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 5384,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1386:15:32",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5387,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1416:18:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5386,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1416:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1385:50:32"
            },
            "returnParameters": {
              "id": 5391,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5390,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1451:4:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5389,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1451:4:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1450:6:32"
            },
            "scope": 5432,
            "src": "1369:223:32",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5430,
              "nodeType": "Block",
              "src": "1817:89:32",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5420,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "1846:3:32",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5421,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "1846:9:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5422,
                        "name": "_period",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5411,
                        "src": "1857:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5423,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "1866:3:32",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5424,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "1866:10:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 5425,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1878:1:32",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 5426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1881:1:32",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 5427,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5413,
                        "src": "1884:14:32",
                        "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_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5418,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1834:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5419,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_lock",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5263,
                      "src": "1834:11:32",
                      "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": 5428,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1834:65:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5417,
                  "id": 5429,
                  "nodeType": "Return",
                  "src": "1827:72:32"
                }
              ]
            },
            "documentation": "@dev lock function\n@param _period the locking period\n@return lockingId the unique Id",
            "id": 5431,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lock",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5414,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5411,
                  "name": "_period",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1734:15:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5410,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1734:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5413,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1751:22:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5412,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1751:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1733:41:32"
            },
            "returnParameters": {
              "id": 5417,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5416,
                  "name": "lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1798:17:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5415,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1798:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1797:19:32"
            },
            "scope": 5432,
            "src": "1720:186:32",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 5433,
        "src": "120:1789:32"
      }
    ],
    "src": "0:1910:32"
  },
  "legacyAST": {
    "absolutePath": "@daostack/arc/contracts/schemes/LockingEth4Reputation.sol",
    "exportedSymbols": {
      "LockingEth4Reputation": [
        5432
      ]
    },
    "id": 5433,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5350,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:32"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Locking4Reputation.sol",
        "file": "./Locking4Reputation.sol",
        "id": 5351,
        "nodeType": "ImportDirective",
        "scope": 5433,
        "sourceUnit": 5349,
        "src": "25:34:32",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 5352,
              "name": "Locking4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5348,
              "src": "154:18:32",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Locking4Reputation_$5348",
                "typeString": "contract Locking4Reputation"
              }
            },
            "id": 5353,
            "nodeType": "InheritanceSpecifier",
            "src": "154:18:32"
          }
        ],
        "contractDependencies": [
          4074,
          5348
        ],
        "contractKind": "contract",
        "documentation": "@title A scheme for locking ETH for reputation",
        "fullyImplemented": true,
        "id": 5432,
        "linearizedBaseContracts": [
          5432,
          5348,
          4074
        ],
        "name": "LockingEth4Reputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 5382,
              "nodeType": "Block",
              "src": "995:209:32",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5373,
                        "name": "_avatar",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5355,
                        "src": "1032:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Avatar_$2010",
                          "typeString": "contract Avatar"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5374,
                        "name": "_reputationReward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5357,
                        "src": "1049:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5375,
                        "name": "_lockingStartTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5359,
                        "src": "1076:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5376,
                        "name": "_lockingEndTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5361,
                        "src": "1103:15:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5377,
                        "name": "_redeemEnableTime",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5363,
                        "src": "1128:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5378,
                        "name": "_maxLockingPeriod",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5365,
                        "src": "1155:17:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5379,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5367,
                        "src": "1182:14:32",
                        "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": 5370,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1005:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5372,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5347,
                      "src": "1005:17:32",
                      "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": 5380,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1005:192:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5381,
                  "nodeType": "ExpressionStatement",
                  "src": "1005:192:32"
                }
              ]
            },
            "documentation": "@dev initialize\n@param _avatar the avatar to mint reputation from\n@param _reputationReward the total reputation this contract will reward\n       for eth 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.",
            "id": 5383,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5368,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5355,
                  "name": "_avatar",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "756:14:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_Avatar_$2010",
                    "typeString": "contract Avatar"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5354,
                    "name": "Avatar",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 2010,
                    "src": "756:6:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Avatar_$2010",
                      "typeString": "contract Avatar"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5357,
                  "name": "_reputationReward",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "780:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5356,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "780:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5359,
                  "name": "_lockingStartTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "815:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5358,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "815:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5361,
                  "name": "_lockingEndTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "850:23:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5360,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "850:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5363,
                  "name": "_redeemEnableTime",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "883:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5362,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "883:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5365,
                  "name": "_maxLockingPeriod",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "918:25:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5364,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "918:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5367,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5383,
                  "src": "953:22:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5366,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "953:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "746:231:32"
            },
            "returnParameters": {
              "id": 5369,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "995:0:32"
            },
            "scope": 5432,
            "src": "727:477:32",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 5408,
              "nodeType": "Block",
              "src": "1457:135:32",
              "statements": [
                {
                  "assignments": [
                    5393
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5393,
                      "name": "amount",
                      "nodeType": "VariableDeclaration",
                      "scope": 5408,
                      "src": "1467:14:32",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5392,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1467:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 5399,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5396,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5385,
                        "src": "1499:12:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5397,
                        "name": "_lockingId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5387,
                        "src": "1513:10:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5394,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1484:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5395,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_release",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5091,
                      "src": "1484:14:32",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes32_$returns$_t_uint256_$",
                        "typeString": "function (address,bytes32) returns (uint256)"
                      }
                    },
                    "id": 5398,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1484:40:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1467:57:32"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5403,
                        "name": "amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5393,
                        "src": "1556:6:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5400,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5385,
                        "src": "1534:12:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      "id": 5402,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "transfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "1534:21:32",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
                        "typeString": "function (uint256)"
                      }
                    },
                    "id": 5404,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1534:29:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5405,
                  "nodeType": "ExpressionStatement",
                  "src": "1534:29:32"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "74727565",
                    "id": 5406,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "bool",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "1581:4:32",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "value": "true"
                  },
                  "functionReturnParameters": 5391,
                  "id": 5407,
                  "nodeType": "Return",
                  "src": "1574:11:32"
                }
              ]
            },
            "documentation": "@dev release locked eth\n@param _beneficiary the release _beneficiary\n@param _lockingId the locking id\n@return bool",
            "id": 5409,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "release",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5388,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5385,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1386:28:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address_payable",
                    "typeString": "address payable"
                  },
                  "typeName": {
                    "id": 5384,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1386:15:32",
                    "stateMutability": "payable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address_payable",
                      "typeString": "address payable"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5387,
                  "name": "_lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1416:18:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5386,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1416:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1385:50:32"
            },
            "returnParameters": {
              "id": 5391,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5390,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5409,
                  "src": "1451:4:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 5389,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1451:4:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1450:6:32"
            },
            "scope": 5432,
            "src": "1369:223:32",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5430,
              "nodeType": "Block",
              "src": "1817:89:32",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5420,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "1846:3:32",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5421,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "value",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "1846:9:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 5422,
                        "name": "_period",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5411,
                        "src": "1857:7:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 5423,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "1866:3:32",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 5424,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "1866:10:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 5425,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1878:1:32",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "31",
                        "id": 5426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1881:1:32",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      {
                        "argumentTypes": null,
                        "id": 5427,
                        "name": "_agreementHash",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5413,
                        "src": "1884:14:32",
                        "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_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5418,
                        "name": "super",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23877,
                        "src": "1834:5:32",
                        "typeDescriptions": {
                          "typeIdentifier": "t_super$_LockingEth4Reputation_$5432",
                          "typeString": "contract super LockingEth4Reputation"
                        }
                      },
                      "id": 5419,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_lock",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5263,
                      "src": "1834:11:32",
                      "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": 5428,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1834:65:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5417,
                  "id": 5429,
                  "nodeType": "Return",
                  "src": "1827:72:32"
                }
              ]
            },
            "documentation": "@dev lock function\n@param _period the locking period\n@return lockingId the unique Id",
            "id": 5431,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lock",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5414,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5411,
                  "name": "_period",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1734:15:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5410,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1734:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5413,
                  "name": "_agreementHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1751:22:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5412,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1751:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1733:41:32"
            },
            "returnParameters": {
              "id": 5417,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5416,
                  "name": "lockingId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5431,
                  "src": "1798:17:32",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5415,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1798:7:32",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1797:19:32"
            },
            "scope": 5432,
            "src": "1720:186:32",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 5433,
        "src": "120:1789:32"
      }
    ],
    "src": "0:1910:32"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.308Z",
  "devdoc": {
    "methods": {
      "getAgreementHash()": {
        "details": "getAgreementHash",
        "return": "bytes32 agreementHash"
      },
      "initialize(address,uint256,uint256,uint256,uint256,uint256,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.",
          "_redeemEnableTime": "redeem enable time .       redeem reputation can be done after this time.",
          "_reputationReward": "the total reputation this contract will reward       for eth locking"
        }
      },
      "lock(uint256,bytes32)": {
        "details": "lock function",
        "params": {
          "_period": "the locking period"
        },
        "return": "lockingId the unique Id"
      },
      "redeem(address)": {
        "details": "redeem reputation function",
        "params": {
          "_beneficiary": "the beneficiary for the release"
        },
        "return": "uint256 reputation rewarded"
      },
      "release(address,bytes32)": {
        "details": "release locked eth",
        "params": {
          "_beneficiary": "the release _beneficiary",
          "_lockingId": "the locking id"
        },
        "return": "bool"
      }
    },
    "title": "A scheme for locking ETH for reputation"
  },
  "userdoc": {
    "methods": {}
  }
}