{
  "contractName": "DxLockWhitelisted4Rep",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "redeemEnableTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "priceOracleContract",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingStartTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalLocked",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "avatar",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getAgreementHash",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "name": "scores",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_reputationReward",
          "type": "uint256"
        },
        {
          "name": "_lockingStartTime",
          "type": "uint256"
        },
        {
          "name": "_lockingEndTime",
          "type": "uint256"
        },
        {
          "name": "_redeemEnableTime",
          "type": "uint256"
        },
        {
          "name": "_maxLockingPeriod",
          "type": "uint256"
        },
        {
          "name": "_priceOracleContract",
          "type": "address"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "lockers",
      "outputs": [
        {
          "name": "amount",
          "type": "uint256"
        },
        {
          "name": "releaseTime",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_period",
          "type": "uint256"
        },
        {
          "name": "_token",
          "type": "address"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "lock",
      "outputs": [
        {
          "name": "lockingId",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "name": "redeem",
      "outputs": [
        {
          "name": "reputation",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingEndTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "reputationRewardLeft",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "maxLockingPeriod",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalScore",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "lockingsCounter",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "totalLockedLeft",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_lockingId",
          "type": "bytes32"
        }
      ],
      "name": "release",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "lockedTokens",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "reputationReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_token",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_numerator",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_denominator",
          "type": "uint256"
        }
      ],
      "name": "LockToken",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Redeem",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Release",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_locker",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_lockingId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_period",
          "type": "uint256"
        }
      ],
      "name": "Lock",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"redeemEnableTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"priceOracleContract\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingStartTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalLocked\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"avatar\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAgreementHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"scores\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_reputationReward\",\"type\":\"uint256\"},{\"name\":\"_lockingStartTime\",\"type\":\"uint256\"},{\"name\":\"_lockingEndTime\",\"type\":\"uint256\"},{\"name\":\"_redeemEnableTime\",\"type\":\"uint256\"},{\"name\":\"_maxLockingPeriod\",\"type\":\"uint256\"},{\"name\":\"_priceOracleContract\",\"type\":\"address\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"lockers\",\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"releaseTime\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_period\",\"type\":\"uint256\"},{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"lock\",\"outputs\":[{\"name\":\"lockingId\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_beneficiary\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"name\":\"reputation\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingEndTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reputationRewardLeft\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxLockingPeriod\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalScore\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lockingsCounter\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalLockedLeft\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_lockingId\",\"type\":\"bytes32\"}],\"name\":\"release\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"lockedTokens\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reputationReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_numerator\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_denominator\",\"type\":\"uint256\"}],\"name\":\"LockToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Release\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_locker\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_lockingId\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"Lock\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"getAgreementHash()\":{\"details\":\"getAgreementHash\",\"return\":\"bytes32 agreementHash\"},\"initialize(address,uint256,uint256,uint256,uint256,uint256,address,bytes32)\":{\"details\":\"initialize\",\"params\":{\"_avatar\":\"the avatar to mint reputation from\",\"_lockingEndTime\":\"the locking end time.       locking is disable after this time.\",\"_lockingStartTime\":\"locking starting period time.\",\"_maxLockingPeriod\":\"maximum locking period allowed.\",\"_priceOracleContract\":\"the price oracle contract which the locked token will be       validated against\",\"_redeemEnableTime\":\"redeem enable time .       redeem reputation can be done after this time.\",\"_reputationReward\":\"the total reputation this contract will reward       for the token locking\"}},\"lock(uint256,uint256,address,bytes32)\":{\"details\":\"lock function\",\"params\":{\"_amount\":\"the amount to lock\",\"_period\":\"the locking period\",\"_token\":\"the token to lock - this should be whitelisted at the priceOracleContract\"},\"return\":\"lockingId\"},\"redeem(address)\":{\"details\":\"redeem reputation function\",\"params\":{\"_beneficiary\":\"the beneficiary for the release\"},\"return\":\"uint256 reputation rewarded\"},\"release(address,bytes32)\":{\"details\":\"release locked tokens\",\"params\":{\"_beneficiary\":\"the release _beneficiary\",\"_lockingId\":\"the locking id\"},\"return\":\"bool\"}},\"title\":\"Scheme for locking GNO tokens for reputation\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxLockWhitelisted4Rep.sol\":\"DxLockWhitelisted4Rep\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxLockWhitelisted4Rep.sol\":{\"keccak256\":\"0x5df90524c4987d5e30f879c4a87b85d8dbff79ff1ba371a596a3fb442caa3f6c\",\"urls\":[\"bzzr://9268a030e0e688e45328ce64d771f6fd119cfd79bd5a67d90326405d3cf7d43b\"]},\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzzr://b0af60e651a75274a028dc4b53d06091a46ca0efa3bfb4153879e76cf86a49dc\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzzr://e8050774c20b9b22636b47cdd353eaf5df72e0bca8f2b8569365be30f4eaef0c\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzzr://7ba306fdbad344e01474e3ae9c37b27b64efdc1cb17ffc0f3ec1c4427fde359d\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzzr://d1f293a0bbaa292296a83977cb36a14048db404a32e3f6aa9bd79ea61ac3c4c3\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzzr://cd706a2dc7540d093b591a280b464256c596ddad598b68886e6db2e7958f9916\"]},\"@daostack/arc/contracts/schemes/Agreement.sol\":{\"keccak256\":\"0x5c5aae71ecbfc3125cb33d1e5780b0bb9df6e3fabf2c03def44dba2f2375ec8a\",\"urls\":[\"bzzr://484e0d67ab6c9f595e179cc0fda53ef637481570734fa7c7594e5bd5337dafde\"]},\"@daostack/arc/contracts/schemes/Locking4Reputation.sol\":{\"keccak256\":\"0xce05abc1a346f699aa205e9518bdc7865bb16629f185d9f83afb0a1d59f46c1c\",\"urls\":[\"bzzr://bca474bb2c3f8e7796e8e4ad4d50d984953c1a05b90b3fc566421845d6d0751a\"]},\"@daostack/arc/contracts/schemes/LockingToken4Reputation.sol\":{\"keccak256\":\"0x9fabc40bb58d44b80b102a31d36319689f5a5f19e76ea25630f8873cee9323ed\",\"urls\":[\"bzzr://a0f8d88e7c7fd351b1577754ae0bf4c1f005658e46ab78efaa1f35085176996e\"]},\"@daostack/arc/contracts/schemes/PriceOracleInterface.sol\":{\"keccak256\":\"0x0531014cc310da00e99acc23d4df65be92d2505b2fb83c058aa957d3edc3e185\",\"urls\":[\"bzzr://e283ff282fb045889bd8895f9384c6f51a082c0b07739c31f1601f9fe41b8ac1\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x965012d27b4262d7a41f5028cbb30c51ebd9ecd4be8fb30380aaa7a3c64fbc8b\",\"urls\":[\"bzzr://41ca38f6b0fa4b77b0feec43e422cfbec48b7eb38a41edf0b85c77e8d9a296b1\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzzr://08894efa2a557982070beda6a81a032407e70532d24bdafe80d39660c74904d9\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xba431353cb4fe70777ac026231eb5468e41aa1e81240a2b8136917acc5fff4dc\",\"urls\":[\"bzzr://80cd02a56e6e33504318124d0d645c82e615cc8a4b5829cc9d82d17635c644c8\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol\":{\"keccak256\":\"0xa3e68fd7f987c8fbdaf4867d428a69a15f3cf2f69709a5b0a0fbef750b0e6fbc\",\"urls\":[\"bzzr://f4ebb7c5b9e429b98b07e2caca6156c13c3724e9b1191cca8423ab8427bc6265\"]},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzzr://48248e86f64407a95f241d6c5c8cfea6b4d4ebf4ebb467e5c98c8af3868fafe4\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x5c731061b804fa256fc8c05150eafe5d20b6bb94541a8f187912bf84f7033f34\",\"urls\":[\"bzzr://63fc4af0d7a99a770925b96a6cf48f25fc00d30274266f82db05f30baa238267\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b5061169c806100206000396000f3fe608060405234801561001057600080fd5b5060043610610149576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100ca578063c3201add1161008e578063c3201add146102ea578063c348a24b146102f2578063d7c2eec7146102fa578063e8d335881461033a578063ed1ff6d81461035757610149565b806395a2251f146102a4578063a8c33017146102ca578063afe0e33c146102d2578063bf0df445146102da578063c006719f146102e257610149565b8063696da92111610111578063696da921146101a457806376dd110f146101ac5780637ad88799146101d2578063838057421461022757806394d0cb6e1461026c57610149565b80633d1678f41461014e578063457454db1461016857806355bfec881461018c57806356891412146101945780635aef7de61461019c575b600080fd5b61015661035f565b60408051918252519081900360200190f35b610170610365565b60408051600160a060020a039092168252519081900360200190f35b610156610374565b61015661037a565b610170610380565b61015661038f565b610156600480360360208110156101c257600080fd5b5035600160a060020a0316610395565b61022560048036036101008110156101e957600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c0820135169060e001356103a7565b005b6102536004803603604081101561023d57600080fd5b50600160a060020a0381351690602001356103e8565b6040805192835260208301919091528051918290030190f35b6101566004803603608081101561028257600080fd5b50803590602081013590600160a060020a03604082013516906060013561040c565b610156600480360360208110156102ba57600080fd5b5035600160a060020a0316610606565b6101566108fe565b610156610904565b61015661090a565b610156610910565b610156610916565b61015661091c565b6103266004803603604081101561031057600080fd5b50600160a060020a038135169060200135610922565b604080519115158252519081900360200190f35b6101706004803603602081101561035057600080fd5b5035610967565b610156610982565b600d5481565b600e54600160a060020a031681565b600c5481565b60045481565b600154600160a060020a031681565b60005490565b60036020526000908152604090205481565b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790556103de88888888888887610988565b5050505050505050565b60026020908152600092835260408084209091529082529020805460019091015482565b600e54604080517f41976e09000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015282516000948594859493909116926341976e099260248083019392829003018186803b15801561047557600080fd5b505afa158015610489573d6000803e3d6000fd5b505050506040513d604081101561049f57600080fd5b508051602090910151909250905060008211610505576040805160e560020a62461bcd02815260206004820152601760248201527f6e756d657261746f722073686f756c64206265203e2030000000000000000000604482015290519081900360640190fd5b6000811161055d576040805160e560020a62461bcd02815260206004820152601960248201527f64656e6f6d696e61746f722073686f756c64206265203e203000000000000000604482015290519081900360640190fd5b610578600160a060020a03861633308a63ffffffff610b2416565b610586878733858589610d1c565b6000818152600f6020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a16908117909155825186815291820185905282519396509286927f09ae2accb7909b2605e5e74e2584c7f5aa396bc6ab76290633ae3819ff650e9f928290030190a35050949350505050565b600d546000904211610662576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812054116106d0576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061070590839063ffffffff61112e16565b905061071c6006548261116090919063ffffffff16565b600954909350610732908463ffffffff61118416565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b15801561079357600080fd5b505afa1580156107a7573d6000803e3d6000fd5b505050506040513d60208110156107bd57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561083657600080fd5b505af115801561084a573d6000803e3d6000fd5b505050506040513d602081101561086057600080fd5b505115156108b8576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061092f8484611199565b6000848152600f602052604090205490915061095b90600160a060020a0316858363ffffffff6112d516565b60019150505b92915050565b600f60205260009081526040902054600160a060020a031681565b60085481565b600154600160a060020a0316156109e9576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610a49576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610a8a5760405160e560020a62461bcd02815260040180806020018281038252603a8152602001806115c1603a913960400191505060405180910390fd5b83831015610acc5760405160e560020a62461bcd02815260040180806020018281038252602281526020018061164f6022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d839055610b1b816114cc565b50505050505050565b610b3684600160a060020a0316611529565b1515610b4157600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161154460259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610c1c5780518252601f199092019160209182019101610bfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c7e576040519150601f19603f3d011682016040523d82523d6000602084013e610c83565b606091505b5091509150811515610c9457600080fd5b80511580610d09575080516020148015610d09575080601f815181101515610cb857fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610d1457600080fd5b505050505050565b6000805482908114610d625760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115fb6028913960400191505060405180910390fd5b60008811610dba576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b54871115610dfe5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611623602c913960400191505060405180910390fd5b60008711610e56576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a54421115610e9a5760405160e560020a62461bcd0281526004018080602001828103825260308152602001806115916030913960400191505060405180910390fd5b600c54421015610ede5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115696028913960400191505060405180910390fd5b600754604080516c010000000000000000000000003002602080830191909152603480830185905283518084039091018152605490920190925280519101209250610f3090600163ffffffff61153116565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610f74908a63ffffffff61153116565b600455600554610f8a908a63ffffffff61153116565b6005556000610fbf86610fb389610fa78d8f63ffffffff61112e16565b9063ffffffff61112e16565b9063ffffffff61116016565b905060008111611019576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054611042908263ffffffff61153116565b600160a060020a03891660009081526003602052604090208190556008549081810281151561106d57fe5b04146110c3576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b6006546110d6908263ffffffff61153116565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600082151561113f57506000610961565b82820282848281151561114e57fe5b041461115957600080fd5b9392505050565b600080821161116e57600080fd5b6000828481151561117b57fe5b04949350505050565b60008282111561119357600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210611214576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211611278576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b60055461128b908363ffffffff61118416565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6112e783600160a060020a0316611529565b15156112f257600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106113cd5780518252601f1990920191602091820191016113ae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b509150915081151561144557600080fd5b805115806114ba5750805160201480156114ba575080601f81518110151561146957fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b15156114c557600080fd5b5050505050565b60005415611524576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b1190565b60008282018381101561115957600080fdfe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536296c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a7230582014a2c043901f226c2abf683370cd7b5d1c78b4456b84ff4c6aa267e4608890990029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b5060043610610149576000357c01000000000000000000000000000000000000000000000000000000009004806395a2251f116100ca578063c3201add1161008e578063c3201add146102ea578063c348a24b146102f2578063d7c2eec7146102fa578063e8d335881461033a578063ed1ff6d81461035757610149565b806395a2251f146102a4578063a8c33017146102ca578063afe0e33c146102d2578063bf0df445146102da578063c006719f146102e257610149565b8063696da92111610111578063696da921146101a457806376dd110f146101ac5780637ad88799146101d2578063838057421461022757806394d0cb6e1461026c57610149565b80633d1678f41461014e578063457454db1461016857806355bfec881461018c57806356891412146101945780635aef7de61461019c575b600080fd5b61015661035f565b60408051918252519081900360200190f35b610170610365565b60408051600160a060020a039092168252519081900360200190f35b610156610374565b61015661037a565b610170610380565b61015661038f565b610156600480360360208110156101c257600080fd5b5035600160a060020a0316610395565b61022560048036036101008110156101e957600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c0820135169060e001356103a7565b005b6102536004803603604081101561023d57600080fd5b50600160a060020a0381351690602001356103e8565b6040805192835260208301919091528051918290030190f35b6101566004803603608081101561028257600080fd5b50803590602081013590600160a060020a03604082013516906060013561040c565b610156600480360360208110156102ba57600080fd5b5035600160a060020a0316610606565b6101566108fe565b610156610904565b61015661090a565b610156610910565b610156610916565b61015661091c565b6103266004803603604081101561031057600080fd5b50600160a060020a038135169060200135610922565b604080519115158252519081900360200190f35b6101706004803603602081101561035057600080fd5b5035610967565b610156610982565b600d5481565b600e54600160a060020a031681565b600c5481565b60045481565b600154600160a060020a031681565b60005490565b60036020526000908152604090205481565b600e805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790556103de88888888888887610988565b5050505050505050565b60026020908152600092835260408084209091529082529020805460019091015482565b600e54604080517f41976e09000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015282516000948594859493909116926341976e099260248083019392829003018186803b15801561047557600080fd5b505afa158015610489573d6000803e3d6000fd5b505050506040513d604081101561049f57600080fd5b508051602090910151909250905060008211610505576040805160e560020a62461bcd02815260206004820152601760248201527f6e756d657261746f722073686f756c64206265203e2030000000000000000000604482015290519081900360640190fd5b6000811161055d576040805160e560020a62461bcd02815260206004820152601960248201527f64656e6f6d696e61746f722073686f756c64206265203e203000000000000000604482015290519081900360640190fd5b610578600160a060020a03861633308a63ffffffff610b2416565b610586878733858589610d1c565b6000818152600f6020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a16908117909155825186815291820185905282519396509286927f09ae2accb7909b2605e5e74e2584c7f5aa396bc6ab76290633ae3819ff650e9f928290030190a35050949350505050565b600d546000904211610662576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812054116106d0576040805160e560020a62461bcd02815260206004820152601360248201527f73636f72652073686f756c64206265203e203000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040812080549082905560085490919061070590839063ffffffff61112e16565b905061071c6006548261116090919063ffffffff16565b600954909350610732908463ffffffff61118416565b600955600154604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b15801561079357600080fd5b505afa1580156107a7573d6000803e3d6000fd5b505050506040513d60208110156107bd57600080fd5b5051600154604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101879052600160a060020a03888116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561083657600080fd5b505af115801561084a573d6000803e3d6000fd5b505050506040513d602081101561086057600080fd5b505115156108b8576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518481529051600160a060020a038616917f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a6919081900360200190a25050919050565b600a5481565b60095481565b600b5481565b60065481565b60075481565b60055481565b60008061092f8484611199565b6000848152600f602052604090205490915061095b90600160a060020a0316858363ffffffff6112d516565b60019150505b92915050565b600f60205260009081526040902054600160a060020a031681565b60085481565b600154600160a060020a0316156109e9576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0387161515610a49576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b848411610a8a5760405160e560020a62461bcd02815260040180806020018281038252603a8152602001806115c1603a913960400191505060405180910390fd5b83831015610acc5760405160e560020a62461bcd02815260040180806020018281038252602281526020018061164f6022913960400191505060405180910390fd5b60088690556009869055600a849055600b8290556001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916179055600c859055600d839055610b1b816114cc565b50505050505050565b610b3684600160a060020a0316611529565b1515610b4157600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161154460259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610c1c5780518252601f199092019160209182019101610bfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c7e576040519150601f19603f3d011682016040523d82523d6000602084013e610c83565b606091505b5091509150811515610c9457600080fd5b80511580610d09575080516020148015610d09575080601f815181101515610cb857fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610d1457600080fd5b505050505050565b6000805482908114610d625760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115fb6028913960400191505060405180910390fd5b60008811610dba576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600b54871115610dfe5760405160e560020a62461bcd02815260040180806020018281038252602c815260200180611623602c913960400191505060405180910390fd5b60008711610e56576040805160e560020a62461bcd02815260206004820152601c60248201527f6c6f636b696e6720706572696f642073686f756c64206265203e203000000000604482015290519081900360640190fd5b600a54421115610e9a5760405160e560020a62461bcd0281526004018080602001828103825260308152602001806115916030913960400191505060405180910390fd5b600c54421015610ede5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806115696028913960400191505060405180910390fd5b600754604080516c010000000000000000000000003002602080830191909152603480830185905283518084039091018152605490920190925280519101209250610f3090600163ffffffff61153116565b600755600160a060020a038616600090815260026020908152604080832085845290915290208881554288016001820155600454610f74908a63ffffffff61153116565b600455600554610f8a908a63ffffffff61153116565b6005556000610fbf86610fb389610fa78d8f63ffffffff61112e16565b9063ffffffff61112e16565b9063ffffffff61116016565b905060008111611019576040805160e560020a62461bcd02815260206004820152601160248201527f73636f7265206d757374206d65203e2030000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038816600090815260036020526040902054611042908263ffffffff61153116565b600160a060020a03891660009081526003602052604090208190556008549081810281151561106d57fe5b04146110c3576040805160e560020a62461bcd02815260206004820152601160248201527f73636f726520697320746f6f2068696768000000000000000000000000000000604482015290519081900360640190fd5b6006546110d6908263ffffffff61153116565b600655604080518b8152602081018b905281518692600160a060020a038c16927fd173f98f4a2080eab40a0bff4d9a575753270cb2401c74efdec1feb0ba31b426929081900390910190a35050509695505050505050565b600082151561113f57506000610961565b82820282848281151561114e57fe5b041461115957600080fd5b9392505050565b600080821161116e57600080fd5b6000828481151561117b57fe5b04949350505050565b60008282111561119357600080fd5b50900390565b600160a060020a0382166000908152600260209081526040808320848452909152812080548210611214576040805160e560020a62461bcd02815260206004820152601460248201527f616d6f756e742073686f756c64206265203e2030000000000000000000000000604482015290519081900360640190fd5b80546000825560018201549092504211611278576040805160e560020a62461bcd02815260206004820152601a60248201527f636865636b20746865206c6f636b20706572696f642070617373000000000000604482015290519081900360640190fd5b60055461128b908363ffffffff61118416565b600555604080518381529051600160a060020a0386169185917fcb7ab693259d2332e08e7666832578144deb74443e37a762847e848793fc29819181900360200190a35092915050565b6112e783600160a060020a0316611529565b15156112f257600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106113cd5780518252601f1990920191602091820191016113ae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b509150915081151561144557600080fd5b805115806114ba5750805160201480156114ba575080601f81518110151561146957fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b15156114c557600080fd5b5050505050565b60005415611524576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b1190565b60008282018381101561115957600080fdfe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536296c6f636b2073686f756c64207374617274206166746572206c6f636b696e67537461727454696d656c6f636b2073686f756c642062652077697468696e2074686520616c6c6f776564206c6f636b696e6720706572696f646c6f636b696e6720656e642074696d652073686f756c642062652067726561746572207468616e206c6f636b696e672073746172742074696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686c6f636b696e6720706572696f642073686f756c64206265203c3d206d61784c6f636b696e67506572696f6472656465656d456e61626c6554696d65203e3d206c6f636b696e67456e6454696d65a165627a7a7230582014a2c043901f226c2abf683370cd7b5d1c78b4456b84ff4c6aa267e4608890990029",
  "sourceMap": "159:159:11:-;;;293:23;8:9:-1;5:2;;;30:1;27;20:12;5:2;293:23:11;159:159;;;;;;",
  "deployedSourceMap": "159:159:11:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;159:159:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1165:31:31;;;:::i;:::-;;;;;;;;;;;;;;;;294:47:33;;;:::i;:::-;;;;-1:-1:-1;;;;;294:47:33;;;;;;;;;;;;;;1128:31:31;;;:::i;815:26::-;;;:::i;560:20::-;;;:::i;407:101:27:-;;;:::i;770:38:31:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;770:38:31;-1:-1:-1;;;;;770:38:31;;:::i;1227:579:33:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;1227:579:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;648:59:31;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;648:59:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2469:696:33;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;2469:696:33;;;;;;;;-1:-1:-1;;;;;2469:696:33;;;;;;;;;;:::i;1360:807:31:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1360:807:31;-1:-1:-1;;;;;1360:807:31;;:::i;1056:29::-;;;:::i;1015:35::-;;;:::i;1091:31::-;;;:::i;883:25::-;;;:::i;914:30::-;;;:::i;847:::-;;;:::i;1974:245:33:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1974:245:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;378:49;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;378:49:33;;:::i;978:31:31:-;;;:::i;1165:::-;;;;:::o;294:47:33:-;;;-1:-1:-1;;;;;294:47:33;;:::o;1128:31:31:-;;;;:::o;815:26::-;;;;:::o;560:20::-;;;-1:-1:-1;;;;;560:20:31;;:::o;407:101:27:-;458:7;488:13;407:101;:::o;770:38:31:-;;;;;;;;;;;;;:::o;1227:579:33:-;1555:19;:42;;-1:-1:-1;;1555:42:33;-1:-1:-1;;;;;1555:42:33;;;;;1607:192;1634:7;1651:17;1678;1705:15;1730:17;1757;1784:14;1607:17;:192::i;:::-;1227:579;;;;;;;;:::o;648:59:31:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2469:696:33:-;2714:19;;:36;;;;;;-1:-1:-1;;;;;2714:36:33;;;;;;;;;2600:17;;;;;;2714:19;;;;;:28;;:36;;;;;;;;;;;:19;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;2714:36:33;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2714:36:33;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2714:36:33;;;;;;;;;-1:-1:-1;2714:36:33;-1:-1:-1;2781:1:33;2769:13;;2761:49;;;;;-1:-1:-1;;;;;2761:49:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:1;2828:15;;2820:53;;;;;-1:-1:-1;;;;;2820:53:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;2884:59;-1:-1:-1;;;;;2884:23:33;;2908:10;2928:4;2935:7;2884:59;:23;:59;:::i;:::-;2966:81;2978:7;2987;2996:10;3008:9;3019:11;3032:14;2966:11;:81::i;:::-;3058:23;;;;:12;:23;;;;;;;;;:32;;-1:-1:-1;;3058:32:33;-1:-1:-1;;;;;3058:32:33;;;;;;;;3106:52;;;;;;;;;;;;;3058:23;;-1:-1:-1;3058:32:33;:23;;3106:52;;;;;;;;2469:696;;;;;;;;:::o;1360:807:31:-;1523:16;;1413:18;;1505:15;:34;1497:69;;;;;-1:-1:-1;;;;;1497:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1584:20:31;;1607:1;1584:20;;;:6;:20;;;;;;:24;1576:56;;;;;-1:-1:-1;;;;;1576:56:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1658:20:31;;1642:13;1658:20;;;:6;:20;;;;;;;1688:24;;;;1754:16;;1658:20;;1642:13;1744:27;;1658:20;;1744:27;:9;:27;:::i;:::-;1722:49;;1794:27;1810:10;;1794:11;:15;;:27;;;;:::i;:::-;1903:20;;1781:40;;-1:-1:-1;1903:36:31;;1781:40;1903:36;:24;:36;:::i;:::-;1880:20;:59;1995:6;;:14;;;;;;;;-1:-1:-1;;;;;1995:6:31;;;;:12;;:14;;;;;;;;;;;;;;;:6;:14;;;5:2:-1;;;;30:1;27;20:12;5:2;1995:14:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1995:14:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1995:14:31;2069:6;;1966:111;;;;;;;;;;;;-1:-1:-1;;;;;1966:111:31;;;;;;;2069:6;;;1966:111;;;;;;:68;;;;;;;:111;;;;;1995:14;;1966:111;;;;;;;2069:6;1966:68;:111;;;5:2:-1;;;;30:1;27;20:12;5:2;1966:111:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1966:111:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1966:111:31;1949:163;;;;;;;-1:-1:-1;;;;;1949:163:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2128:32;;;;;;;;-1:-1:-1;;;;;2128:32:31;;;;;;;;;;;;;1360:807;;;;;:::o;1056:29::-;;;;:::o;1015:35::-;;;;:::o;1091:31::-;;;;:::o;883:25::-;;;;:::o;914:30::-;;;;:::o;847:::-;;;;:::o;1974:245:33:-;2048:4;2064:14;2081:40;2096:12;2110:10;2081:14;:40::i;:::-;2131:24;;;;:12;:24;;;;;;2064:57;;-1:-1:-1;2131:59:33;;-1:-1:-1;;;;;2131:24:33;2169:12;2064:57;2131:59;:37;:59;:::i;:::-;2208:4;2201:11;;;1974:245;;;;;:::o;378:49::-;;;;;;;;;;;;-1:-1:-1;;;;;378:49:33;;:::o;978:31:31:-;;;;:::o;5396:969::-;5683:6;;-1:-1:-1;;;;;5683:6:31;:19;5675:59;;;;;-1:-1:-1;;;;;5675:59:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5752:20:31;;;;5744:54;;;;;-1:-1:-1;;;;;5744:54:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;5816:35;;;5808:106;;;;-1:-1:-1;;;;;5808:106:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5932:36;;;;5924:83;;;;-1:-1:-1;;;;;5924:83:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6018:16;:36;;;6064:20;:40;;;6114:14;:32;;;6156:16;:36;;;6202:6;:16;;-1:-1:-1;;6202:16:31;-1:-1:-1;;;;;6202:16:31;;;;;6228;:36;;;6274:16;:36;;;6320:38;6343:14;6320:22;:38::i;:::-;5396:969;;;;;;;:::o;1566:597:26:-;1726:23;:10;-1:-1:-1;;;;;1726:21:26;;:23::i;:::-;1718:32;;;;;;;;1762:12;1776:24;1871:10;-1:-1:-1;;;;;1871:15:26;837:46;;;;;;;;;;;;;;;;;;827:57;;;;;;;1887:65;;;-1:-1:-1;;;;;1887:65:26;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;1887:65:26;;;;;;25:18:-1;;;61:17;;1887:65:26;182:15:-1;1887:65:26;;;;179:29:-1;;;;160:49;;1871:82:26;;;;;;;;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1871:82:26;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;1761:192:26;;;;2021:7;2013:16;;;;;;;;2076:18;;:23;;:79;;;2104:11;:18;2126:2;2104:24;:50;;;;;2133:11;2145:2;2133:15;;;;;;;;;;;;;;;;;;;;;:20;;;;2104:50;2068:88;;;;;;;;1566:597;;;;;;:::o;3159:1683:31:-;3407:17;243:13:27;;3375:14:31;;225:31:27;;217:84;;;;-1:-1:-1;;;;;217:84:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3462:1:31;3452:11;;3444:52;;;;;-1:-1:-1;;;;;3444:52:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;3525:16;;3514:27;;;3506:84;;;;-1:-1:-1;;;;;3506:84:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3618:1;3608:11;;3600:52;;;;;-1:-1:-1;;;;;3600:52:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;3731:14;;3724:3;:21;;3716:82;;;;-1:-1:-1;;;;;3716:82:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3877:16;;3870:3;:23;;3862:76;;;;-1:-1:-1;;;;;3862:76:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4003:15;;3971:48;;;;3996:4;3971:48;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;3971:48:31;;;;;;;3961:59;;;;;;-1:-1:-1;4048:22:31;;4068:1;4048:22;:19;:22;:::i;:::-;4030:15;:40;-1:-1:-1;;;;;4105:16:31;;4081:21;4105:16;;;:7;:16;;;;;;;;:27;;;;;;;;4142:23;;;4250:3;:13;;4229:18;;;:34;4287:11;;:24;;4158:7;4287:24;:15;:24;:::i;:::-;4273:11;:38;4339:15;;:28;;4359:7;4339:28;:19;:28;:::i;:::-;4321:15;:46;4377:13;4393:54;4434:12;4393:36;4418:10;4393:20;:7;4405;4393:20;:11;:20;:::i;:::-;:24;:36;:24;:36;:::i;:::-;:40;:54;:40;:54;:::i;:::-;4377:70;-1:-1:-1;4473:1:31;4465:9;;4457:39;;;;;-1:-1:-1;;;;;4457:39:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4524:15:31;;;;;;:6;:15;;;;;;:26;;4544:5;4524:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;4506:15:31;;;;;;:6;:15;;;;;:44;;;4687:16;;;4632:34;;;4631:52;;;;;;;;:72;4623:110;;;;;-1:-1:-1;;;;;4623:110:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;4756:10;;:21;;4771:5;4756:21;:14;:21;:::i;:::-;4743:10;:34;4793:42;;;;;;;;;;;;;;4807:9;;-1:-1:-1;;;;;4793:42:31;;;;;;;;;;;;;;311:1:27;;3159:1683:31;;;;;;;;;:::o;229:421:87:-;287:7;527:6;;523:45;;;-1:-1:-1;556:1:87;549:8;;523:45;590:5;;;594:1;590;:5;613;;;;;;;;:10;605:19;;;;;;642:1;229:421;-1:-1:-1;;;229:421:87:o;778:296::-;836:7;929:5;;;921:14;;;;;;945:9;961:1;957;:5;;;;;;;;;778:296;-1:-1:-1;;;;778:296:87:o;1205:145::-;1263:7;1290:6;;;;1282:15;;;;;;-1:-1:-1;1319:5:87;;;1205:145::o;2348:537:31:-;-1:-1:-1;;;;;2475:21:31;;2425:14;2475:21;;;:7;:21;;;;;;;;:33;;;;;;;;2526:13;;:17;-1:-1:-1;2518:50:31;;;;;-1:-1:-1;;;;;2518:50:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2587:13;;;2610:17;;-1:-1:-1;2717:18:31;;;2587:13;;-1:-1:-1;2699:15:31;:36;2691:75;;;;;-1:-1:-1;;;;;2691:75:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2794:15;;:27;;2814:6;2794:27;:19;:27;:::i;:::-;2776:15;:45;2837:41;;;;;;;;-1:-1:-1;;;;;2837:41:31;;;2845:10;;2837:41;;;;;;;;;2348:537;;;;;:::o;993:567:26:-;1134:23;:10;-1:-1:-1;;;;;1134:21:26;;:23::i;:::-;1126:32;;;;;;;;730:34;;;;;;;;;;;;;;;;;1295:54;;-1:-1:-1;;;;;1295:54:26;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;1295:54:26;;;;;;25:18:-1;;;61:17;;1295:54:26;182:15:-1;1295:54:26;179:29:-1;160:49;;1279:71:26;;;;1170:12;;1184:24;;1279:15;;;1295:54;1279:71;;;25:18:-1;1279:71:26;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1279:71:26;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;1169:181:26;;;;1418:7;1410:16;;;;;;;;1473:18;;:23;;:79;;;1501:11;:18;1523:2;1501:24;:50;;;;;1530:11;1542:2;1530:15;;;;;;;;;;;;;;;;;;;;;:20;;;;1501:50;1465:88;;;;;;;;993:567;;;;;:::o;658:187:27:-;764:1;739:13;:27;731:67;;;;;-1:-1:-1;;;;;731:67:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;808:13;:30;658:187::o;463:616:93:-;523:4;1026:20;;1064:8;;463:616::o;1431:145:87:-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/arc/contracts/schemes/LockingToken4Reputation.sol\";\n\n/**\n * @title Scheme for locking GNO tokens for reputation\n */\ncontract DxLockWhitelisted4Rep is LockingToken4Reputation {\n    // TODO: Extend the new LockWhitelisted4Rep once it's implemented\n    constructor() public {}\n}\n",
  "sourcePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxLockWhitelisted4Rep.sol",
  "ast": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxLockWhitelisted4Rep.sol",
    "exportedSymbols": {
      "DxLockWhitelisted4Rep": [
        550
      ]
    },
    "id": 551,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 542,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:11"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
        "file": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
        "id": 543,
        "nodeType": "ImportDirective",
        "scope": 551,
        "sourceUnit": 5604,
        "src": "25:69:11",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 544,
              "name": "LockingToken4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5603,
              "src": "193:23:11",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                "typeString": "contract LockingToken4Reputation"
              }
            },
            "id": 545,
            "nodeType": "InheritanceSpecifier",
            "src": "193:23:11"
          }
        ],
        "contractDependencies": [
          4074,
          5348,
          5603
        ],
        "contractKind": "contract",
        "documentation": "@title Scheme for locking GNO tokens for reputation",
        "fullyImplemented": true,
        "id": 550,
        "linearizedBaseContracts": [
          550,
          5603,
          5348,
          4074
        ],
        "name": "DxLockWhitelisted4Rep",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 548,
              "nodeType": "Block",
              "src": "314:2:11",
              "statements": []
            },
            "documentation": null,
            "id": 549,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 546,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "304:2:11"
            },
            "returnParameters": {
              "id": 547,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "314:0:11"
            },
            "scope": 550,
            "src": "293:23:11",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 551,
        "src": "159:159:11"
      }
    ],
    "src": "0:319:11"
  },
  "legacyAST": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxLockWhitelisted4Rep.sol",
    "exportedSymbols": {
      "DxLockWhitelisted4Rep": [
        550
      ]
    },
    "id": 551,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 542,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:11"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
        "file": "@daostack/arc/contracts/schemes/LockingToken4Reputation.sol",
        "id": 543,
        "nodeType": "ImportDirective",
        "scope": 551,
        "sourceUnit": 5604,
        "src": "25:69:11",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 544,
              "name": "LockingToken4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5603,
              "src": "193:23:11",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_LockingToken4Reputation_$5603",
                "typeString": "contract LockingToken4Reputation"
              }
            },
            "id": 545,
            "nodeType": "InheritanceSpecifier",
            "src": "193:23:11"
          }
        ],
        "contractDependencies": [
          4074,
          5348,
          5603
        ],
        "contractKind": "contract",
        "documentation": "@title Scheme for locking GNO tokens for reputation",
        "fullyImplemented": true,
        "id": 550,
        "linearizedBaseContracts": [
          550,
          5603,
          5348,
          4074
        ],
        "name": "DxLockWhitelisted4Rep",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 548,
              "nodeType": "Block",
              "src": "314:2:11",
              "statements": []
            },
            "documentation": null,
            "id": 549,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 546,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "304:2:11"
            },
            "returnParameters": {
              "id": 547,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "314:0:11"
            },
            "scope": 550,
            "src": "293:23:11",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 551,
        "src": "159:159:11"
      }
    ],
    "src": "0:319:11"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {
    "1": {
      "events": {},
      "links": {},
      "address": "0x1cb5B2BB4030220ad5417229A7A1E3c373cDD2F6",
      "transactionHash": "0xc8d00807c430a789a653ed680b8cf9c8c6a4ba68aafe62555efba359321cbc0e"
    },
    "4": {
      "events": {},
      "links": {},
      "address": "0xa9E2754048986d81f28aB0E8E7Da1a98F02220b8",
      "transactionHash": "0x43760b1a806080cd876890ce6ebf8e1ba592bb5c9e3c9147d8b2802d0010ca75"
    }
  },
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.247Z",
  "devdoc": {
    "methods": {
      "getAgreementHash()": {
        "details": "getAgreementHash",
        "return": "bytes32 agreementHash"
      },
      "initialize(address,uint256,uint256,uint256,uint256,uint256,address,bytes32)": {
        "details": "initialize",
        "params": {
          "_avatar": "the avatar to mint reputation from",
          "_lockingEndTime": "the locking end time.       locking is disable after this time.",
          "_lockingStartTime": "locking starting period time.",
          "_maxLockingPeriod": "maximum locking period allowed.",
          "_priceOracleContract": "the price oracle contract which the locked token will be       validated against",
          "_redeemEnableTime": "redeem enable time .       redeem reputation can be done after this time.",
          "_reputationReward": "the total reputation this contract will reward       for the token locking"
        }
      },
      "lock(uint256,uint256,address,bytes32)": {
        "details": "lock function",
        "params": {
          "_amount": "the amount to lock",
          "_period": "the locking period",
          "_token": "the token to lock - this should be whitelisted at the priceOracleContract"
        },
        "return": "lockingId"
      },
      "redeem(address)": {
        "details": "redeem reputation function",
        "params": {
          "_beneficiary": "the beneficiary for the release"
        },
        "return": "uint256 reputation rewarded"
      },
      "release(address,bytes32)": {
        "details": "release locked tokens",
        "params": {
          "_beneficiary": "the release _beneficiary",
          "_lockingId": "the locking id"
        },
        "return": "bool"
      }
    },
    "title": "Scheme for locking GNO tokens for reputation"
  },
  "userdoc": {
    "methods": {}
  }
}