{
  "contractName": "DxGenAuction4Rep",
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "_amount",
          "type": "uint256"
        },
        {
          "name": "_auctionId",
          "type": "uint256"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "bid",
      "outputs": [
        {
          "name": "auctionId",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "auctionPeriod",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "auctionReputationReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_bidder",
          "type": "address"
        },
        {
          "name": "_auctionId",
          "type": "uint256"
        }
      ],
      "name": "getBid",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "name": "_auctionId",
          "type": "uint256"
        }
      ],
      "name": "redeem",
      "outputs": [
        {
          "name": "reputation",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "redeemEnableTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "transferToWallet",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "numberOfAuctions",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "wallet",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "auctionsEndTime",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "auctions",
      "outputs": [
        {
          "name": "totalBid",
          "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": false,
      "inputs": [
        {
          "name": "_avatar",
          "type": "address"
        },
        {
          "name": "_auctionReputationReward",
          "type": "uint256"
        },
        {
          "name": "_auctionsStartTime",
          "type": "uint256"
        },
        {
          "name": "_auctionPeriod",
          "type": "uint256"
        },
        {
          "name": "_numberOfAuctions",
          "type": "uint256"
        },
        {
          "name": "_redeemEnableTime",
          "type": "uint256"
        },
        {
          "name": "_token",
          "type": "address"
        },
        {
          "name": "_wallet",
          "type": "address"
        },
        {
          "name": "_agreementHash",
          "type": "bytes32"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "auctionsStartTime",
      "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": "token",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_bidder",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "_auctionId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Bid",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_auctionId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Redeem",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_auctionId\",\"type\":\"uint256\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"bid\",\"outputs\":[{\"name\":\"auctionId\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctionPeriod\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctionReputationReward\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_bidder\",\"type\":\"address\"},{\"name\":\"_auctionId\",\"type\":\"uint256\"}],\"name\":\"getBid\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_auctionId\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"name\":\"reputation\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"redeemEnableTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"transferToWallet\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"numberOfAuctions\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"wallet\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctionsEndTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"auctions\",\"outputs\":[{\"name\":\"totalBid\",\"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\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_auctionReputationReward\",\"type\":\"uint256\"},{\"name\":\"_auctionsStartTime\",\"type\":\"uint256\"},{\"name\":\"_auctionPeriod\",\"type\":\"uint256\"},{\"name\":\"_numberOfAuctions\",\"type\":\"uint256\"},{\"name\":\"_redeemEnableTime\",\"type\":\"uint256\"},{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_wallet\",\"type\":\"address\"},{\"name\":\"_agreementHash\",\"type\":\"bytes32\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctionsStartTime\",\"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\":\"token\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_bidder\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_auctionId\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Bid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_auctionId\",\"type\":\"uint256\"},{\"indexed\":true,\"name\":\"_beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"bid(uint256,uint256,bytes32)\":{\"details\":\"bid function\",\"params\":{\"_amount\":\"the amount to bid with\",\"_auctionId\":\"the auction id to bid at .\"},\"return\":\"auctionId\"},\"getAgreementHash()\":{\"details\":\"getAgreementHash\",\"return\":\"bytes32 agreementHash\"},\"getBid(address,uint256)\":{\"details\":\"getBid get bid for specific bidder and _auctionId\",\"params\":{\"_auctionId\":\"auction id\",\"_bidder\":\"the bidder\"},\"return\":\"uint\"},\"initialize(address,uint256,uint256,uint256,uint256,uint256,address,address,bytes32)\":{\"details\":\"initialize\",\"params\":{\"_agreementHash\":\"is a hash of agreement required to be added to the TX by participants\",\"_auctionPeriod\":\"auctions period time.       auctionsEndTime is set to _auctionsStartTime + _auctionPeriod*_numberOfAuctions       bidding is disable after auctionsEndTime.\",\"_auctionReputationReward\":\"the reputation reward per auction this contract will reward       for the token locking\",\"_auctionsStartTime\":\"auctions period start time\",\"_avatar\":\"the avatar to mint reputation from\",\"_numberOfAuctions\":\"number of auctions.\",\"_redeemEnableTime\":\"redeem enable time .       redeem reputation can be done after this time.\",\"_token\":\"the bidding token\",\"_wallet\":\"the address of the wallet the token will be transfer to.        Please note that _wallet address should be a trusted account.        Normally this address should be set as the DAO's avatar address.\"}},\"redeem(address,uint256)\":{\"details\":\"redeem reputation function\",\"params\":{\"_auctionId\":\"the auction id to redeem from.\",\"_beneficiary\":\"the beneficiary to redeem.\"},\"return\":\"uint256 reputation rewarded\"},\"transferToWallet()\":{\"details\":\"transferToWallet transfer the tokens to the wallet.     can be called only after auctionsEndTime\"}},\"title\":\"Scheme for conducting ERC20 Tokens auctions for reputation\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxGenAuction4Rep.sol\":\"DxGenAuction4Rep\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxGenAuction4Rep.sol\":{\"keccak256\":\"0x0668947a375823df4be225a5b95cf83b9b459479f0cd8cb4687debb41eadb483\",\"urls\":[\"bzzr://a6d3449fd810ae6ede07e8cb5c557bfa055242a846bc57e7766a3a31b3e2aa48\"]},\"@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/Auction4Reputation.sol\":{\"keccak256\":\"0xc1dae6a93b31100eca0d315556a1b156fff299e4d8b084180350d6d79dc30f72\",\"urls\":[\"bzzr://e8d4ed4b683ee7ef6d7dcd76b6e7c3a021aaae28d3b6fa6d31310d6f95010290\"]},\"@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": "0x608060405234801561001057600080fd5b506111e6806100206000396000f3fe608060405234801561001057600080fd5b5060043610610128576000357c010000000000000000000000000000000000000000000000000000000090048063521eb273116100bf578063696da9211161008e578063696da9211461023b5780638127e801146102435780639abc03d2146102a1578063afe0e33c146102a9578063fc0c546a146102b157610128565b8063521eb273146101ea57806356e492871461020e578063571a26a0146102165780635aef7de61461023357610128565b80631e9a6950116100fb5780631e9a6950146101a45780633d1678f4146101d05780634870b81d146101d857806350d9d472146101e257610128565b80630b722bbb1461012d5780630cccfc581461016857806311c4dbf41461017057806316ab2b0314610178575b600080fd5b6101566004803603606081101561014357600080fd5b50803590602081013590604001356102b9565b60408051918252519081900360200190f35b6101566104fe565b610156610504565b6101566004803603604081101561018e57600080fd5b50600160a060020a03813516906020013561050a565b610156600480360360408110156101ba57600080fd5b50600160a060020a038135169060200135610536565b61015661083c565b6101e0610842565b005b610156610954565b6101f261095a565b60408051600160a060020a039092168252519081900360200190f35b610156610969565b6101566004803603602081101561022c57600080fd5b503561096f565b6101f2610981565b610156610990565b6101e0600480360361012081101561025a57600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c082013581169160e0810135909116906101000135610996565b610156610bd3565b610156610bd9565b6101f2610bdf565b60008054829081146102ff5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806111726028913960400191505060405180910390fd5b60008511610357576040805160e560020a62461bcd02815260206004820152601c60248201527f62696464696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600454421061039a5760405160e560020a62461bcd0281526004018080602001828103825260338152602001806110c06033913960400191505060405180910390fd5b6005544210156103de5760405160e560020a62461bcd02815260040180806020018281038252603681526020018061113c6036913960400191505060405180910390fd5b600a546103fc90600160a060020a031633308863ffffffff610bee16565b600854600554420381151561040d57fe5b049150838214610467576040805160e560020a62461bcd02815260206004820152601560248201527f61756374696f6e206973206e6f74206163746976650000000000000000000000604482015290519081900360640190fd5b60008281526001602052604090208054610487908763ffffffff610de616565b81553360009081526001820160205260409020546104ab908763ffffffff610de616565b336000818152600184016020908152604091829020939093558051898152905186937f19421268847f42dd61705778018ddfc43bcdce8517e7a630acb12f122c709481928290030190a350509392505050565b60085481565b60075481565b6000818152600160208181526040808420600160a060020a038716855290920190529020545b92915050565b6009546000904211610592576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b6000828152600160208181526040808420600160a060020a038816855292830190915282205490918111610610576040805160e560020a62461bcd02815260206004820152601c60248201527f62696464696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600183016020526040812081905560075461064190839063ffffffff610dff16565b835490915061065790829063ffffffff610e2a16565b60035490945061066d908563ffffffff610e4e16565b600355600254604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b1580156106ce57600080fd5b505afa1580156106e2573d6000803e3d6000fd5b505050506040513d60208110156106f857600080fd5b5051600254604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a038a8116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561077157600080fd5b505af1158015610785573d6000803e3d6000fd5b505050506040513d602081101561079b57600080fd5b505115156107f3576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518581529051600160a060020a0388169187917f1069ba7d3dd3d969eada9a014b1e1a8e2ab1ef7f38989db8ce98e698ac844f659181900360200190a350505092915050565b60095481565b600454421161089b576040805160e560020a62461bcd02815260206004820152601560248201527f6e6f77203e2061756374696f6e73456e6454696d650000000000000000000000604482015290519081900360640190fd5b600a54604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092600160a060020a0316916370a08231916024808301926020929190829003018186803b1580156108ff57600080fd5b505afa158015610913573d6000803e3d6000fd5b505050506040513d602081101561092957600080fd5b5051600b54600a5491925061095191600160a060020a0390811691168363ffffffff610e6316565b50565b60065481565b600b54600160a060020a031681565b60045481565b60016020526000908152604090205481565b600254600160a060020a031681565b60005490565b600254600160a060020a0316156109f7576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0389161515610a57576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b60008511610a995760405160e560020a62461bcd02815260040180806020018281038252602181526020018061119a6021913960400191505060405180910390fd5b600f8611610af1576040805160e560020a62461bcd02815260206004820152601c60248201527f61756374696f6e506572696f642073686f756c64206265203e20313500000000604482015290519081900360640190fd5b6008869055610b06868663ffffffff610dff16565b87016004819055841015610b4e5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806110f36024913960400191505060405180910390fd5b600a8054600160a060020a0380861673ffffffffffffffffffffffffffffffffffffffff1992831617909255600280548c841690831617905560058990556006879055600b8054928516929091169190911790556007889055610bb7888663ffffffff610dff16565b6003556009849055610bc88161105a565b505050505050505050565b60055481565b60035481565b600a54600160a060020a031681565b610c0084600160a060020a03166110b7565b1515610c0b57600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161111760259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610ce65780518252601f199092019160209182019101610cc7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610d48576040519150601f19603f3d011682016040523d82523d6000602084013e610d4d565b606091505b5091509150811515610d5e57600080fd5b80511580610dd3575080516020148015610dd3575080601f815181101515610d8257fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610dde57600080fd5b505050505050565b600082820183811015610df857600080fd5b9392505050565b6000821515610e1057506000610530565b828202828482811515610e1f57fe5b0414610df857600080fd5b6000808211610e3857600080fd5b60008284811515610e4557fe5b04949350505050565b600082821115610e5d57600080fd5b50900390565b610e7583600160a060020a03166110b7565b1515610e8057600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b60208310610f5b5780518252601f199092019160209182019101610f3c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610fbd576040519150601f19603f3d011682016040523d82523d6000602084013e610fc2565b606091505b5091509150811515610fd357600080fd5b80511580611048575080516020148015611048575080601f815181101515610ff757fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b151561105357600080fd5b5050505050565b600054156110b2576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b119056fe62696464696e672073686f756c642062652077697468696e2074686520616c6c6f7765642062696464696e6720706572696f645f72656465656d456e61626c6554696d65203e3d2061756374696f6e73456e6454696d657472616e7366657246726f6d28616464726573732c616464726573732c75696e743235362962696464696e6720697320656e61626c65206f6e6c792061667465722062696464696e672061756374696f6e73537461727454696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686e756d626572206f662061756374696f6e732063616e6e6f74206265207a65726fa165627a7a7230582079f362e21cc495d66de296b1a47c3f68d690cbe2cb6b8e3e0c0188470b4616460029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b5060043610610128576000357c010000000000000000000000000000000000000000000000000000000090048063521eb273116100bf578063696da9211161008e578063696da9211461023b5780638127e801146102435780639abc03d2146102a1578063afe0e33c146102a9578063fc0c546a146102b157610128565b8063521eb273146101ea57806356e492871461020e578063571a26a0146102165780635aef7de61461023357610128565b80631e9a6950116100fb5780631e9a6950146101a45780633d1678f4146101d05780634870b81d146101d857806350d9d472146101e257610128565b80630b722bbb1461012d5780630cccfc581461016857806311c4dbf41461017057806316ab2b0314610178575b600080fd5b6101566004803603606081101561014357600080fd5b50803590602081013590604001356102b9565b60408051918252519081900360200190f35b6101566104fe565b610156610504565b6101566004803603604081101561018e57600080fd5b50600160a060020a03813516906020013561050a565b610156600480360360408110156101ba57600080fd5b50600160a060020a038135169060200135610536565b61015661083c565b6101e0610842565b005b610156610954565b6101f261095a565b60408051600160a060020a039092168252519081900360200190f35b610156610969565b6101566004803603602081101561022c57600080fd5b503561096f565b6101f2610981565b610156610990565b6101e0600480360361012081101561025a57600080fd5b50600160a060020a03813581169160208101359160408201359160608101359160808201359160a08101359160c082013581169160e0810135909116906101000135610996565b610156610bd3565b610156610bd9565b6101f2610bdf565b60008054829081146102ff5760405160e560020a62461bcd0281526004018080602001828103825260288152602001806111726028913960400191505060405180910390fd5b60008511610357576040805160e560020a62461bcd02815260206004820152601c60248201527f62696464696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600454421061039a5760405160e560020a62461bcd0281526004018080602001828103825260338152602001806110c06033913960400191505060405180910390fd5b6005544210156103de5760405160e560020a62461bcd02815260040180806020018281038252603681526020018061113c6036913960400191505060405180910390fd5b600a546103fc90600160a060020a031633308863ffffffff610bee16565b600854600554420381151561040d57fe5b049150838214610467576040805160e560020a62461bcd02815260206004820152601560248201527f61756374696f6e206973206e6f74206163746976650000000000000000000000604482015290519081900360640190fd5b60008281526001602052604090208054610487908763ffffffff610de616565b81553360009081526001820160205260409020546104ab908763ffffffff610de616565b336000818152600184016020908152604091829020939093558051898152905186937f19421268847f42dd61705778018ddfc43bcdce8517e7a630acb12f122c709481928290030190a350509392505050565b60085481565b60075481565b6000818152600160208181526040808420600160a060020a038716855290920190529020545b92915050565b6009546000904211610592576040805160e560020a62461bcd02815260206004820152601660248201527f6e6f77203e2072656465656d456e61626c6554696d6500000000000000000000604482015290519081900360640190fd5b6000828152600160208181526040808420600160a060020a038816855292830190915282205490918111610610576040805160e560020a62461bcd02815260206004820152601c60248201527f62696464696e6720616d6f756e742073686f756c64206265203e203000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600183016020526040812081905560075461064190839063ffffffff610dff16565b835490915061065790829063ffffffff610e2a16565b60035490945061066d908563ffffffff610e4e16565b600355600254604080517f8da5cb5b0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921691638da5cb5b91600480820192602092909190829003018186803b1580156106ce57600080fd5b505afa1580156106e2573d6000803e3d6000fd5b505050506040513d60208110156106f857600080fd5b5051600254604080517feaf994b200000000000000000000000000000000000000000000000000000000815260048101889052600160a060020a038a8116602483015292831660448201529051919092169163eaf994b29160648083019260209291908290030181600087803b15801561077157600080fd5b505af1158015610785573d6000803e3d6000fd5b505050506040513d602081101561079b57600080fd5b505115156107f3576040805160e560020a62461bcd02815260206004820152601e60248201527f6d696e742072657075746174696f6e2073686f756c6420737563636565640000604482015290519081900360640190fd5b604080518581529051600160a060020a0388169187917f1069ba7d3dd3d969eada9a014b1e1a8e2ab1ef7f38989db8ce98e698ac844f659181900360200190a350505092915050565b60095481565b600454421161089b576040805160e560020a62461bcd02815260206004820152601560248201527f6e6f77203e2061756374696f6e73456e6454696d650000000000000000000000604482015290519081900360640190fd5b600a54604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092600160a060020a0316916370a08231916024808301926020929190829003018186803b1580156108ff57600080fd5b505afa158015610913573d6000803e3d6000fd5b505050506040513d602081101561092957600080fd5b5051600b54600a5491925061095191600160a060020a0390811691168363ffffffff610e6316565b50565b60065481565b600b54600160a060020a031681565b60045481565b60016020526000908152604090205481565b600254600160a060020a031681565b60005490565b600254600160a060020a0316156109f7576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e2062652063616c6c6564206f6e6c79206f6e652074696d650000000000604482015290519081900360640190fd5b600160a060020a0389161515610a57576040805160e560020a62461bcd02815260206004820152601560248201527f6176617461722063616e6e6f74206265207a65726f0000000000000000000000604482015290519081900360640190fd5b60008511610a995760405160e560020a62461bcd02815260040180806020018281038252602181526020018061119a6021913960400191505060405180910390fd5b600f8611610af1576040805160e560020a62461bcd02815260206004820152601c60248201527f61756374696f6e506572696f642073686f756c64206265203e20313500000000604482015290519081900360640190fd5b6008869055610b06868663ffffffff610dff16565b87016004819055841015610b4e5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806110f36024913960400191505060405180910390fd5b600a8054600160a060020a0380861673ffffffffffffffffffffffffffffffffffffffff1992831617909255600280548c841690831617905560058990556006879055600b8054928516929091169190911790556007889055610bb7888663ffffffff610dff16565b6003556009849055610bc88161105a565b505050505050505050565b60055481565b60035481565b600a54600160a060020a031681565b610c0084600160a060020a03166110b7565b1515610c0b57600080fd5b6000606085600160a060020a03166060604051908101604052806025815260200161111760259139805160209182012060408051600160a060020a03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092178252518251909182918083835b60208310610ce65780518252601f199092019160209182019101610cc7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610d48576040519150601f19603f3d011682016040523d82523d6000602084013e610d4d565b606091505b5091509150811515610d5e57600080fd5b80511580610dd3575080516020148015610dd3575080601f815181101515610d8257fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b1515610dde57600080fd5b505050505050565b600082820183811015610df857600080fd5b9392505050565b6000821515610e1057506000610530565b828202828482811515610e1f57fe5b0414610df857600080fd5b6000808211610e3857600080fd5b60008284811515610e4557fe5b04949350505050565b600082821115610e5d57600080fd5b50900390565b610e7583600160a060020a03166110b7565b1515610e8057600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e7432353629000000000000006020918201528151600160a060020a0385811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b60208310610f5b5780518252601f199092019160209182019101610f3c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610fbd576040519150601f19603f3d011682016040523d82523d6000602084013e610fc2565b606091505b5091509150811515610fd357600080fd5b80511580611048575080516020148015611048575080601f815181101515610ff757fe5b6020910101517f010000000000000000000000000000000000000000000000000000000000000090819004027fff000000000000000000000000000000000000000000000000000000000000001615155b151561105357600080fd5b5050505050565b600054156110b2576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e206e6f74207365742061677265656d656e742074776963650000000000604482015290519081900360640190fd5b600055565b6000903b119056fe62696464696e672073686f756c642062652077697468696e2074686520616c6c6f7765642062696464696e6720706572696f645f72656465656d456e61626c6554696d65203e3d2061756374696f6e73456e6454696d657472616e7366657246726f6d28616464726573732c616464726573732c75696e743235362962696464696e6720697320656e61626c65206f6e6c792061667465722062696464696e672061756374696f6e73537461727454696d6553656e646572206d7573742073656e64207468652072696768742061677265656d656e74486173686e756d626572206f662061756374696f6e732063616e6e6f74206265207a65726fa165627a7a7230582079f362e21cc495d66de296b1a47c3f68d690cbe2cb6b8e3e0c0188470b4616460029",
  "sourceMap": "168:79:8:-;;;222:23;8:9:-1;5:2;;;30:1;27;20:12;5:2;222:23:8;168:79;;;;;;",
  "deployedSourceMap": "168:79:8:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;168:79:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4749:1021:28;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4749:1021:28;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1025:28;;;:::i;981:38::-;;;:::i;5943:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5943:140:28;;;;;;;;:::i;3694:886::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3694:886:28;;;;;;;;:::i;1059:31::-;;;:::i;6222:281::-;;;:::i;:::-;;944:31;;;:::i;1121:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1121:21:28;;;;;;;;;;;;;;870:30;;;:::i;758:38::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;758:38:28;;:::i;803:20::-;;;:::i;407:101:27:-;;;:::i;2182:1298:28:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;2182:1298:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;906:32::-;;;:::i;829:35::-;;;:::i;1096:19::-;;;:::i;4749:1021::-;4876:17;243:13:27;;4848:14:28;;225:31:27;;217:84;;;;-1:-1:-1;;;;;217:84:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4927:1:28;4917:11;;4909:52;;;;;-1:-1:-1;;;;;4909:52:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;5039:15;;5033:3;:21;5025:85;;;;-1:-1:-1;;;;;5025:85:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5189:17;;5182:3;:24;;5174:91;;;;-1:-1:-1;;;;;5174:91:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5283:5;;5275:67;;-1:-1:-1;;;;;5283:5:28;5307:10;5327:4;5334:7;5275:67;:31;:67;:::i;:::-;5446:13;;5425:17;;5419:3;:23;5418:41;;;;;;;;;-1:-1:-1;5477:23:28;;;5469:57;;;;;-1:-1:-1;;;;;5469:57:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;5536:23;5562:19;;;:8;:19;;;;;5610:16;;:29;;5631:7;5610:29;:20;:29;:::i;:::-;5591:48;;5689:10;5591:16;5676:24;;;:12;;;:24;;;;;;:37;;5705:7;5676:37;:28;:37;:::i;:::-;5662:10;5649:24;;;;:12;;;:24;;;;;;;;;:64;;;;5728:35;;;;;;;5744:9;;5728:35;;;;;;;;311:1:27;4749:1021:28;;;;;;:::o;1025:28::-;;;;:::o;981:38::-;;;;:::o;5943:140::-;6016:7;6042:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;6042:34:28;;;;:25;;;:34;;;;;5943:140;;;;;:::o;3694:886::-;3865:16;;3767:18;;3859:3;:22;3851:57;;;;;-1:-1:-1;;;;;3851:57:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;3918:23;3944:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;3988:26:28;;;;:12;;;:26;;;;;;3944:20;;4032:7;;4024:48;;;;;-1:-1:-1;;;;;4024:48:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4082:26:28;;4111:1;4082:26;;;:12;;;:26;;;;;:30;;;4152:23;;4144:32;;:3;;:32;:7;:32;:::i;:::-;4215:16;;4122:54;;-1:-1:-1;4199:33:28;;4122:54;;4199:33;:15;:33;:::i;:::-;4314:20;;4186:46;;-1:-1:-1;4314:36:28;;4186:46;4314:36;:24;:36;:::i;:::-;4291:20;:59;4397:6;;:14;;;;;;;;-1:-1:-1;;;;;4397:6:28;;;;:12;;:14;;;;;;;;;;;;;;;:6;:14;;;5:2:-1;;;;30:1;27;20:12;5:2;4397:14:28;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4397:14:28;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4397:14:28;4471:6;;4377:102;;;;;;;;;;;;-1:-1:-1;;;;;4377:102:28;;;;;;;4471:6;;;4377:102;;;;;;:59;;;;;;;:102;;;;;4397:14;;4377:102;;;;;;;4471:6;4377:59;:102;;;5:2:-1;;;;30:1;27;20:12;5:2;4377:102:28;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4377:102:28;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4377:102:28;4360:154;;;;;;;-1:-1:-1;;;;;4360:154:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;4529:44;;;;;;;;-1:-1:-1;;;;;4529:44:28;;;4536:10;;4529:44;;;;;;;;;3694:886;;;;;;;:::o;1059:31::-;;;;:::o;6222:281::-;6333:15;;6327:3;:21;6319:55;;;;;-1:-1:-1;;;;;6319:55:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;6407:5;;:30;;;;;;6431:4;6407:30;;;;;;6384:20;;-1:-1:-1;;;;;6407:5:28;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;6407:30:28;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6407:30:28;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6407:30:28;6475:6;;6455:5;;6407:30;;-1:-1:-1;6447:49:28;;-1:-1:-1;;;;;6455:5:28;;;;6475:6;6407:30;6447:49;:27;:49;:::i;:::-;6222:281;:::o;944:31::-;;;;:::o;1121:21::-;;;-1:-1:-1;;;;;1121:21:28;;:::o;870:30::-;;;;:::o;758:38::-;;;;;;;;;;;;;:::o;803:20::-;;;-1:-1:-1;;;;;803:20:28;;:::o;407:101:27:-;458:7;488:13;407:101;:::o;2182:1298:28:-;2523:6;;-1:-1:-1;;;;;2523:6:28;:19;2515:59;;;;;-1:-1:-1;;;;;2515:59:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2592:20:28;;;;2584:54;;;;;-1:-1:-1;;;;;2584:54:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;2676:1;2656:21;;2648:67;;;;-1:-1:-1;;;;;2648:67:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2813:2;2796:19;;2788:60;;;;;-1:-1:-1;;;;;2788:60:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;2858:13;:30;;;2937:37;2874:14;2956:17;2937:37;:18;:37;:::i;:::-;2916:58;;2898:15;:76;;;2992:36;;;2984:85;;;;-1:-1:-1;;;;;2984:85:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3079:5;:14;;-1:-1:-1;;;;;3079:14:28;;;-1:-1:-1;;3079:14:28;;;;;;;3103:6;:16;;;;;;;;;;;3129:17;:38;;;3177:16;:36;;;3223:6;:16;;;;;;;;;;;;;;;3249:23;:50;;;3332:47;3275:24;3196:17;3332:47;:28;:47;:::i;:::-;3309:20;:70;3389:16;:36;;;3435:38;3458:14;3435:22;:38::i;:::-;2182:1298;;;;;;;;;:::o;906:32::-;;;;:::o;829:35::-;;;;:::o;1096:19::-;;;-1:-1:-1;;;;;1096:19:28;;:::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;1431:145:87:-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;;;1568:1;1431:145;-1:-1:-1;;;1431:145:87:o;229:421::-;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;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",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/arc/contracts/schemes/Auction4Reputation.sol\";\n\n/**\n * @title Scheme for conducting ERC20 Tokens auctions for reputation\n */\ncontract DxGenAuction4Rep is Auction4Reputation {\n    constructor() public {}\n}\n",
  "sourcePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxGenAuction4Rep.sol",
  "ast": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxGenAuction4Rep.sol",
    "exportedSymbols": {
      "DxGenAuction4Rep": [
        520
      ]
    },
    "id": 521,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 512,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:8"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Auction4Reputation.sol",
        "file": "@daostack/arc/contracts/schemes/Auction4Reputation.sol",
        "id": 513,
        "nodeType": "ImportDirective",
        "scope": 521,
        "sourceUnit": 4489,
        "src": "25:64:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 514,
              "name": "Auction4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 4488,
              "src": "197:18:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Auction4Reputation_$4488",
                "typeString": "contract Auction4Reputation"
              }
            },
            "id": 515,
            "nodeType": "InheritanceSpecifier",
            "src": "197:18:8"
          }
        ],
        "contractDependencies": [
          4074,
          4488
        ],
        "contractKind": "contract",
        "documentation": "@title Scheme for conducting ERC20 Tokens auctions for reputation",
        "fullyImplemented": true,
        "id": 520,
        "linearizedBaseContracts": [
          520,
          4488,
          4074
        ],
        "name": "DxGenAuction4Rep",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 518,
              "nodeType": "Block",
              "src": "243:2:8",
              "statements": []
            },
            "documentation": null,
            "id": 519,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 516,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "233:2:8"
            },
            "returnParameters": {
              "id": 517,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "243:0:8"
            },
            "scope": 520,
            "src": "222:23:8",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 521,
        "src": "168:79:8"
      }
    ],
    "src": "0:248:8"
  },
  "legacyAST": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/schemes/bootstrap/DxGenAuction4Rep.sol",
    "exportedSymbols": {
      "DxGenAuction4Rep": [
        520
      ]
    },
    "id": 521,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 512,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:8"
      },
      {
        "absolutePath": "@daostack/arc/contracts/schemes/Auction4Reputation.sol",
        "file": "@daostack/arc/contracts/schemes/Auction4Reputation.sol",
        "id": 513,
        "nodeType": "ImportDirective",
        "scope": 521,
        "sourceUnit": 4489,
        "src": "25:64:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 514,
              "name": "Auction4Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 4488,
              "src": "197:18:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Auction4Reputation_$4488",
                "typeString": "contract Auction4Reputation"
              }
            },
            "id": 515,
            "nodeType": "InheritanceSpecifier",
            "src": "197:18:8"
          }
        ],
        "contractDependencies": [
          4074,
          4488
        ],
        "contractKind": "contract",
        "documentation": "@title Scheme for conducting ERC20 Tokens auctions for reputation",
        "fullyImplemented": true,
        "id": 520,
        "linearizedBaseContracts": [
          520,
          4488,
          4074
        ],
        "name": "DxGenAuction4Rep",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 518,
              "nodeType": "Block",
              "src": "243:2:8",
              "statements": []
            },
            "documentation": null,
            "id": 519,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 516,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "233:2:8"
            },
            "returnParameters": {
              "id": 517,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "243:0:8"
            },
            "scope": 520,
            "src": "222:23:8",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 521,
        "src": "168:79:8"
      }
    ],
    "src": "0:248:8"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {
    "1": {
      "events": {},
      "links": {},
      "address": "0x4D8DB062dEFa0254d00a44aA1602C30594e47B12",
      "transactionHash": "0x1477b8fc508b2fb8054a6f975898d1ae30ae2bc66e78732e7e55c32f105543e1"
    },
    "4": {
      "events": {},
      "links": {},
      "address": "0x2Bb3628138De9FA3F881452F41160Fb0fc5CB4fc",
      "transactionHash": "0x5a9ad91009c88efa68ed3f951d093089bda3d40a91a37824a6cf8f8a16abcae4"
    }
  },
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.245Z",
  "devdoc": {
    "methods": {
      "bid(uint256,uint256,bytes32)": {
        "details": "bid function",
        "params": {
          "_amount": "the amount to bid with",
          "_auctionId": "the auction id to bid at ."
        },
        "return": "auctionId"
      },
      "getAgreementHash()": {
        "details": "getAgreementHash",
        "return": "bytes32 agreementHash"
      },
      "getBid(address,uint256)": {
        "details": "getBid get bid for specific bidder and _auctionId",
        "params": {
          "_auctionId": "auction id",
          "_bidder": "the bidder"
        },
        "return": "uint"
      },
      "initialize(address,uint256,uint256,uint256,uint256,uint256,address,address,bytes32)": {
        "details": "initialize",
        "params": {
          "_agreementHash": "is a hash of agreement required to be added to the TX by participants",
          "_auctionPeriod": "auctions period time.       auctionsEndTime is set to _auctionsStartTime + _auctionPeriod*_numberOfAuctions       bidding is disable after auctionsEndTime.",
          "_auctionReputationReward": "the reputation reward per auction this contract will reward       for the token locking",
          "_auctionsStartTime": "auctions period start time",
          "_avatar": "the avatar to mint reputation from",
          "_numberOfAuctions": "number of auctions.",
          "_redeemEnableTime": "redeem enable time .       redeem reputation can be done after this time.",
          "_token": "the bidding token",
          "_wallet": "the address of the wallet the token will be transfer to.        Please note that _wallet address should be a trusted account.        Normally this address should be set as the DAO's avatar address."
        }
      },
      "redeem(address,uint256)": {
        "details": "redeem reputation function",
        "params": {
          "_auctionId": "the auction id to redeem from.",
          "_beneficiary": "the beneficiary to redeem."
        },
        "return": "uint256 reputation rewarded"
      },
      "transferToWallet()": {
        "details": "transferToWallet transfer the tokens to the wallet.     can be called only after auctionsEndTime"
      }
    },
    "title": "Scheme for conducting ERC20 Tokens auctions for reputation"
  },
  "userdoc": {
    "methods": {}
  }
}