{
  "contractName": "DxReputation",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "totalSupply",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "decimals",
      "outputs": [
        {
          "name": "",
          "type": "uint8"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_user",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "mint",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_blockNumber",
          "type": "uint256"
        }
      ],
      "name": "balanceOfAt",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        }
      ],
      "name": "balanceOf",
      "outputs": [
        {
          "name": "balance",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isOwner",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_blockNumber",
          "type": "uint256"
        }
      ],
      "name": "totalSupplyAt",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_user",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "burn",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_to",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Mint",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "_from",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "Burn",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_user\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_user\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"balanceOf(address)\":{\"details\":\"return the reputation amount of a given owner\",\"params\":{\"_owner\":\"an address of the owner which we want to get his reputation\"}},\"balanceOfAt(address,uint256)\":{\"details\":\"Queries the balance of `_owner` at a specific `_blockNumber`\",\"params\":{\"_blockNumber\":\"The block number when the balance is queried\",\"_owner\":\"The address from which the balance will be retrieved\"},\"return\":\"The balance at `_blockNumber`\"},\"burn(address,uint256)\":{\"params\":{\"_amount\":\"The quantity of reputation to burn\",\"_user\":\"The address that will lose the reputation\"},\"return\":\"True if the reputation are burned correctly\"},\"isOwner()\":{\"return\":\"true if `msg.sender` is the owner of the contract.\"},\"mint(address,uint256)\":{\"params\":{\"_amount\":\"The quantity of reputation generated\",\"_user\":\"The address that will be assigned the new reputation\"},\"return\":\"True if the reputation are generated correctly\"},\"owner()\":{\"return\":\"the address of the owner.\"},\"renounceOwnership()\":{\"details\":\"Allows the current owner to relinquish control of the contract.\"},\"totalSupply()\":{\"details\":\"This function makes it easy to get the total number of reputation\",\"return\":\"The total number of reputation\"},\"totalSupplyAt(uint256)\":{\"params\":{\"_blockNumber\":\"The block number when the totalSupply is queried\"},\"return\":\"The total amount of reputation at `_blockNumber`\"},\"transferOwnership(address)\":{\"details\":\"Allows the current owner to transfer control of the contract to a newOwner.\",\"params\":{\"newOwner\":\"The address to transfer ownership to.\"}}}},\"userdoc\":{\"methods\":{\"burn(address,uint256)\":{\"notice\":\"Burns `_amount` reputation from `_owner`\"},\"mint(address,uint256)\":{\"notice\":\"Generates `_amount` reputation that are assigned to `_owner`\"},\"renounceOwnership()\":{\"notice\":\"Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the `onlyOwner` modifier anymore.\"},\"totalSupplyAt(uint256)\":{\"notice\":\"Total amount of reputation at a specific `_blockNumber`.\"}}}},\"settings\":{\"compilationTarget\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/DxReputation.sol\":\"DxReputation\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/DxReputation.sol\":{\"keccak256\":\"0x16239d187acb842f57d96c94e6a60544924960817882f6fbf085e0e9c2f5054a\",\"urls\":[\"bzzr://835e610f8d0c1ab14f2968e05eccc3b01c150d8f78d9ebcdbafad63167a60f7a\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzzr://08894efa2a557982070beda6a81a032407e70532d24bdafe80d39660c74904d9\"]}},\"version\":1}",
  "bytecode": "0x60806040526000805460a060020a60ff0219167412000000000000000000000000000000000000000017905534801561003757600080fd5b5060008054600160a060020a0319163317808255604051600160a060020a039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36108d7806100906000396000f3fe608060405234801561001057600080fd5b50600436106100c6576000357c010000000000000000000000000000000000000000000000000000000090048063715018a61161008e578063715018a6146101955780638da5cb5b1461019f5780638f32d59b146101c3578063981b24d0146101cb5780639dc29fac146101e8578063f2fde38b14610214576100c6565b806318160ddd146100cb578063313ce567146100e557806340c10f19146101035780634ee2cd7e1461014357806370a082311461016f575b600080fd5b6100d361023a565b60408051918252519081900360200190f35b6100ed61024b565b6040805160ff9092168252519081900360200190f35b61012f6004803603604081101561011957600080fd5b50600160a060020a03813516906020013561026c565b604080519115158252519081900360200190f35b6100d36004803603604081101561015957600080fd5b50600160a060020a038135169060200135610335565b6100d36004803603602081101561018557600080fd5b5035600160a060020a03166103c7565b61019d6103db565b005b6101a7610445565b60408051600160a060020a039092168252519081900360200190f35b61012f610454565b6100d3600480360360208110156101e157600080fd5b5035610465565b61012f600480360360408110156101fe57600080fd5b50600160a060020a0381351690602001356104b9565b61019d6004803603602081101561022a57600080fd5b5035600160a060020a0316610570565b600061024543610465565b90505b90565b60005474010000000000000000000000000000000000000000900460ff1681565b6000610276610454565b151561028157600080fd5b600061028b61023a565b905082810181111561029c57600080fd5b60006102a7856103c7565b90508381018111156102b857600080fd5b6102c5600285840161058f565b600160a060020a03851660009081526001602052604090206102e99082860161058f565b604080518581529051600160a060020a038716917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a26001925050505b92915050565b600160a060020a03821660009081526001602052604081205415806103915750600160a060020a03831660009081526001602052604081208054849290811061037a57fe5b6000918252602090912001546001608060020a0316115b1561039e5750600061032f565b600160a060020a03831660009081526001602052604090206103c09083610697565b905061032f565b60006103d38243610335565b90505b919050565b6103e3610454565b15156103ee57600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031690565b600054600160a060020a0316331490565b600254600090158061049a5750816002600081548110151561048357fe5b6000918252602090912001546001608060020a0316115b156104a7575060006103d6565b6104b2600283610697565b90506103d6565b60006104c3610454565b15156104ce57600080fd5b60006104d861023a565b90508260006104e6866103c7565b9050818110156104f4578091505b610501600283850361058f565b600160a060020a03861660009081526001602052604090206105259083830361058f565b604080518381529051600160a060020a038816917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600195945050505050565b610578610454565b151561058357600080fd5b61058c816107e7565b50565b6001608060020a03811681146105a457600080fd5b815415806105d8575081544390839060001981019081106105c157fe5b6000918252602090912001546001608060020a0316105b1561064c57815460009083906105f18260018301610864565b815481106105fb57fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff19909316929092171617905550610693565b81546000908390600019810190811061066157fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b815460009015156106aa5750600061032f565b8254839060001981019081106106bc57fe5b6000918252602090912001546001608060020a03168210610719578254839060001981019081106106e957fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a0316905061032f565b82600081548110151561072857fe5b6000918252602090912001546001608060020a031682101561074c5750600061032f565b8254600090600019015b818111156107a757845460028383016001010490859087908390811061077857fe5b6000918252602090912001546001608060020a03161161079a578092506107a1565b6001810391505b50610756565b84828154811015156107b557fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b600160a060020a03811615156107fc57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8154818355818111156108885760008381526020902061088891810190830161088d565b505050565b61024891905b808211156108a75760008155600101610893565b509056fea165627a7a723058209b0f6e4b17a6dad98deddeed0e436af58d2f9e9e432383bbc3c54630b780ae530029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100c6576000357c010000000000000000000000000000000000000000000000000000000090048063715018a61161008e578063715018a6146101955780638da5cb5b1461019f5780638f32d59b146101c3578063981b24d0146101cb5780639dc29fac146101e8578063f2fde38b14610214576100c6565b806318160ddd146100cb578063313ce567146100e557806340c10f19146101035780634ee2cd7e1461014357806370a082311461016f575b600080fd5b6100d361023a565b60408051918252519081900360200190f35b6100ed61024b565b6040805160ff9092168252519081900360200190f35b61012f6004803603604081101561011957600080fd5b50600160a060020a03813516906020013561026c565b604080519115158252519081900360200190f35b6100d36004803603604081101561015957600080fd5b50600160a060020a038135169060200135610335565b6100d36004803603602081101561018557600080fd5b5035600160a060020a03166103c7565b61019d6103db565b005b6101a7610445565b60408051600160a060020a039092168252519081900360200190f35b61012f610454565b6100d3600480360360208110156101e157600080fd5b5035610465565b61012f600480360360408110156101fe57600080fd5b50600160a060020a0381351690602001356104b9565b61019d6004803603602081101561022a57600080fd5b5035600160a060020a0316610570565b600061024543610465565b90505b90565b60005474010000000000000000000000000000000000000000900460ff1681565b6000610276610454565b151561028157600080fd5b600061028b61023a565b905082810181111561029c57600080fd5b60006102a7856103c7565b90508381018111156102b857600080fd5b6102c5600285840161058f565b600160a060020a03851660009081526001602052604090206102e99082860161058f565b604080518581529051600160a060020a038716917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a26001925050505b92915050565b600160a060020a03821660009081526001602052604081205415806103915750600160a060020a03831660009081526001602052604081208054849290811061037a57fe5b6000918252602090912001546001608060020a0316115b1561039e5750600061032f565b600160a060020a03831660009081526001602052604090206103c09083610697565b905061032f565b60006103d38243610335565b90505b919050565b6103e3610454565b15156103ee57600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031690565b600054600160a060020a0316331490565b600254600090158061049a5750816002600081548110151561048357fe5b6000918252602090912001546001608060020a0316115b156104a7575060006103d6565b6104b2600283610697565b90506103d6565b60006104c3610454565b15156104ce57600080fd5b60006104d861023a565b90508260006104e6866103c7565b9050818110156104f4578091505b610501600283850361058f565b600160a060020a03861660009081526001602052604090206105259083830361058f565b604080518381529051600160a060020a038816917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600195945050505050565b610578610454565b151561058357600080fd5b61058c816107e7565b50565b6001608060020a03811681146105a457600080fd5b815415806105d8575081544390839060001981019081106105c157fe5b6000918252602090912001546001608060020a0316105b1561064c57815460009083906105f18260018301610864565b815481106105fb57fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff19909316929092171617905550610693565b81546000908390600019810190811061066157fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b815460009015156106aa5750600061032f565b8254839060001981019081106106bc57fe5b6000918252602090912001546001608060020a03168210610719578254839060001981019081106106e957fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a0316905061032f565b82600081548110151561072857fe5b6000918252602090912001546001608060020a031682101561074c5750600061032f565b8254600090600019015b818111156107a757845460028383016001010490859087908390811061077857fe5b6000918252602090912001546001608060020a03161161079a578092506107a1565b6001810391505b50610756565b84828154811015156107b557fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b600160a060020a03811615156107fc57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8154818355818111156108885760008381526020902061088891810190830161088d565b505050565b61024891905b808211156108a75760008155600101610893565b509056fea165627a7a723058209b0f6e4b17a6dad98deddeed0e436af58d2f9e9e432383bbc3c54630b780ae530029",
  "sourceMap": "94:67:2:-;;;611:26:44;;;-1:-1:-1;;;;;;611:26:44;;;;;136:23:2;5:2:-1;;;;30:1;27;20:12;5:2;-1:-1;515:6:88;:19;;-1:-1:-1;;;;;;515:19:88;524:10;515:19;;;;549:40;;-1:-1:-1;;;;;582:6:88;;;;;515;549:40;;515:6;;549:40;94:67:2;;;;;;",
  "deployedSourceMap": "94:67:2:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94:67:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1920:104:44;;;:::i;:::-;;;;;;;;;;;;;;;;611:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3956:559;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3956:559:44;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2678:388;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2678:388:44;;;;;;;;:::i;2266:130::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2266:130:44;-1:-1:-1;;;;;2266:130:44;;:::i;1347:137:88:-;;;:::i;:::-;;659:77;;;:::i;:::-;;;;-1:-1:-1;;;;;659:77:88;;;;;;;;;;;;;;979:90;;;:::i;3293:375:44:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3293:375:44;;:::i;4767:554::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4767:554:44;;;;;;;;:::i;1655:107:88:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1655:107:88;-1:-1:-1;;;;;1655:107:88;;:::i;1920:104:44:-;1964:7;1990:27;2004:12;1990:13;:27::i;:::-;1983:34;;1920:104;;:::o;611:26::-;;;;;;;;;:::o;3956:559::-;4028:4;863:9:88;:7;:9::i;:::-;855:18;;;;;;;;4044:22:44;4069:13;:11;:13::i;:::-;4044:38;-1:-1:-1;4100:24:44;;;:42;-1:-1:-1;4100:42:44;4092:51;;;;;;4175:25;4203:16;4213:5;4203:9;:16::i;:::-;4175:44;-1:-1:-1;4237:27:44;;;:48;-1:-1:-1;4237:48:44;4229:57;;;;;;4318:62;4335:18;4372:7;4355:14;:24;4318:16;:62::i;:::-;-1:-1:-1;;;;;4407:15:44;;;;;;:8;:15;;;;;4390:62;;4424:27;;;4390:16;:62::i;:::-;4467:20;;;;;;;;-1:-1:-1;;;;;4467:20:44;;;;;;;;;;;;;4504:4;4497:11;;;;883:1:88;3956:559:44;;;;:::o;2678:388::-;-1:-1:-1;;;;;2790:16:44;;2762:7;2790:16;;;:8;:16;;;;;:23;:28;;2789:80;;-1:-1:-1;;;;;;2824:16:44;;;;;;:8;:16;;;;;:19;;2856:12;;2824:16;:19;;;;;;;;;;;;;;;:29;-1:-1:-1;;;;;2824:29:44;:44;2789:80;2785:275;;;-1:-1:-1;2892:1:44;2885:8;;2785:275;-1:-1:-1;;;;;3018:16:44;;;;;;:8;:16;;;;;3007:42;;3036:12;3007:10;:42::i;:::-;3000:49;;;;2266:130;2322:15;2356:33;2368:6;2376:12;2356:11;:33::i;:::-;2349:40;;2266:130;;;;:::o;1347:137:88:-;863:9;:7;:9::i;:::-;855:18;;;;;;;;1445:1;1429:6;;1408:40;;-1:-1:-1;;;;;1429:6:88;;;;1408:40;;1445:1;;1408:40;1475:1;1458:19;;-1:-1:-1;;1458:19:88;;;1347:137::o;659:77::-;697:7;723:6;-1:-1:-1;;;;;723:6:88;659:77;:::o;979:90::-;1019:4;1056:6;-1:-1:-1;;;;;1056:6:88;1042:10;:20;;979:90::o;3293:375:44:-;3382:18;:25;3358:7;;3382:30;;3381:84;;;3452:12;3418:18;3437:1;3418:21;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;3418:31:44;:46;3381:84;3377:285;;;-1:-1:-1;3488:1:44;3481:8;;3377:285;3607:44;3618:18;3638:12;3607:10;:44::i;:::-;3600:51;;;;4767:554;4839:4;863:9:88;:7;:9::i;:::-;855:18;;;;;;;;4855:22:44;4880:13;:11;:13::i;:::-;4855:38;-1:-1:-1;4926:7:44;4903:20;4973:16;4983:5;4973:9;:16::i;:::-;4943:46;;5025:12;5003:19;:34;4999:99;;;5068:19;5053:34;;4999:99;5107:67;5124:18;5161:12;5144:14;:29;5107:16;:67::i;:::-;-1:-1:-1;;;;;5201:15:44;;;;;;:8;:15;;;;;5184:69;;5218:34;;;5184:16;:69::i;:::-;5268:25;;;;;;;;-1:-1:-1;;;;;5268:25:44;;;;;;;;;;;;;-1:-1:-1;5310:4:44;;4767:554;-1:-1:-1;;;;;4767:554:44:o;1655:107:88:-;863:9;:7;:9::i;:::-;855:18;;;;;;;;1727:28;1746:8;1727:18;:28::i;:::-;1655:107;:::o;6783:641:44:-;-1:-1:-1;;;;;6886:25:44;;;;6878:34;;;;;;6971:18;;:23;;6970:91;;-1:-1:-1;7012:18:44;;7048:12;;7000:11;;-1:-1:-1;;7012:22:44;;;7000:35;;;;;;;;;;;;;;;:45;-1:-1:-1;;;;;7000:45:44;:60;6970:91;6966:452;;;7124:20;;7077:32;;7112:11;;7124:20;7112:11;7124:20;;;;:::i;:::-;7112:33;;;;;;;;;;;;;;;;;7159:47;;-1:-1:-1;;;;;7220:37:44;;;;;7193:12;7159:47;;-1:-1:-1;;7159:47:44;;;;;;;7220:37;;;;-1:-1:-1;6966:452:44;;;7335:18;;7288:32;;7323:11;;-1:-1:-1;;7335:20:44;;;7323:33;;;;;;;;;;;;;;;7370:37;;-1:-1:-1;;;;;7370:37:44;;;;;;;;;;-1:-1:-1;6966:452:44;6783:641;;:::o;5717:836::-;5833:18;;5810:7;;5833:23;5829:62;;;-1:-1:-1;5879:1:44;5872:8;;5829:62;5970:18;;5958:11;;-1:-1:-1;;5970:20:44;;;5958:33;;;;;;;;;;;;;;;:43;-1:-1:-1;;;;;5958:43:44;5948:53;;5944:130;;6036:18;;6024:11;;-1:-1:-1;;6036:20:44;;;6024:33;;;;;;;;;;;;;;;:39;;;;-1:-1:-1;;;;;6024:39:44;;-1:-1:-1;6017:46:44;;5944:130;6096:11;6108:1;6096:14;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;6096:24:44;6087:33;;6083:72;;;-1:-1:-1;6143:1:44;6136:8;;6083:72;6257:18;;6218:11;;-1:-1:-1;;6257:20:44;6287:221;6300:3;6294;:9;6287:221;;;6370:16;;6351:1;6334:9;;;6346:1;6334:13;6333:19;;6398:6;;6370:11;;6333:19;;6370:16;;;;;;;;;;;;;;;:26;-1:-1:-1;;;;;6370:26:44;:34;6366:132;;6430:3;6424:9;;6366:132;;;6482:1;6478:3;:5;6472:11;;6366:132;6287:221;;;;6524:11;6536:3;6524:16;;;;;;;;;;;;;;;;;;;:22;;;;-1:-1:-1;;;;;6524:22:44;;5717:836;-1:-1:-1;;;;;5717:836:44:o;1906:183:88:-;-1:-1:-1;;;;;1979:22:88;;;;1971:31;;;;;;2038:6;;;2017:38;;-1:-1:-1;;;;;2017:38:88;;;;2038:6;;;2017:38;;;2065:6;:17;;-1:-1:-1;;2065:17:88;-1:-1:-1;;;;;2065:17:88;;;;;;;;;;1906:183::o;94:67:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@daostack/infra/contracts/Reputation.sol\";\n\n// is Reputation\ncontract DxReputation is Reputation {\n    constructor() public {}\n}\n",
  "sourcePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/DxReputation.sol",
  "ast": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/DxReputation.sol",
    "exportedSymbols": {
      "DxReputation": [
        45
      ]
    },
    "id": 46,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 37,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:2"
      },
      {
        "absolutePath": "@daostack/infra/contracts/Reputation.sol",
        "file": "@daostack/infra/contracts/Reputation.sol",
        "id": 38,
        "nodeType": "ImportDirective",
        "scope": 46,
        "sourceUnit": 9558,
        "src": "25:50:2",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 39,
              "name": "Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9557,
              "src": "119:10:2",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Reputation_$9557",
                "typeString": "contract Reputation"
              }
            },
            "id": 40,
            "nodeType": "InheritanceSpecifier",
            "src": "119:10:2"
          }
        ],
        "contractDependencies": [
          9557,
          23096
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 45,
        "linearizedBaseContracts": [
          45,
          9557,
          23096
        ],
        "name": "DxReputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 43,
              "nodeType": "Block",
              "src": "157:2:2",
              "statements": []
            },
            "documentation": null,
            "id": 44,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 41,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "147:2:2"
            },
            "returnParameters": {
              "id": 42,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "157:0:2"
            },
            "scope": 45,
            "src": "136:23:2",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 46,
        "src": "94:67:2"
      }
    ],
    "src": "0:162:2"
  },
  "legacyAST": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/DxReputation.sol",
    "exportedSymbols": {
      "DxReputation": [
        45
      ]
    },
    "id": 46,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 37,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:2"
      },
      {
        "absolutePath": "@daostack/infra/contracts/Reputation.sol",
        "file": "@daostack/infra/contracts/Reputation.sol",
        "id": 38,
        "nodeType": "ImportDirective",
        "scope": 46,
        "sourceUnit": 9558,
        "src": "25:50:2",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 39,
              "name": "Reputation",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9557,
              "src": "119:10:2",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Reputation_$9557",
                "typeString": "contract Reputation"
              }
            },
            "id": 40,
            "nodeType": "InheritanceSpecifier",
            "src": "119:10:2"
          }
        ],
        "contractDependencies": [
          9557,
          23096
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 45,
        "linearizedBaseContracts": [
          45,
          9557,
          23096
        ],
        "name": "DxReputation",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 43,
              "nodeType": "Block",
              "src": "157:2:2",
              "statements": []
            },
            "documentation": null,
            "id": 44,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 41,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "147:2:2"
            },
            "returnParameters": {
              "id": 42,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "157:0:2"
            },
            "scope": 45,
            "src": "136:23:2",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 46,
        "src": "94:67:2"
      }
    ],
    "src": "0:162:2"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {
    "1": {
      "events": {
        "0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_to",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "name": "Mint",
          "type": "event",
          "signature": "0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885"
        },
        "0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_from",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "name": "Burn",
          "type": "event",
          "signature": "0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5"
        },
        "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "previousOwner",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "newOwner",
              "type": "address"
            }
          ],
          "name": "OwnershipTransferred",
          "type": "event",
          "signature": "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"
        }
      },
      "links": {},
      "address": "0x7a927A93F221976AAE26d5D077477307170f0b7c",
      "transactionHash": "0x010194bde4fc1191633bc7855a5bcbef3f6cac17bf7733558b3949a158d56bac"
    },
    "4": {
      "events": {
        "0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_to",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "name": "Mint",
          "type": "event",
          "signature": "0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885"
        },
        "0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "_from",
              "type": "address"
            },
            {
              "indexed": false,
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "name": "Burn",
          "type": "event",
          "signature": "0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5"
        },
        "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
          "anonymous": false,
          "inputs": [
            {
              "indexed": true,
              "name": "previousOwner",
              "type": "address"
            },
            {
              "indexed": true,
              "name": "newOwner",
              "type": "address"
            }
          ],
          "name": "OwnershipTransferred",
          "type": "event",
          "signature": "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"
        }
      },
      "links": {},
      "address": "0x4c611403b435b856eD94187994c1B030A58F374c",
      "transactionHash": "0xe6923d55056071e5eb3c302f517d49c8148dbeedbe1cd25678e808a0ccd7c930"
    }
  },
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.236Z",
  "devdoc": {
    "methods": {
      "balanceOf(address)": {
        "details": "return the reputation amount of a given owner",
        "params": {
          "_owner": "an address of the owner which we want to get his reputation"
        }
      },
      "balanceOfAt(address,uint256)": {
        "details": "Queries the balance of `_owner` at a specific `_blockNumber`",
        "params": {
          "_blockNumber": "The block number when the balance is queried",
          "_owner": "The address from which the balance will be retrieved"
        },
        "return": "The balance at `_blockNumber`"
      },
      "burn(address,uint256)": {
        "params": {
          "_amount": "The quantity of reputation to burn",
          "_user": "The address that will lose the reputation"
        },
        "return": "True if the reputation are burned correctly"
      },
      "isOwner()": {
        "return": "true if `msg.sender` is the owner of the contract."
      },
      "mint(address,uint256)": {
        "params": {
          "_amount": "The quantity of reputation generated",
          "_user": "The address that will be assigned the new reputation"
        },
        "return": "True if the reputation are generated correctly"
      },
      "owner()": {
        "return": "the address of the owner."
      },
      "renounceOwnership()": {
        "details": "Allows the current owner to relinquish control of the contract."
      },
      "totalSupply()": {
        "details": "This function makes it easy to get the total number of reputation",
        "return": "The total number of reputation"
      },
      "totalSupplyAt(uint256)": {
        "params": {
          "_blockNumber": "The block number when the totalSupply is queried"
        },
        "return": "The total amount of reputation at `_blockNumber`"
      },
      "transferOwnership(address)": {
        "details": "Allows the current owner to transfer control of the contract to a newOwner.",
        "params": {
          "newOwner": "The address to transfer ownership to."
        }
      }
    }
  },
  "userdoc": {
    "methods": {
      "burn(address,uint256)": {
        "notice": "Burns `_amount` reputation from `_owner`"
      },
      "mint(address,uint256)": {
        "notice": "Generates `_amount` reputation that are assigned to `_owner`"
      },
      "renounceOwnership()": {
        "notice": "Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the `onlyOwner` modifier anymore."
      },
      "totalSupplyAt(uint256)": {
        "notice": "Total amount of reputation at a specific `_blockNumber`."
      }
    }
  }
}